[tulip] a compiling problem!!

Nick B8707025@mail.ntust.edu.tw
Sat, 10 Feb 2001 17:33:16 +0800


	    
           excuse me!! may I disturb you just a minute. I am a newuser of Linux.
           I  have downloaded the files "Kern_compat.h"ĄB"pci-scan.h" and "tulip.c" from http://www.scyld.com/network/tulip.html
           And my linux is slackware 7.0 kernel:2.2.13
           ether card is intel 21140 based 10/100 mpbs ehternet controller          
           When I type the commandĄG
           gcc  -DMODULE  -Wall-prototypes  -O6  -c  tulip.c

            I getting the information belowĄG
            In file included from tulip.c:162:
            Kern_compat.h:177:parse error before '0'
            Kern_compat.h177:waring:parameter names (without types) in function declaration
            Kern_compat.h177:conflicting types for 'mark_bh'
            /usr/include/asm/softirq.h:101:previous declaration of 'mark_bh'
            Kern_compat.h:177:warning:data definition has no type or storage class
            Kern_compat.h:177:parse error before '}'
            gcc:Internal compiler error:program cc1 got fatal signal11


           Did I make some mistake?? Does these files need to put into certain directory??
           please do me a favor!!  Thank you very much!!