[tulip] compilation

Thomas Dodd ted@cypress.com
Thu, 08 Feb 2001 09:22:55 -0600


Spencer Borland wrote:
> 
> Hi,
> 
> I was trying to compile the tulip.c file but just kept getting hundreds of
> errors.  I am running Mandrake Linux 7.2.  I don't really know much about
> this sort of thing.
> 
> I kept trying many variations of the following:
> 
> gcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes \
>       -O6 -c tulip.c `[ -f /usr/include/linux/modversions.h ] \
>       && echo -DMODVERSIONS`
> 
> but nothing would work.  Do you have any insight?

I don't use Mandrake, so...

What kind of errors?

What kernel version are the headers in /usr/include/linux
from?

What kernel are you compiling for?
Where are the headers for that kernel?

What version of gcc are you using?

	-Thomas