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

G-man gman@gman.infinex.com
Fri Jun 14 15:37:01 2002


I compiled both pci-scan.c and eepro100.c with:

gcc -D__module__enterprise   -DMODULE -D__KERNEL__ -DEXPORT_SYMTAB -Wall -Ws
trict-prototypes -O6 -c eepro100.c
gcc -D__module__enterprise   -DMODULE -D__KERNEL__ -DEXPORT_SYMTAB -Wall -Ws
trict-prototypes -O6 -c pci-scan.c

and it got rid of all the errors..

I was running the enterprise kernel..

----- Original Message -----
From: "G-man" <gman@gman.infinex.com>
To: <eepro100@scyld.com>
Sent: Thursday, June 13, 2002 5:38 PM
Subject: [eepro100] Unresolved symbols, pci-scan.c/eepro100.c and
2.2.19-6.2.16enterprise redhat 6.2


> 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...
>
> _______________________________________________
> eepro100 mailing list
> eepro100@scyld.com
> http://www.scyld.com/mailman/listinfo/eepro100
>