Click to See Complete Forum and Search --> : Network Card Frustration


speedbak
06-26-2001, 07:30 AM
System Config...

Asus P3V4X
P3 700
DLink DFE-530tx+
TNT 16MB Video Card

I am attempting to install Red Hat Linux 7.1 and can not get the network card to be recognized, so I am trying to compile the RTL8139.c file but am having difficulty. When I do make rtl8139.c in a terminal window in the directory i have the rtl8139.c and makefile it gives me this error

"In file included from rtl8139.c:70:
/usr/include/linux/modversions.h:1:2: #error Modules should never use kernel-headers system headers.
/usr/include/linux/modversions.h:2:2: #error but headers from an appropriate kernel-source
make *** [rtl8139.o] Error 1

Please help I am definitely a Newbie to the Linux world but this OS seems really cool from i have tinkered with and am excited to learn more

Any help is greatly appreciated.

--------------------------------------------

speedbak@pccritix.com www.pccritix.com (http://www.pccritix.com) :(

Dave2001
06-26-2001, 08:01 AM
I dont know if u can compile modules jus like that from the command line . If i need any additional modules i jus go to /usr/src/linux and recompile the modules . But first you need to "make menuconfig" and then "make dep" then u can say "make modules" and "make modules_install"
in the configuration choose the modules u want and then issue the commands i said above . Iam not sure if there prolly an easier way . But that has helped me till now always .

David

speedbak
06-26-2001, 08:43 AM
thanks for the reply but my problem is getting the compiled file so I am not sure if I understand you correctly.
I am in search of the rtl8139.o file, I tried doing the that gcc command to compile it and after i type in that rediculous command the terminal seems to not act properly so I am not sure what I am doing wrong.

---------------------------------------------

speedbak@pccritix.com www.pccritix.com (http://www.pccritix.com)

bdg1983
06-26-2001, 05:34 PM
You need to install the kernel source to be able to compile the module.

Other than that, I would think that Redhat 7.1 already includes support for your ethernet card and the rtl8139 module.

Have you disabled PnP OS in the bios? That could be your problem with the nic not being detected. Resource conflict.

Search the forums for rtl8139 and you might find some additional help to get it going.