Error compiling RealTek RTL8139C drivers
I'm trying to compile drivers for a RealTek RTL8139C NIC under a fresh
Fedora Core 1 installation (with kernel 2.4.22-1.2115.nptl) and isn't
getting anything but a lot of error messages. The driver is available from
(official RealTek FTP).
As you can see, there is a Makefile which contains the string
NEW_INCLUDE_PATH, which should be edited to fit your own kernel SRC
directory location. I've tried with NEW_INCLUDE_PATH =
/usr/src/linux-2.4.22-1.2115.nptl/include/ and when that didn't work I also
tried simply NEW_INCLUDE_PATH = /usr/src/linux-2.4/include/, without any
I would really appreciate some help from someone familiar with this problem
or problems of the same kind, and would be really glad if I'd get this
problem solved and the driver compiled.
Re: Error compiling RealTek RTL8139C drivers
On Mon, 26 Apr 2004 18:41:21 +0300, The_Sorce wrote:
> I would really appreciate some help from someone familiar with this problem
> or problems of the same kind, and would be really glad if I'd get this
> problem solved and the driver compiled.
Well, posting part of the error output is always a good start to get
helped. But a few things:
1) go to the latest kernel. You are using an old one with security holes.
2) go the the kernel source dir and edit the Makefile. In the
extra-version theres is custom appended to it and you need to remove it
3) copy the proper config file from <kernel_src>/configs to
4) run "make menuconfig", change nothing and leave
5) run make dep clean
and try again.