[Openchrome-users] gcc-2.96 issue
Nikolai V. Ivanyushin
nvi
Wed Aug 23 12:52:11 PDT 2006
Here is the patch
Nikolai V. Ivanyushin wrote:
> got the same error with xorg-6.9.0, gcc-2.96 and openchrome driver
> revision 206:
> via_dri.c: In function `VIADRIAgpInit':
> via_dri.c:260: parse error before `int'
> via_dri.c:276: `agpCmdSize' undeclared (first use in this function)
> via_dri.c:276: (Each undeclared identifier is reported only once
> via_dri.c:276: for each function it appears in.)
> via_dri.c:284: `agpPages' undeclared (first use in this function)
> via_dri.c: In function `VIADRIFBInit':
> via_dri.c:382: warning: implicit declaration of function
> `viaOffScreenLinear'
> make: *** [via_dri.o] Error 1
>
> Nikolai V. Ivanyushin wrote:
>> Hi All,
>> I was trying to build current openchrome driver for Thinstation-2.1.3
>> with gcc-2.96 and got the following error:
>> via_dri.c: In function `VIADRIAgpInit':
>> via_dri.c:260: parse error before `int'
>> via_dri.c:276: `agpCmdSize' undeclared (first use in this function)
>> via_dri.c:276: (Each undeclared identifier is reported only once
>> via_dri.c:276: for each function it appears in.)
>> via_dri.c:284: `agpPages' undeclared (first use in this function)
>> via_dri.c: In function `VIADRIFBInit':
>> via_dri.c:382: warning: implicit declaration of function
>> `viaOffScreenLinear'
>> make: *** [via_dri.o] Error 1
>>
>> The same code compiles just ok with gcc-3.4.4.
>> Would you help me please to resolve this issue. Thanks in advance.
>>
>>
>>
>
>
--
SY
Nikolai
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gcc-2.96.patch
Url: http://wiki.openchrome.org/pipermail/openchrome-users/attachments/20060823/3e106980/gcc-2.96.ksh
More information about the Openchrome-users
mailing list