[clug] Error compiling network driver
Dennis M Gray
dmgray0325 at yahoo.com
Mon Jul 5 03:22:40 GMT 2004
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.
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
rtl8139.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.
Regards
__________________________________
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
http://promotions.yahoo.com/new_mail
More information about the linux
mailing list