Leslie Roger wrote:
> Helo,
>
> I have installed RH8 in a clone computer. It comes with a built in network
> card (Realtek rt8169s/8110). RH8 doesn't come with the drive, so I have
> downloaded it. This drive required to be compiled which I don't know how to
> do, can someone help me?
>
>
> The Makefile reads like this:-
>
> # Makefile for a basic kernel module
>
> CC=gcc
> MODCFLAGS := -O6 -Wall -DMODULE -D__KERNEL__ -DLINUX
> NEW_INCLUDE_PATH=-I /usr/src/linux-2.4.18-3/include/
>
> r8169.o: r8169.c /usr/include/linux/version.h
> $(CC) $(MODCFLAGS) $(NEW_INCLUDE_PATH) -c r8169.c
>
> clean:
> rm *.o -f
Normally, this driver should come with one of README ond/or INSTALL
text files which will tell You how to install it.
If You don't have such file, most of such packages are handled like:
"./configure", "make", "make install" (the latter is obviously not
present in Your case). If configure is not there, either, edit the
Makefile according to Your needs, especially the path to Your kernel
source. Then, if You don't have make (which You definately should),
You can invoke gcc manually with the options that You see in the
Makefile. - If You don't have gcc or any other compiler, You obviously
cannot compile anything at all on that box. In that case You may have
a different machine that You can compile on, so make the module on
that machine and copy it over to the one in question.
After this, try to load the module with modprobe or insmod. And don't
forget to "depmod -a".
Cheers, Jack.
--
----------------------------------------------------------------------
My personal reading of the string "MicroSoft" expands to "NanoWeak"...
|