linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* C module won't load
@ 2002-04-27 23:19 Mark Johnson
  2002-04-27 23:34 ` Glynn Clements
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Johnson @ 2002-04-27 23:19 UTC (permalink / raw)
  To: linux-c-programming

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=-


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: C module won't load
  2002-04-27 23:19 C module won't load Mark Johnson
@ 2002-04-27 23:34 ` Glynn Clements
  0 siblings, 0 replies; 2+ messages in thread
From: Glynn Clements @ 2002-04-27 23:34 UTC (permalink / raw)
  To: Mark Johnson; +Cc: linux-c-programming


Mark Johnson wrote:

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

-- 
Glynn Clements <glynn.clements@virgin.net>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-04-27 23:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-27 23:19 C module won't load Mark Johnson
2002-04-27 23:34 ` Glynn Clements

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).