Re: Unresolved symbols, pci-scan.c and 2.2.14-5.0smp
Donald Becker <[email protected]>
| Newsgroups | gmane.linux.drivers.eepro100.devel |
|---|---|
| Message-ID | <Pine.LNX.4.33.0206121708240.2253-100000@presario> |
On Thu, 13 Jun 2002, Sami Pitko wrote: > Subject: Re: [eepro100] Unresolved symbols, pci-scan.c and 2.2.14-5.0smp > > >The immediate work-around is to add -UCONFIG_APM to the compile line. > > Unfortunately this did not work. OK... > >The correct solution is to figure out why the CONFIG_APM symbol is > >being defined in > > /usr/include/linux/autoconf.h > > Here's output of > 'grep CONFIG_APM /usr/src/linux-2.2.14/include/linux/autoconf-smp.h': > > #define CONFIG_APM 1 ... > #define CONFIG_APM_POWER_OFF 1 > #define CONFIG_APM_RTC_IS_GMT 1 Could you look at the lines in the file around these lines to see why CONFIG_APM is set? The "autoconf-smp.h" file should match the SMP kernel. > I modified the 'define' lines to 'undef' and it compiles and insmods without > any errors. Thank you very much. We still want to track down the general problem to automatically fix it for other users. -- Donald Becker [email protected] Scyld Computing Corporation http://www.scyld.com 410 Severn Ave. Suite 210 Second Generation Beowulf Clusters Annapolis MD 21403 410-990-9993