[eepro100] Fwd: Compile-time problems with the newest eepro d
river
Estes, Matthew
mestes@microstrategy.com
Fri, 20 Oct 2000 10:12:31 -0400
Donald,
I received similar errors when not compiling pci-scan into the kernel, and
instead trying to use it strictly as a module. When I did an 'insmod
pci-scan', I am fairly certain it complained about these exact same
inresolved symbols (found in pci.a). When pci-scan was compiled into the
kernel, I tried to insmod eepro100 and it complained about 3(?) undefined
pci-scan symbols that I found in 'nm -s net.a' but not in 'nm -s vmlinuz'.
I assumed that it did not link the pci-scan symbols because it found no
dependencies on them, but I'm new to this.
Regardless, now I believe I have it compiled into the kernel and load it as
a module (through that module dependecy file) and everything works fine...
except for Timed Out errors, but I'll address those in another thread.
So, does this fix you described address what I originally experienced as
well?
I'm using a Dell SMP 2x777 MHz, 1GB RAM, with PERC Raid Array, AIC7xxx
controllers, eepro100 driver version 1.11, and kernel version 2.2.16-4
(RedHat).
Thanks,
Matt
-----Original Message-----
From: Donald Becker [mailto:becker@scyld.com]
Sent: Thursday, October 19, 2000 11:11 AM
To: Eric Hicks
Cc: eepro100@scyld.com
Subject: Re: [eepro100] Fwd: Compile-time problems with the newest eepro
driver
On Thu, 19 Oct 2000, Eric Hicks wrote:
> One other question, of a less technical nature. Where might I find
slightly
> older versions of the driver, that don't use the new pci-scan.h,
pci-scan.c
> and kern_compat.h files? Perhaps I'll have better luck with that version
of
> the driver.
At the request of Linus, I switched to moving the kernel dependencies into
other files in July/August/September of 1999. It took about six weeks to
convert and test all of the drivers, but when I was finished Linus ignored
my updates in favor of (broken!) patches from others.
>When attempting to compile the newest (newest?) eepro driver into my 2.2.5
>redhat box, I get the following error messages:
...
> >drivers/net/net.a(pci-scan.o): In function `pci_drv_register':
> >pci-scan.o(.text+0x2d): undefined reference to
> >`pci_read_config_dword_R2ca7e89f'
The buglet is in pci-scan.c. The modversions signatures were appended, even
when pci-scan.o was not a module. It was fixed in v1.02 with the following
change:
@@ -20,7 +20,7 @@
Other contributers:
*/
static const char version[] =
-"pci-scan.c:v1.01 5/8/2000 Donald Becker <becker@scyld.com>"
+"pci-scan.c:v1.02 9/27/2000 Donald Becker <becker@scyld.com>"
" http://www.scyld.com/linux/drivers.html\n";
/* A few user-configurable values that may be modified when a module. */
@@ -45,7 +45,7 @@
#if defined(CONFIG_SMP) && ! defined(__SMP__)
#define __SMP__
#endif
-#if defined(CONFIG_MODVERSIONS) && ! defined(MODVERSIONS)
+#if defined(MODULE) && defined(CONFIG_MODVERSIONS) && !
defined(MODVERSIONS)
#define MODVERSIONS
#endif
Donald Becker becker@scyld.com
Scyld Computing Corporation http://www.scyld.com
410 Severn Ave. Suite 210 Second Generation Beowulf Clusters
Annapolis MD 21403 410-990-9993
_______________________________________________
eepro100 mailing list
eepro100@scyld.com
http://www.scyld.com/mailman/listinfo/eepro100