LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

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

Rep: Reputation: 0
Exclamation


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
Mike91
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.

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

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


Reply


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


All times are GMT -5. The time now is 10:23 PM.

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