Re: Question about include files and recompiling kernel
>
> Hi,
> Here's a practical problem I encountered when recompiling 3c59x.c
> with kernel source 2.0.34. I followed instructions from Donald
> Becker: 1. install source code in /usr/src
> 2. cd /usr/src/linux; make include/linux/version.h
> 3. cp 3c59x.c /usr/src/linux/modules
> 4. gcc -DMODULE -D__KERNEL__ -I/usr/src/linux/net/inet
> -O6 -c 3c59x.c
Hmm, the debian kernel source setup is somewhat different from what
others have. I did the following: install the kernel-source2.0.34 deb,
cd /usr/src/linux, find 3c59x.c, rename it to 3c59x.c.old, cp the new
3c59x.c in its place, and compile as usual with make-kpkg. This worked
without a hitch.
HTH,
Eric
--
E.L. Meijer (tgakem@chem.tue.nl) | tel. office +31 40 2472189
Eindhoven Univ. of Technology | tel. lab. +31 40 2475032
Lab. for Catalysis and Inorg. Chem. (TAK) | tel. fax +31 40 2455054
Reply to: