Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
i get a whole bunch of error messages including:
fa311.c:408: field `stats' has incomplete type
fa311.c: In function `fa311_probe':
fa311.c:474: warning: passing arg 1 of `init_etherdev_Rf09eee63' from incompatible pointer typefa311.c:474: warning: assignment from incompatible pointer type
fa311.c:497: dereferencing pointer to incomplete type
And the error list just goes on about 30 lines...the same thing happens when i try and compile the rtl8139.c driver for my D-Link NIC too. I also compiled pci-scan.c with
gcc -DMODULE -D__KERNEL__ -O6 -c pci-scan.c
and it compiled fine, but when i did a
depmod -a
it outputs:
depmod: *** Unresolved symbols in /lib/modules/2.4.1/kernel/drivers/pci-scan.o
if i type modprobe pci-scan, it outputs:
/lib/modules/2.4.1/kernel/drivers/pci-scan.o: unresolved symbol pci_write_config_byte
/lib/modules/2.4.1/kernel/drivers/pci-scan.o: unresolved symbol pci_find_class
/lib/modules/2.4.1/kernel/drivers/pci-scan.o: unresolved symbol __check_region
/lib/modules/2.4.1/kernel/drivers/pci-scan.o: unresolved symbol pci_read_config_byte
/lib/modules/2.4.1/kernel/drivers/pci-scan.o: unresolved symbol pci_read_config_dword
/lib/modules/2.4.1/kernel/drivers/pci-scan.o: unresolved symbol __ioremap
/lib/modules/2.4.1/kernel/drivers/pci-scan.o: unresolved symbol pci_read_config_word
/lib/modules/2.4.1/kernel/drivers/pci-scan.o: unresolved symbol pci_set_master
/lib/modules/2.4.1/kernel/drivers/pci-scan.o: unresolved symbol pci_write_config_dword
/lib/modules/2.4.1/kernel/drivers/pci-scan.o: unresolved symbol pci_write_config_word
/lib/modules/2.4.1/kernel/drivers/pci-scan.o: unresolved symbol printk
/lib/modules/2.4.1/kernel/drivers/pci-scan.o: unresolved symbol ioport_resource
/lib/modules/2.4.1/kernel/drivers/pci-scan.o: insmod /lib/modules/2.4.1/kernel/drivers/pci-scan.o failed
/lib/modules/2.4.1/kernel/drivers/pci-scan.o: insmod pci-scan failed
Well, I'm using RedHat 6.1 with kernel 2.4.1 and i don't know if that's the problem. Any help would be appreciated, thanks.
i had the same error with RH 7, to fix it i had to run modprobe on fa311. Then I ran netconfig and that seemed to take care of the unresolved symbol issue. See if that helps.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.