TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:10666] Recompiling a tulip driver for lrp



> that link had been pointing to 2.2.5 or whatever came with RH6. I
> proceeded to run the compile command that is located near the end of
> the tulip.c source file...
> 
> gcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -c tulip.c
> `[ -f /usr/include/linux/modversions.h ] && echo -DMODVERSIONS`
> 
> This produced about 100 errors - too many to list here. Now that I
> look at this again I am thinking it must have something to do with
> the following:

There's all kind of funky dependancies that need to be set up. Go
through a full compile... :P

make mrproper
make menuconfig
make dep
make zImage
make modules
make modules_install