undefined reference to pci_io_base
paulus at samba.org
Wed Aug 30 08:42:56 EST 2006
Geoff Levand writes:
> I'm trying to understand the intended design of the inb()
> and outb() macros in asm-powerpc/io.h. They are causing
> me some grief when I set CONFIG_PCI=n:
> drivers/built-in.o: undefined reference to `pci_io_base'
> This is coming from drivers/char/mem.c, which is always
> built in, and is referencing pci_io_base through inb()
> and outb().
Hmmm. inb and outb are designed for accessing PCI I/O space. I guess
we could turn them into BUG() when CONFIG_PCI=n.
More information about the Linuxppc-dev