[clug] Error compiling network driver

Simon Haddon simon at sibern.com.au
Mon Jul 5 22:57:43 GMT 2004

Dennis M Gray wrote:

>I'm running a box with RH7.1 and required another NIC,
>which I purchased from Dick Smith. I couldn't find
>support for it in my kernel, although there is a file
>8139too.o. I tried modprobe and got a number of error
>messages so decided to just compile from Donald
>Becker's source.
If your card is an 8139 then you should have no problems.  I have 7.1 
installed on a server and I have the 8139too modules as part of the 
standard modules installed. I was running kernel 2.4.9 and am currently 
running 2.4.20 and both are fine. 

The only thing that I can think of is that your card is not an rtl8139 
but one of those funny chipsets that are really an SiS 900 but look like 
an RTL.

What does lspci say? 

>I did this once before successfully for an old 3COM
>card (under RH 6.2, I believe) but it has been a long
>time and I am getting the following errors when trying
>to compile.
>[root at loge netdrivers]# gcc -DMODULE -Wall
>-Wstrict-prototypes -O6 -c 
>In file included from rtl8139.c:102:
>/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
>[root at loge netdrivers]# 
>I am sure it is just a configuration problem so need
>some guideance.
>Do you Yahoo!?
>Read only the mail you want - Yahoo! Mail SpamGuard.

More information about the linux mailing list