compile error with 3c59x.c v0.99Ka and 2.2.7
Didier CONTIS
didier@ece.gatech.edu
Fri May 7 16:58:11 1999
I got the same problem also with 2.2.7 kernel compiled under redhat 6.0 :
What I notice is that line 1969 is :
#if (LINUX_VERSION_CODE >= VERSION(2,1,25))
However, must of the other statements are like :
#if (LINUX_VERSION_CODE >= 0x20100)
I do not know if this is normal ?
I did an "homer simson" patches remove the if - then statement since the
kernel
I am using is 2.2.7 : compile fine.
Regards, Didier.
At 04:18 PM 5/7/99 -0400, Donald Becker wrote:
>On Fri, 7 May 1999, Shon Martin wrote:
>
> > Thought I'd report this error while compiling the 2.2.7 kernel
> > version with 3c59x.c v0.99Ka. It doesn't look very serious. If I need to
> > include more information, please let me know.
> >
> > (cat /proc/version)
> > Linux version 2.2.7 (root@shonpc1.cs.oberlin.edu) (gcc version
> > egcs-2.91.66 19990314 (egcs-1.1.2 release)) #1 SMP Fri May 7 10:22:53 EDT
> > 1999
>...
> > gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
> > -fomit-frame-pointer -D__SMP__ -pipe -fno-strength-reduce -m486
> > -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686 -c -o
> > 3c59x.o 3c59x.c
> > 3c59x.c:1969: parse error
>
>Hmmmm, there is nothing there that should be a problem, unless you have some
>header file that redefines a common name like 'AckIntr'.
>As usual "it works for me". (Not an excuse, just a statement that it's
>not hopeless.)
>
>Is anyone else experiencing this problem.
>
>Donald Becker becker@cesdis.gsfc.nasa.gov
>USRA-CESDIS, Center of Excellence in Space Data and Information Sciences.
>Code 930.5, Goddard Space Flight Center, Greenbelt, MD. 20771
>301-286-0882 http://cesdis.gsfc.nasa.gov/people/becker/whoiam.html