Re: 2.5.73 : undefined reference to pci_destroy_dev

Greg KH (greg@kroah.com)
Mon, 23 Jun 2003 07:07:02 -0700


On Mon, Jun 23, 2003 at 02:05:10PM +0100, Sean Neakums wrote:
> Rémi COLINET <remi.colinet@wanadoo.fr> writes:
>
> > Making bzImage with 2.5.73, I'm getting the following undefined reference.
> > I have to set the PCI hotplug in my .config file in order to get the
> > bzImage.
> >
> > CC init/version.o
> > LD init/built-in.o
> > LD .tmp_vmlinux1
> > drivers/built-in.o: In function `pci_remove_bus_device':
> > drivers/built-in.o(.text+0x367b): undefined reference to `pci_destroy_dev'
> > make: *** [.tmp_vmlinux1] Error 1
>
> Grek KH posted a patch for this.

Or you can just enable CONFIG_HOTPLUG.

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/