Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 02-18-2001, 03:09 PM   #1
LQ Newbie
Registered: Feb 2001
Posts: 4

Rep: Reputation: 0

I just bought a Netgear FA311 & a D-Link DFE-530TX+ for my 2
computer home network. I'm having trouble compiling both drivers. When i compile with:

gcc -D__KERNEL__ -DMODULE -Wall -Wstrict-prototypes -O -m486 -c fa311.c

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.
Old 02-18-2001, 09:54 PM   #2
LQ Newbie
Registered: Feb 2001
Location: Texas
Posts: 3

Rep: Reputation: 0
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.

Old 02-19-2001, 11:08 AM   #3
LQ Newbie
Registered: Feb 2001
Posts: 4

Original Poster
Rep: Reputation: 0
how am i supose to modprobe fa311 if it doesn't compile?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with D-Link DFE-530TX & Mandrake 10 GChris Linux - Networking 2 07-27-2004 04:56 AM
D-Link DFE-530TX and Mandrake 8.1 wogga Linux - Hardware 1 04-18-2004 06:48 AM
D-link DFE-530TX (via-rhine.o) magiknight Slackware 0 10-03-2003 08:29 PM
D-Link DFE-530TX+ Problems!!! hoglicious Linux - Hardware 30 08-09-2003 12:25 AM
D-Link DFE-530TX NvRmNd Linux - Newbie 2 09-19-2001 03:38 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:11 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration