Re: Problem compiling rtl8139.c
Mark Cote <[email protected]> Sun, 7 Dec 2003 21:10:07 -0500
| Newsgroups | gmane.linux.drivers.realtek.devel |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Dec 05, 2003 at 04:57:55PM -0500, Donald Becker wrote: > On Fri, 5 Dec 2003, Mark Cote wrote: > > > Hi, I'm trying to compile rtl8139.c for a cardbus device on a Debian system > > running kernel 2.4.22. I have pcmcia-cs 3.1.34 source in > > /usr/src/modules/pcmcia-cs. I've tried compiling rtl8139.c with > > > > gcc -DCARDBUS -DMODULE -Wall -Wstrict-prototypes -O6 -c rtl8139.c -o > > realtek_cb.o -I/usr/src/modules/pcmcia-cs/include/ > > Errrmm, that likely won't work with current 2.4-based distributions. > Build "*_cb.o" drivers was for Linux-2.2 based distributions, and even > there you should really be using 'cb_shim' which allowed the > standard Scyld driver in work in both from-boot and hot-swap modes. > > Do > > mkdir /tmp/netdrivers/ > cd /tmp/netdrivers/ > ncftpget ftp://ftp.scyld.com/pub/network/netdrivers.tgz > tar xfvz netdrivers.tgz > make > make install Okay, tried that and it compiled fine, but modprobing rtl8139 or pci-scan gives a long list of unresolved symbols (some I included below). What would I be missing? Thanks, Mark /lib/modules/2.4.22/kernel/drivers/net/pci-scan.o: unresolved symbol pci_read_config_byte_Rsmp_3ccefab4 /lib/modules/2.4.22/kernel/drivers/net/pci-scan.o: unresolved symbol pci_set_master_Rsmp_99cc7ae2 /lib/modules/2.4.22/kernel/drivers/net/pci-scan.o: unresolved symbol pci_find_capability_Rsmp_097d3101 /lib/modules/2.4.22/kernel/drivers/net/pci-scan.o: unresolved symbol pci_write_config_byte_Rsmp_364fc2a2 /lib/modules/2.4.22/kernel/drivers/net/pci-scan.o: unresolved symbol pm_unregister_all_Rsmp_ba4fe124 /lib/modules/2.4.22/kernel/drivers/net/pci-scan.o: unresolved symbol pci_read_config_dword_Rsmp_0bf170e2 /lib/modules/2.4.22/kernel/drivers/net/pci-scan.o: unresolved symbol pci_write_config_dword_Rsmp_77f7f940 ... /lib/modules/2.4.22/kernel/drivers/net/pci-scan.o: unresolved symbol ioport_resource_Rsmp_865ebccd /lib/modules/2.4.22/kernel/drivers/net/pci-scan.o: unresolved symbol kmalloc_Rsmp_93d4cfe6 /lib/modules/2.4.22/kernel/drivers/net/pci-scan.o: unresolved symbol pci_read_config_word_Rsmp_923654cb /lib/modules/2.4.22/kernel/drivers/net/pci-scan.o: insmod /lib/modules/2.4.22/kernel/drivers/net/pci-scan.o failed /lib/modules/2.4.22/kernel/drivers/net/pci-scan.o: insmod rtl8139 failed