LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   problems installing rtl8139 module (https://www.linuxquestions.org/questions/linux-software-2/problems-installing-rtl8139-module-13430/)

eliszka 02-03-2002 10:22 AM

problems installing rtl8139 module
 
Help!
I've seen many posts about this problem in various boards but no working answers.
I'm trying to install the SMC ez-card 10/100 fast ethernet. I've successfully downloaded and compiled the source, rtl8139.c, also successfully compiled pci-scan.c. I'm using gcc Red Hat Linux 7.1 2.96-81. My kernel is 2.4.2-2, my 'uname-n' matches the version in version.h. The problem is many unresolved symbols when trying to do an 'insmod' on either .o file, doesn't matter what order I do it in. Both sources compiled with no errors using the following: gcc -DMODULE -Wall -Wstrict-prototypes -O6 -I/usr/src/linux/include -include /usr/src/linux/include/linux/modversions.h -c driver.c . Here's the output from insmod:
[root@veneficus temp]# insmod pci-scan.o
pci-scan.o: unresolved symbol __ioremap_R9eac042a
pci-scan.o: unresolved symbol pci_read_config_byte_R59f4893e
pci-scan.o: unresolved symbol kmalloc_R93d4cfe6
pci-scan.o: unresolved symbol __check_region_Rf1d0cdab
pci-scan.o: unresolved symbol pci_set_master_R7631af12
pci-scan.o: unresolved symbol pci_find_class_Rfe116650
pci-scan.o: unresolved symbol pci_write_config_word_Ra7f43c5c
pci-scan.o: unresolved symbol ioport_resource_R865ebccd
pci-scan.o: unresolved symbol pci_write_config_dword_R8b8c6dae
pci-scan.o: unresolved symbol kfree_R037a0cba
pci-scan.o: unresolved symbol pci_read_config_word_Rb4c9a637
pci-scan.o: unresolved symbol pci_read_config_dword_Rf3b4e49e
pci-scan.o: unresolved symbol printk_R1b7d4074
pci-scan.o: unresolved symbol pci_write_config_byte_R546edb5b

[root@veneficus temp]# insmod rtl8139.o
rtl8139.o: unresolved symbol __netdev_watchdog_up
rtl8139.o: unresolved symbol eth_type_trans
rtl8139.o: unresolved symbol __kfree_skb
rtl8139.o: unresolved symbol alloc_skb
rtl8139.o: unresolved symbol init_etherdev
rtl8139.o: unresolved symbol kmalloc_R93d4cfe6
rtl8139.o: unresolved symbol __request_region_R1a1a4f09
rtl8139.o: unresolved symbol pci_drv_unregister
rtl8139.o: unresolved symbol unregister_netdev
rtl8139.o: unresolved symbol ioport_resource_R865ebccd
rtl8139.o: unresolved symbol jiffies_R0da02d67
rtl8139.o: unresolved symbol del_timer
rtl8139.o: unresolved symbol free_irq_Rf20dabd8
rtl8139.o: unresolved symbol netif_rx
rtl8139.o: unresolved symbol skb_over_panic
rtl8139.o: unresolved symbol kfree_R037a0cba
rtl8139.o: unresolved symbol __release_region_Rd49501d4
rtl8139.o: unresolved symbol pci_read_config_dword_Rf3b4e49e
rtl8139.o: unresolved symbol tvec_bases
rtl8139.o: unresolved symbol dev_close
rtl8139.o: unresolved symbol printk_R1b7d4074
rtl8139.o: unresolved symbol softnet_data
rtl8139.o: unresolved symbol request_irq_R0c60f2e0
rtl8139.o: unresolved symbol add_timer
rtl8139.o: unresolved symbol irq_stat
rtl8139.o: unresolved symbol pci_drv_register


The kernel is not the stock 7.1 kernel, and I'm pretty sure I've updated gcc. Sorry for the long post, but I tried not to leave anything out. Has anyone successfully installed this driver??? Help! and thanks in advance for any effort put forth.

Eric Liszka.
liszkae@yahoo.com

acid_kewpie 02-03-2002 10:56 AM

why have you downloaded the driver? it's included in the 2.4.2-2 kernel's precompiled modules. i'd suggest using the 8139too module instead tho anyway, as it's more upto date and better i think.

eliszka 02-03-2002 01:14 PM

Doh!
Thanks acid kewpie, I was just concentrating on
the precompiled modules listing 'SMC' , didn't think
to look for realtek. eth0 is now configured and working with the realtek built in to 2.4.2-2.
Thanks again!!!!


All times are GMT -5. The time now is 07:02 AM.