Just got an undeclared symbol in arch/i386/bios32.c as follows:
] gcc -D__KERNEL__ -I/u/src/linux-2.1.114/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -D__SMP__ -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686 -c -o bios32.o bios32.c
] bios32.c: In function `pcibios_fixup_peer_bridges':
] bios32.c:928: `pci_direct_conf2' undeclared (first use this function)
] bios32.c:928: (Each undeclared identifier is reported only once
] bios32.c:928: for each function it appears in.)
] make[1]: *** [bios32.o] Error 1
] make[1]: Leaving directory `/u/src/linux-2.1.114/arch/i386/kernel'
] make: *** [linuxsubdirs] Error 2
It seems that this variable "pci_direct_conf2" is defined under a
configuration #ifdef for CONFIG_PCI_DIRECT but then referenced at line
928 which is outside of that #ifdef. Result, undeclared symbol at that
line if you haven't enabled PCI_DIRECT...
Will apply obvious workaround (configure for PCI_DIRECT) and continue
on, but thought you would like to know... :-)
Regards,
Mike
-- Michael H. Warfield | (770) 985-6132 | mhw@WittsEnd.com (The Mad Wizard) | (770) 925-8248 | http://www.wittsend.com/mhw/ NIC whois: MHW9 | An optimist believes we live in the best of all PGP Key: 0xDF1DD471 | possible worlds. A pessimist is sure of it!- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html