[MPlayer-matrox] upgrade to xorg 7.2 => xmga driver broken

Gilles Hamel hamelg at laposte.net
Fri Jul 20 21:45:54 CEST 2007


Gilles Hamel wrote:
> Attila Kinali wrote:
>   
>> For the other bug you are experiencing, please try mplayer r23674.
>>
>>   
>>     
>
> Tried r23385 & r23674, but unfortunately don't compile.
>
> r23385:
>   
A bad cut&paste...
r23385 failed compiling here :

make -C libswscale
make[1]: Entering directory `/home/xxx/tmp/r23385/mplayer/libswscale'
cc -O2 -march=pentium4 -I./libavcodec -I./libavformat 
-Wdeclaration-after-statement -I. -I. -I./libavutil -O4 -march=pentium4 
-mtune=pentium4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE 
-I/usr/X11/include -I/usr/include/  -I/usr/include/SDL  -D_REENTRANT 
-I/usr/include/artsc -pthread -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include   -I/usr/include/freetype2 -I/usr/include  
-DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE 
-D_ISOC9X_SOURCE -I.. -I.. -I../libavutil -Wdeclaration-after-statement 
-I. -I.. -I../libavutil -O4 -march=pentium4 -mtune=pentium4 -pipe 
-ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/X11/include 
-I/usr/include/  -I/usr/include/SDL  -D_REENTRANT -I/usr/include/artsc 
-pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   
-I/usr/include/freetype2 -I/usr/include  -c -o swscale.o swscale.c
swscale.c: In function 'yuv2packedXinC':
swscale.c:730: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '*' token
swscale.c:730: error: 'r' undeclared (first use in this function)
swscale.c:730: error: (Each undeclared identifier is reported only once
swscale.c:730: error: for each function it appears in.)
swscale.c:730: error: 'b' undeclared (first use in this function)
swscale.c:730: error: 'g' undeclared (first use in this function)
swscale.c:730: warning: ISO C90 forbids mixed declarations and code
swscale.c:736: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '*' token
swscale.c:736: warning: ISO C90 forbids mixed declarations and code
swscale.c:747: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '*' token
swscale.c:747: warning: ISO C90 forbids mixed declarations and code
swscale.c:766: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '*' token
swscale.c:766: warning: ISO C90 forbids mixed declarations and code
swscale.c:781: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '*' token
swscale.c:781: warning: ISO C90 forbids mixed declarations and code
swscale.c:792: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '*' token
swscale.c:792: warning: ISO C90 forbids mixed declarations and code
swscale.c:803: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '*' token
swscale.c:803: warning: ISO C90 forbids mixed declarations and code
swscale.c:814: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '*' token
swscale.c:814: warning: ISO C90 forbids mixed declarations and code
swscale.c:854: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '*' token
swscale.c:854: warning: ISO C90 forbids mixed declarations and code
swscale.c:862: error: expected '=', ',', ';', 'asm' or '__attribute__' 
before '*' token
swscale.c:862: warning: ISO C90 forbids mixed declarations and code
In file included from swscale.c:951:
swscale_template.c: In function 'hyscale_MMX2':
swscale_template.c:2541: warning: passing argument 4 of 'palToY_MMX2' 
from incompatible pointer type
swscale_template.c: In function 'hcscale_MMX2':
swscale_template.c:2757: warning: passing argument 6 of 'palToUV_MMX2' 
from incompatible pointer type
swscale_template.c: In function 'swScale_MMX2':
swscale_template.c:3157: warning: cast from pointer to integer of 
different size
swscale_template.c:3165: warning: cast from pointer to integer of 
different size
swscale.c: In function 'gray16swap':
swscale.c:1860: warning: initialization from incompatible pointer type
swscale.c:1861: warning: initialization from incompatible pointer type
swscale.c: In function 'sws_scale':
swscale.c:2535: warning: assignment from incompatible pointer type
make[1]: *** [swscale.o] Error 1
make[1]: Leaving directory `/home/xxx/tmp/r23385/mplayer/libswscale'
make: *** [libswscale/libswscale.a] Error 2




More information about the MPlayer-matrox mailing list