Tulip compilation errors on Alpha (PWS433au)

Atsuko Crum acrum@wakko.hood.edu
Thu Jul 15 15:41:20 1999


Hi,
 
I tried to compile tulip.c (v.91) with the command given in the end of
the file. That is:

gcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes -O6 -c tulip.c `[ -f
/usr/include/linux/modversions.h ] && echo -DMODVERSIONS`

I get the following errors:
 
gcc: [ f /usr/include/linux/modversions.h ] && echo -DMODVERSIONS: No
such file or directory
tulip.c:100: Warning: #Warning You must compile this file with the
correct options!
tulip.c:101: Warning: #Warning See the last lines of the source file.
tulip.c:102: #error You must compile this driver with "-O".

I used "O" (oh) instead of "0" (zero), and I do have
/usr/include/linux/modversions.h file.
 
The system is RH6.0/Alpha on PWS433au, and gcc version is egcs-2.91.66.

Any ideas?
 
  
Thanks.
 
 
-- Atsuko Crum           Math and Computer Science    --
-- (301)696-3737         Hood College    	      --
-- acrum@hood.edu  	 http://yakko.hood.edu/~acrum --