[Openchrome-users] gcc-2.96 issue

Benno Schulenberg bensberg
Wed Aug 23 13:04:34 PDT 2006


Nikolai V. Ivanyushin wrote:
> via_dri.c: In function `VIADRIAgpInit':
> via_dri.c:260: parse error before `int'

Have you tried moving the following two lines a few lines up?

   int agpPages;
   unsigned long agpCmdSize;

> via_dri.c:276: `agpCmdSize' undeclared

It is declared, as you can see 15 lines earlier, only your gcc 
somehow skips it.  If moving those declarations to the beginning of 
the function fixes the error, please let us know.  Or better: 
provide a patch.  :)

Benno




More information about the Openchrome-users mailing list