[tulip] (no subject)

Donald Becker becker@scyld.com
Tue, 18 Jul 2000 23:04:11 -0400 (EDT)


On Sat, 15 Jul 2000, Julian So wrote:

> Using the tulip.c and associated files from the Scyld.com site (copied to 
> the /usr/src/'uname -r'/drivers/net directory), though, results in the 
> following errors when I try to make bzImage:
> 
> drivers/net/net.a(tulip.o): In function `tulip_probe1':
> tulip.o(.text+0x47): undefined reference to `pci_write_config_dword_Rf0fbd200'
> tulip.o(.text+0x72): undefined reference to `printk_R1b7d4074'
> tulip.o(.text+0x8b): undefined reference to `init_etherdev_Rc6c715e5'
> tulip.o(.text+0x9b): undefined reference to `kmalloc_R93d4cfe6'
> tulip.o(.text+0xf8): undefined reference to `pci_read_config_byte_Re5ceea13'

The driver has a buglet in the preprocessor code that I put in an attempt to
simplify the compile line and avoid compile line errors.

Line 129 should be corrected.
- #if defined(CONFIG_MODVERSIONS) && ! defined(MODVERSIONS)
+ #if defined(CONFIG_MODVERSIONS) && defined(MODULE) && ! defined(MODVERSIONS)

Donald Becker				becker@scyld.com
Scyld Computing Corporation		http://www.scyld.com
410 Severn Ave. Suite 210		Beowulf Clusters / Linux Installations
Annapolis MD 21403