[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Sheflug] Network card installation
> /usr/src/linux is an linked directory to the linux-2.2.14 directory went
in
> there to find /net/inet
> net directory exist but inet dosen't what do i do now? I ve tried creating
the
> directory and slapping the headers in but it won't compile
> a lot of errors come up.
Was tulip.c placed there too? You should be compiling like this:
[if /usr/src/linux/net/inet doesn't exist, mkdir /usr/src/linux/net/inet]
cd tulip.c /usr/src/linunx/net/inet
cp *.h (i.e., those header files) /usr/src/linux/net/inet
cd /usr/src/linux/net/inet
Doing a ls should give you tulip.c, pci-scan.h, kern_compat.h.
Then,
gcc -DMODULE -D__KERNEL__ -I/usr/src/linux/net/inet -Wall -Wstrict-prototype
s -O6 -c tulip.c `[ -f /usr/include/linux/modversions.h ] &&
echo -DMODVERSIONS`
If that works, cp tulip.o /lib/modules/2.2.14/net
If not, mail me the output from gcc.
Cheers,
Alex.
---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word
"unsubscribe" in the body of the message.
GNU the choice of a complete generation.