Skip to contentSkip to conversation

C module won't load

DISCUSSION Mark Johnson 2 participants 2 messages Apr 27, 2002

lore
Share & tools
lore
#0 lore raw

Hello All,

I am new to linux and C and I am having trouble loading in my new
network drivers. I compile the module like the docs say, and everything seems to be OK, but when I insmod it into memory I get an error: unresolved symbol pci_drv_unregister and pci_drv_register. I am compiling rtl8139.c for my RealTec 8139 network card. I use gcc version 2.96 and linux 2.4.9-31 under Red Hat and KDE desktop 2.2.2-2. Any help would be appreciated.

-=Mark=-

#1 lore raw
Quoted 4 lines · Mark Johnson

I am new to linux and C and I am having trouble loading in my new
network drivers. I compile the module like the docs say, and everything seems to be OK, but when I insmod it into memory I get an error:
unresolved symbol pci_drv_unregister and pci_drv_register.

Try using "modprobe" instead of "insmod". BTW, you also need to have installed the pci-scan.o module.

Signature · 1 line
Glynn Clements <[email protected]>