[eepro100] Unresolved symbols, pci-scan.c/eepro100.c and 2.2.19-6.2.16enterprise redhat 6.2

G-man gman@gman.infinex.com
Thu Jun 13 20:38:00 2002


think Sami Pitko  spitko@hotmail.com  is having about the same problem

This is a redhat 6.2 box running 2.2.19-6.2.16enterprise. Box is completely
up todate with its rpms..

kernel-enterprise-2.2.19-6.2.16
kernel-headers-2.2.19-6.2.16
kernel-smp-2.2.19-6.2.16
kernel-utils-2.2.19-6.2.16
kernel-enterprise-2.2.19-6.2.16
kernel-source-2.2.19-6.2.16

I download the eepro100.c and pci-scan.c yesterday..
I compiled modules like this:
gcc -I/usr/src/linux/include -I/usr/src/linux/include/linux/modversions.h -D
MODULE  -D__KERNEL__ -DEXPORT_SYMTAB -O6 -c pci-scan.c

gcc -I/usr/src/linux/include -I/usr/src/linux/include/linux/modversions.h -D
MODULE  -D__KERNEL__ -DEXPORT_SYMTAB -O6 -c eepro100.c

compiles without error.. then I insmod pci-scan.c and get:

 /sbin/insmod pci-scan
Using /lib/modules/2.2.19-6.2.16enterprise/net/pci-scan.o
/lib/modules/2.2.19-6.2.16enterprise/net/pci-scan.o: unresolved symbol
__ioremap_R9eac042a
/lib/modules/2.2.19-6.2.16enterprise/net/pci-scan.o: unresolved symbol
pci_find_class_R6c460806
/lib/modules/2.2.19-6.2.16enterprise/net/pci-scan.o: unresolved symbol
pci_write_config_word_Rd9cc3b03
/lib/modules/2.2.19-6.2.16enterprise/net/pci-scan.o: unresolved symbol
pci_write_config_dword_Rf0fbd200
/lib/modules/2.2.19-6.2.16enterprise/net/pci-scan.o: unresolved symbol
pci_read_config_dword_R2ca7e89f
/lib/modules/2.2.19-6.2.16enterprise/net/pci-scan.o: unresolved symbol
kmalloc_R93d4cfe6
/lib/modules/2.2.19-6.2.16enterprise/net/pci-scan.o: unresolved symbol
pci_read_config_byte_Re5ceea13
/lib/modules/2.2.19-6.2.16enterprise/net/pci-scan.o: unresolved symbol
apm_register_callback_Rf70b592f
/lib/modules/2.2.19-6.2.16enterprise/net/pci-scan.o: unresolved symbol
pci_write_config_byte_Re84d5397
/lib/modules/2.2.19-6.2.16enterprise/net/pci-scan.o: unresolved symbol
check_region_R522f4d72
/lib/modules/2.2.19-6.2.16enterprise/net/pci-scan.o: unresolved symbol
pci_set_master_R040f6432
/lib/modules/2.2.19-6.2.16enterprise/net/pci-scan.o: unresolved symbol
kfree_R037a0cba
/lib/modules/2.2.19-6.2.16enterprise/net/pci-scan.o: unresolved symbol
printk_R1b7d4074
/lib/modules/2.2.19-6.2.16enterprise/net/pci-scan.o: unresolved symbol
apm_unregister_callback_R99700428
/lib/modules/2.2.19-6.2.16enterprise/net/pci-scan.o: unresolved symbol
pci_read_config_word_R8764d15f

I tried that -UAPM_CONFIG but get the same error..
autoconf-smp.h doesn't exist..


like Sami I tried change the define lines to undef .. but I didn't have any
luck doing that...