--- Martijn Uffing <[EMAIL PROTECTED]> wrote:
> Ave people
> 
> DRI/MESA won't compile with gcc 2.95.4
> 
> My system is debian stable with gcc 2.95.4 as system compiler.
> I get the error only with 2.95.4. If I use gcc 3.3.3 the whole
> buildtree 
> compiles fine. I get the exact same error (and no error with gcc
> 3.3.3) on 
> the savage-2-0-0 branch .
> The buildtree is DRI CVS with MESA CVS and both were updated minutes
> ago.
> 
> 
> The error is in the file 
> DRI-CVS/xc/programs/Xserver/hw/xfree86/drivers/savage/savage_accel
> 
> 
> Part of buildlog:
> savage_accel.c: In function `SavageInitAccel':
> savage_accel.c:1391: parse error before `int'
> savage_accel.c:1395: `scanlines' undeclared (first use in this
> function)
> savage_accel.c:1395: (Each undeclared identifier is reported only
> once
> savage_accel.c:1395: for each function it appears in.)

try declaring 'scanlines' at the top of the function rather than where
it is now.  perhaps 2.95 is stricter about mixed declarations and code.

Alex


> make[6]: *** [savage_accel.o] Error 1
> make[6]: Leaving directory 
>
`/mnt/schijf2/cvs-build/DRI-CVS/xc/programs/Xserver/hw/xfree86/drivers/savage'
> make[5]: *** [all] Error 2
> make[5]: Leaving directory 
>
`/mnt/schijf2/cvs-build/DRI-CVS/xc/programs/Xserver/hw/xfree86/drivers'
> make[4]: *** [all] Error 2
> make[4]: Leaving directory 
> `/mnt/schijf2/cvs-build/DRI-CVS/xc/programs/Xserver/hw/xfree86'
> make[3]: *** [hw/xfree86] Error 2
> make[3]: Leaving directory 
> `/mnt/schijf2/cvs-build/DRI-CVS/xc/programs/Xserver'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory
> `/mnt/schijf2/cvs-build/DRI-CVS/xc/programs'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/mnt/schijf2/cvs-build/DRI-CVS/xc'
> make: *** [all] Error 2
> [EMAIL PROTECTED]:~/cvs-build/DRI-CVS/xc$
> 
> 
> Greetz Mu
> 
> 


__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
--
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to