[MPlayer-users] Compilation error of [postproc/libswscale.a]!

David Jacques rivermplayer at gmail.com
Sun Apr 16 10:26:23 CEST 2006


Hi, all!
  I got the updated cvs version of mplayer this morning in 2006-4-16, but
when I compiled it in my Athlon with FC3 and gcc 3.4.4-2, it showed me the
following msg:


make -C postproc
make[1]: Entering directory `/home/river/mplayer/mpcvs/main/postproc'
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -W -Wall
-Wno-unused-parameter -O2 -march=athlon-xp -mtune=athlon-xp -g3
-D_REENTRANT   -I. -I..  -I.. -o swscale.o swscale.c
In file included from swscale.c:74:
../bswap.h:120: warning: `inline' is not at beginning of declaration
../bswap.h:127: warning: `inline' is not at beginning of declaration
../bswap.h:134: warning: `inline' is not at beginning of declaration
swscale.c: In function `yuv2packedXinC':
swscale.c:710: warning: unused variable `r'
swscale.c:710: warning: unused variable `b'
swscale.c:710: warning: unused variable `g'
swscale.c:718: warning: unused variable `r'
swscale.c:718: warning: unused variable `b'
swscale.c:718: warning: unused variable `g'
swscale.c: At top level:
rgb2rgb.h:134: warning: 'yuv2rgb' defined but not used
rgb2rgb.h:138: warning: 'yuv2rgb_init' defined but not used
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -W -Wall
-Wno-unused-parameter -O2 -march=athlon-xp -mtune=athlon-xp -g3
-D_REENTRANT   -I. -I..  -I.. -o rgb2rgb.o rgb2rgb.c
In file included from rgb2rgb.c:12:
rgb2rgb.h: In function `yuv2rgb':
rgb2rgb.h:135: warning: implicit declaration of function `printf'
In file included from rgb2rgb.c:16:
../bswap.h: At top level:
../bswap.h:120: warning: `inline' is not at beginning of declaration
../bswap.h:127: warning: `inline' is not at beginning of declaration
../bswap.h:134: warning: `inline' is not at beginning of declaration
In file included from rgb2rgb.c:155:
rgb2rgb_template.c:48:6: #if with no expression
rgb2rgb_template.c:68:6: #if with no expression
In file included from rgb2rgb.c:155:
rgb2rgb_template.c: In function `rgb24tobgr24_C':
rgb2rgb_template.c:1456: warning: comparison between signed and unsigned
In file included from rgb2rgb.c:166:
rgb2rgb_template.c:48:6: #if with no expression
rgb2rgb_template.c:68:6: #if with no expression
In file included from rgb2rgb.c:166:
rgb2rgb_template.c: In function `rgb24to32_MMX':
rgb2rgb_template.c:83: error: `PREFETCH' undeclared (first use in this
function)
rgb2rgb_template.c:83: error: (Each undeclared identifier is reported only
once
rgb2rgb_template.c:83: error: for each function it appears in.)
rgb2rgb_template.c:83: error: syntax error before string constant
rgb2rgb_template.c:106: error: syntax error before string constant
rgb2rgb_template.c:112: error: `SFENCE' undeclared (first use in this
function)
rgb2rgb_template.c:112: error: asm template is not a string constant
rgb2rgb_template.c: In function `rgb32to24_MMX':
rgb2rgb_template.c:143: error: `PREFETCH' undeclared (first use in this
function)
rgb2rgb_template.c:143: error: syntax error before string constant
rgb2rgb_template.c:191: error: syntax error before string constant
rgb2rgb_template.c:198: error: `SFENCE' undeclared (first use in this
function)
rgb2rgb_template.c:198: error: asm template is not a string constant
rgb2rgb_template.c: In function `rgb15to16_MMX':
rgb2rgb_template.c:233: error: `PREFETCH' undeclared (first use in this
function)
rgb2rgb_template.c:233: error: syntax error before string constant
rgb2rgb_template.c:250: error: syntax error before string constant
rgb2rgb_template.c:256: error: `SFENCE' undeclared (first use in this
function)
rgb2rgb_template.c:256: error: asm template is not a string constant
rgb2rgb_template.c: In function `rgb16to15_MMX':
rgb2rgb_template.c:282: error: `PREFETCH' undeclared (first use in this
function)
rgb2rgb_template.c:282: error: syntax error before string constant
rgb2rgb_template.c:304: error: syntax error before string constant
rgb2rgb_template.c:310: error: `SFENCE' undeclared (first use in this
function)
rgb2rgb_template.c:310: error: asm template is not a string constant
rgb2rgb_template.c: In function `rgb32to16_MMX':
rgb2rgb_template.c:348: error: syntax error before "PREFETCH"
rgb2rgb_template.c:416: error: `SFENCE' undeclared (first use in this
function)
rgb2rgb_template.c:416: error: asm template is not a string constant
rgb2rgb_template.c: In function `rgb32tobgr16_MMX':
rgb2rgb_template.c:436: error: `PREFETCH' undeclared (first use in this
function)
rgb2rgb_template.c:436: error: syntax error before string constant
rgb2rgb_template.c:473: error: syntax error before string constant
rgb2rgb_template.c:477: error: `SFENCE' undeclared (first use in this
function)
rgb2rgb_template.c:477: error: asm template is not a string constant
rgb2rgb_template.c: In function `rgb32to15_MMX':
rgb2rgb_template.c:505: error: syntax error before "PREFETCH"
rgb2rgb_template.c:573: error: `SFENCE' undeclared (first use in this
function)
rgb2rgb_template.c:573: error: asm template is not a string constant
rgb2rgb_template.c: In function `rgb32tobgr15_MMX':
rgb2rgb_template.c:593: error: `PREFETCH' undeclared (first use in this
function)
rgb2rgb_template.c:593: error: syntax error before string constant
rgb2rgb_template.c:630: error: syntax error before string constant
rgb2rgb_template.c:634: error: `SFENCE' undeclared (first use in this
function)
rgb2rgb_template.c:634: error: asm template is not a string constant
rgb2rgb_template.c: In function `rgb24to16_MMX':
rgb2rgb_template.c:654: error: `PREFETCH' undeclared (first use in this
function)
rgb2rgb_template.c:654: error: syntax error before string constant
rgb2rgb_template.c:691: error: syntax error before string constant
rgb2rgb_template.c:695: error: `SFENCE' undeclared (first use in this
function)
rgb2rgb_template.c:695: error: asm template is not a string constant
rgb2rgb_template.c: In function `rgb24tobgr16_MMX':
rgb2rgb_template.c:717: error: `PREFETCH' undeclared (first use in this
function)
rgb2rgb_template.c:717: error: syntax error before string constant
rgb2rgb_template.c:754: error: syntax error before string constant
rgb2rgb_template.c:758: error: `SFENCE' undeclared (first use in this
function)
rgb2rgb_template.c:758: error: asm template is not a string constant
rgb2rgb_template.c: In function `rgb24to15_MMX':
rgb2rgb_template.c:780: error: `PREFETCH' undeclared (first use in this
function)
rgb2rgb_template.c:780: error: syntax error before string constant
rgb2rgb_template.c:817: error: syntax error before string constant
rgb2rgb_template.c:821: error: `SFENCE' undeclared (first use in this
function)
rgb2rgb_template.c:821: error: asm template is not a string constant
rgb2rgb_template.c: In function `rgb24tobgr15_MMX':
rgb2rgb_template.c:843: error: `PREFETCH' undeclared (first use in this
function)
rgb2rgb_template.c:843: error: syntax error before string constant
rgb2rgb_template.c:880: error: syntax error before string constant
rgb2rgb_template.c:884: error: `SFENCE' undeclared (first use in this
function)
rgb2rgb_template.c:884: error: asm template is not a string constant
rgb2rgb_template.c: In function `rgb15to24_MMX':
rgb2rgb_template.c:929: error: `PREFETCH' undeclared (first use in this
function)
rgb2rgb_template.c:929: error: syntax error before string constant
rgb2rgb_template.c:992: error: syntax error before string constant
rgb2rgb_template.c:1048: error: `SFENCE' undeclared (first use in this
function)
rgb2rgb_template.c:1048: error: asm template is not a string constant
rgb2rgb_template.c: In function `rgb16to24_MMX':
rgb2rgb_template.c:1071: error: `PREFETCH' undeclared (first use in this
function)
rgb2rgb_template.c:1071: error: syntax error before string constant
rgb2rgb_template.c:1133: error: syntax error before string constant
rgb2rgb_template.c:1189: error: `SFENCE' undeclared (first use in this
function)
rgb2rgb_template.c:1189: error: asm template is not a string constant
rgb2rgb_template.c: In function `rgb15to32_MMX':
rgb2rgb_template.c:1212: error: `PREFETCH' undeclared (first use in this
function)
rgb2rgb_template.c:1212: error: syntax error before string constant
rgb2rgb_template.c:1247: error: syntax error before string constant
rgb2rgb_template.c:1253: error: `SFENCE' undeclared (first use in this
function)
rgb2rgb_template.c:1253: error: asm template is not a string constant
rgb2rgb_template.c: In function `rgb16to32_MMX':
rgb2rgb_template.c:1290: error: `PREFETCH' undeclared (first use in this
function)
rgb2rgb_template.c:1290: error: syntax error before string constant
rgb2rgb_template.c:1325: error: syntax error before string constant
rgb2rgb_template.c:1331: error: `SFENCE' undeclared (first use in this
function)
rgb2rgb_template.c:1331: error: asm template is not a string constant
rgb2rgb_template.c: In function `rgb32tobgr32_MMX':
rgb2rgb_template.c:1360: error: syntax error before "PREFETCH"
rgb2rgb_template.c:1379: error: `SFENCE' undeclared (first use in this
function)
rgb2rgb_template.c:1379: error: asm template is not a string constant
rgb2rgb_template.c: In function `rgb24tobgr24_MMX':
rgb2rgb_template.c:1410: error: syntax error before "PREFETCH"
rgb2rgb_template.c:1445: error: `SFENCE' undeclared (first use in this
function)
rgb2rgb_template.c:1445: error: asm template is not a string constant
rgb2rgb_template.c:1456: warning: comparison between signed and unsigned
rgb2rgb_template.c: In function `yuvPlanartoyuy2_MMX':
rgb2rgb_template.c:1480: error: syntax error before "PREFETCH"
rgb2rgb_template.c:1601: error: syntax error before "SFENCE"
rgb2rgb_template.c:1471: warning: unused variable `chromWidth'
rgb2rgb_template.c: In function `yuvPlanartouyvy_MMX':
rgb2rgb_template.c:1633: error: syntax error before "PREFETCH"
rgb2rgb_template.c:1708: error: syntax error before "SFENCE"
rgb2rgb_template.c:1624: warning: unused variable `chromWidth'
rgb2rgb_template.c: In function `yuy2toyv12_MMX':
rgb2rgb_template.c:1757: error: syntax error before "PREFETCH"
rgb2rgb_template.c:1810: error: syntax error before "PREFETCH"
rgb2rgb_template.c:1857: error: syntax error before "SFENCE"
rgb2rgb_template.c:1747: warning: unused variable `chromWidth'
rgb2rgb_template.c: In function `planar2x_MMX':
rgb2rgb_template.c:1969: error: syntax error before "SFENCE"
rgb2rgb_template.c: In function `uyvytoyv12_MMX':
rgb2rgb_template.c:1995: error: syntax error before "PREFETCH"
rgb2rgb_template.c:2048: error: syntax error before "PREFETCH"
rgb2rgb_template.c:2095: error: syntax error before "SFENCE"
rgb2rgb_template.c:1985: warning: unused variable `chromWidth'
rgb2rgb_template.c: In function `rgb24toyv12_MMX':
rgb2rgb_template.c:2126: error: syntax error before "PREFETCH"
rgb2rgb_template.c:2200: error: syntax error before "PREFETCH"
rgb2rgb_template.c:2346: error: syntax error before "SFENCE"
rgb2rgb_template.c: In function `interleaveBytes_MMX':
rgb2rgb_template.c:2435: error: syntax error before "PREFETCH"
rgb2rgb_template.c:2477: error: syntax error before "SFENCE"
rgb2rgb_template.c: In function `vu9_to_vu12_MMX':
rgb2rgb_template.c:2494: error: `PREFETCH' undeclared (first use in this
function)
rgb2rgb_template.c:2494: error: syntax error before string constant
rgb2rgb_template.c:2530: error: syntax error before string constant
rgb2rgb_template.c:2570: error: syntax error before string constant
rgb2rgb_template.c:2580: error: syntax error before "SFENCE"
rgb2rgb_template.c: In function `yvu9_to_yuy2_MMX':
rgb2rgb_template.c:2605: error: `PREFETCH' undeclared (first use in this
function)
rgb2rgb_template.c:2605: error: syntax error before string constant
rgb2rgb_template.c:2671: error: syntax error before "SFENCE"
In file included from rgb2rgb.c:175:
rgb2rgb_template.c: In function `rgb24tobgr24_MMX2':
rgb2rgb_template.c:1456: warning: comparison between signed and unsigned
In file included from rgb2rgb.c:184:
rgb2rgb_template.c:68:6: #if with no expression
In file included from rgb2rgb.c:184:
rgb2rgb_template.c: In function `rgb24to32_3DNOW':
rgb2rgb_template.c:112: error: `SFENCE' undeclared (first use in this
function)
rgb2rgb_template.c:112: error: asm template is not a string constant
rgb2rgb_template.c: In function `rgb32to24_3DNOW':
rgb2rgb_template.c:198: error: `SFENCE' undeclared (first use in this
function)
rgb2rgb_template.c:198: error: asm template is not a string constant
rgb2rgb_template.c: In function `rgb15to16_3DNOW':
rgb2rgb_template.c:256: error: `SFENCE' undeclared (first use in this
function)
rgb2rgb_template.c:256: error: asm template is not a string constant
rgb2rgb_template.c: In function `rgb16to15_3DNOW':
rgb2rgb_template.c:310: error: `SFENCE' undeclared (first use in this
function)
rgb2rgb_template.c:310: error: asm template is not a string constant
rgb2rgb_template.c: In function `rgb32to16_3DNOW':
rgb2rgb_template.c:416: error: `SFENCE' undeclared (first use in this
function)
rgb2rgb_template.c:416: error: asm template is not a string constant
rgb2rgb_template.c: In function `rgb32tobgr16_3DNOW':
rgb2rgb_template.c:477: error: `SFENCE' undeclared (first use in this
function)
rgb2rgb_template.c:477: error: asm template is not a string constant
rgb2rgb_template.c: In function `rgb32to15_3DNOW':
rgb2rgb_template.c:573: error: `SFENCE' undeclared (first use in this
function)
rgb2rgb_template.c:573: error: asm template is not a string constant
rgb2rgb_template.c: In function `rgb32tobgr15_3DNOW':
rgb2rgb_template.c:634: error: `SFENCE' undeclared (first use in this
function)
rgb2rgb_template.c:634: error: asm template is not a string constant
rgb2rgb_template.c: In function `rgb24to16_3DNOW':
rgb2rgb_template.c:695: error: `SFENCE' undeclared (first use in this
function)
rgb2rgb_template.c:695: error: asm template is not a string constant
rgb2rgb_template.c: In function `rgb24tobgr16_3DNOW':
rgb2rgb_template.c:758: error: `SFENCE' undeclared (first use in this
function)
rgb2rgb_template.c:758: error: asm template is not a string constant
rgb2rgb_template.c: In function `rgb24to15_3DNOW':
rgb2rgb_template.c:821: error: `SFENCE' undeclared (first use in this
function)
rgb2rgb_template.c:821: error: asm template is not a string constant
rgb2rgb_template.c: In function `rgb24tobgr15_3DNOW':
rgb2rgb_template.c:884: error: `SFENCE' undeclared (first use in this
function)
rgb2rgb_template.c:884: error: asm template is not a string constant
rgb2rgb_template.c: In function `rgb15to24_3DNOW':
rgb2rgb_template.c:1048: error: `SFENCE' undeclared (first use in this
function)
rgb2rgb_template.c:1048: error: asm template is not a string constant
rgb2rgb_template.c: In function `rgb16to24_3DNOW':
rgb2rgb_template.c:1189: error: `SFENCE' undeclared (first use in this
function)
rgb2rgb_template.c:1189: error: asm template is not a string constant
rgb2rgb_template.c: In function `rgb15to32_3DNOW':
rgb2rgb_template.c:1253: error: `SFENCE' undeclared (first use in this
function)
rgb2rgb_template.c:1253: error: asm template is not a string constant
rgb2rgb_template.c: In function `rgb16to32_3DNOW':
rgb2rgb_template.c:1331: error: `SFENCE' undeclared (first use in this
function)
rgb2rgb_template.c:1331: error: asm template is not a string constant
rgb2rgb_template.c: In function `rgb32tobgr32_3DNOW':
rgb2rgb_template.c:1379: error: `SFENCE' undeclared (first use in this
function)
rgb2rgb_template.c:1379: error: asm template is not a string constant
rgb2rgb_template.c: In function `rgb24tobgr24_3DNOW':
rgb2rgb_template.c:1445: error: `SFENCE' undeclared (first use in this
function)
rgb2rgb_template.c:1445: error: asm template is not a string constant
rgb2rgb_template.c:1456: warning: comparison between signed and unsigned
rgb2rgb_template.c: In function `yuvPlanartoyuy2_3DNOW':
rgb2rgb_template.c:1601: error: syntax error before "SFENCE"
rgb2rgb_template.c: In function `yuvPlanartouyvy_3DNOW':
rgb2rgb_template.c:1708: error: syntax error before "SFENCE"
rgb2rgb_template.c: In function `yuy2toyv12_3DNOW':
rgb2rgb_template.c:1857: error: syntax error before "SFENCE"
rgb2rgb_template.c: In function `planar2x_3DNOW':
rgb2rgb_template.c:1969: error: syntax error before "SFENCE"
rgb2rgb_template.c: In function `uyvytoyv12_3DNOW':
rgb2rgb_template.c:2095: error: syntax error before "SFENCE"
rgb2rgb_template.c: In function `rgb24toyv12_3DNOW':
rgb2rgb_template.c:2346: error: syntax error before "SFENCE"
rgb2rgb_template.c: In function `interleaveBytes_3DNOW':
rgb2rgb_template.c:2477: error: syntax error before "SFENCE"
rgb2rgb_template.c: In function `vu9_to_vu12_3DNOW':
rgb2rgb_template.c:2580: error: syntax error before "SFENCE"
rgb2rgb_template.c: In function `yvu9_to_yuy2_3DNOW':
rgb2rgb_template.c:2671: error: syntax error before "SFENCE"
rgb2rgb.c: At top level:
rgb2rgb.h:134: warning: 'yuv2rgb' defined but not used
rgb2rgb.h:138: warning: 'yuv2rgb_init' defined but not used
make[1]: *** [rgb2rgb.o] Error 1
make[1]: Leaving directory `/home/river/mplayer/mpcvs/main/postproc'
make: *** [postproc/libswscale.a] Error 2

  Sorry it is a little long. I did watch that there were changes for the
files in directory postproc, I don't know if that caused the above problem?
And I did compile the pre7try2 version in the same computer. Can anybody
tell me what's wrong?



More information about the MPlayer-users mailing list