[eepro100] Fwd: Compile-time problems with the newest eepro driver

Eric Hicks erich@pobox.com
Thu, 19 Oct 2000 02:09:36 -0700


One other thing, it's RedHat 6.0, and unfortunately, we can't upgrade the O/S.

Eric

>Date: Thu, 19 Oct 2000 02:03:12 -0700
>To: eepro100@scyld.com
>From: Eric Hicks <erich@pobox.com>
>Subject: Fwd: Compile-time problems with the newest eepro driver
>
>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.
>
>Also, the version of the eepro NIC we're using is: Intel 82557 (rev 8) 
>Hope that helps...
>
>Again, thanks for any help...
>
>eric
>
>>Date: Thu, 19 Oct 2000 01:18:57 -0700
>>To: eepro100@scyld.com
>>From: Eric Hicks <erich@pobox.com>
>>Subject: Compile-time problems with the newest eepro driver
>>
>>Hi all,
>>
>>When attempting to compile the newest (newest?) eepro driver into my 
>>2.2.5 redhat box, I get the following error messages:
>>
>>kernel/head.o arch/i386/kernel/init_task.o init/main.o init/version.o \
>>         --start-group \
>>         arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o 
>> mm/mm.o fs/fs.o ipc/ipc.o \
>>         fs/filesystems.a \
>>         net/network.a \
>>         drivers/block/block.a drivers/char/char.a drivers/misc/misc.a 
>> drivers/net/net.a drivers/scsi/scsi.a drivers/cdrom/cdrom.a 
>> drivers/pci/pci.a drivers/pnp/pnp.a drivers/video/video.a 
>> arch/i386/math-emu/math.a \
>>         /usr/src/linux-2.2.5/arch/i386/lib/lib.a 
>> /usr/src/linux-2.2.5/lib/lib.a /usr/src/linux-2.2.5/arch/i386/lib/lib.a \
>>         --end-group \
>>         -o vmlinux
>>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'
>>pci-scan.o(.text+0x3a): undefined reference to 
>>`pci_read_config_dword_R2ca7e89f'
>>pci-scan.o(.text+0x47): undefined reference to 
>>`pci_read_config_dword_R2ca7e89f'
>>pci-scan.o(.text+0x67): undefined reference to `printk_R1b7d4074'
>>pci-scan.o(.text+0x125): undefined reference to `printk_R1b7d4074'
>>pci-scan.o(.text+0x142): undefined reference to `__ioremap_R9eac042a'
>>pci-scan.o(.text+0x163): undefined reference to `printk_R1b7d4074'
>>pci-scan.o(.text+0x182): undefined reference to `check_region_R522f4d72'
>>pci-scan.o(.text+0x1ac): undefined reference to 
>>`pci_read_config_word_R8764d15f'
>>pci-scan.o(.text+0x1e9): undefined reference to `printk_R1b7d4074'
>>pci-scan.o(.text+0x1f2): undefined reference to 
>>`pci_write_config_word_Rd9cc3b03'
>>pci-scan.o(.text+0x229): undefined reference to `pci_set_master_R040f6432'
>>pci-scan.o(.text+0x248): undefined reference to 
>>`pci_read_config_byte_Re5ceea13'
>>pci-scan.o(.text+0x266): undefined reference to `printk_R1b7d4074'
>>pci-scan.o(.text+0x277): undefined reference to 
>>`pci_write_config_byte_Re84d5397'
>>pci-scan.o(.text+0x294): undefined reference to `pci_find_class_R6c460806'
>>drivers/net/net.a(pci-scan.o): In function `pci_find_capability':
>>pci-scan.o(.text+0x30f): undefined reference to 
>>`pci_read_config_word_R8764d15f'
>>pci-scan.o(.text+0x32d): undefined reference to 
>>`pci_read_config_byte_Re5ceea13'
>>pci-scan.o(.text+0x348): undefined reference to 
>>`pci_read_config_word_R8764d15f'
>>drivers/net/net.a(pci-scan.o): In function `acpi_wake':
>>pci-scan.o(.text+0x3a4): undefined reference to 
>>`pci_read_config_word_R8764d15f'
>>pci-scan.o(.text+0x3c5): undefined reference to 
>>`pci_read_config_word_R8764d15f'
>>pci-scan.o(.text+0x3eb): undefined reference to 
>>`pci_read_config_dword_R2ca7e89f'
>>pci-scan.o(.text+0x401): undefined reference to 
>>`pci_read_config_dword_R2ca7e89f'
>>pci-scan.o(.text+0x40e): undefined reference to 
>>`pci_read_config_byte_Re5ceea13'
>>pci-scan.o(.text+0x41b): undefined reference to 
>>`pci_read_config_byte_Re5ceea13'
>>pci-scan.o(.text+0x42b): undefined reference to 
>>`pci_read_config_byte_Re5ceea13'
>>pci-scan.o(.text+0x43a): undefined reference to 
>>`pci_write_config_word_Rd9cc3b03'
>>pci-scan.o(.text+0x45d): undefined reference to 
>>`pci_write_config_dword_Rf0fbd200'
>>pci-scan.o(.text+0x473): undefined reference to 
>>`pci_write_config_dword_Rf0fbd200'
>>pci-scan.o(.text+0x482): undefined reference to 
>>`pci_write_config_byte_Re84d5397'
>>pci-scan.o(.text+0x491): undefined reference to 
>>`pci_write_config_byte_Re84d5397'
>>pci-scan.o(.text+0x4a3): undefined reference to 
>>`pci_write_config_byte_Re84d5397'
>>pci-scan.o(.text+0x4b7): undefined reference to 
>>`pci_write_config_word_Rd9cc3b03'
>>drivers/net/net.a(pci-scan.o): In function `acpi_set_pwr_state':
>>pci-scan.o(.text+0x50d): undefined reference to 
>>`pci_read_config_word_R8764d15f'
>>pci-scan.o(.text+0x54b): undefined reference to 
>>`pci_write_config_word_Rd9cc3b03'
>>make: *** [vmlinux] Error 1
>>
>>For a variety of reasons, I can't use modules, and so have to compile the 
>>driver into the kernel. I've already copied pci-scan.c, pci-scan.h and 
>>kern_compat.h to /usr/src/linux/drivers/net/, and edited the makefile in 
>>this directory to include pci-scan.o.
>>
>>Any ideas why this won't compile are greatly appreciated.
>>
>>Thanks...
>>
>>Eric

---------------------------------------------------------------------------- 
-----------
Eric Hicks                                              erich@pobox.com
"Man must certainly be mad: He cannot make a flea, yet he
makes gods by the dozens." - Montaignee