[MPlayer-users] MPlayer compile fails on AIX,POWER4

Andrew randomshinichi4869 at gmail.com
Sat Jul 11 23:42:30 CEST 2009


I'm compiling MPlayer snapshot 2009-07-11 (same error in a snapshot
from May) using GCC 4.2.4 on AIX 6.1 TL3SP1 on a 9114-275, and this is
the error it comes up with:


gcc -Wundef -Wdisabled-optimization -Wno-pointer-sign
-Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch
-Wpointer-arith -Wredundant-decls -O4 -mcpu=power4 -mtune=power4 -pipe
-ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I.   -I/usr/X11R7/include
-I/opt/freeware/include/freetype2 -I/opt/freeware/include   -c -o
libvo/vo_mpegpes.o libvo/vo_mpegpes.c
libvo/vo_mpegpes.c: In function 'send_pes_packet':
libvo/vo_mpegpes.c:224: warning: passing argument 6 of
'send_mpeg_pes_packet' from incompatible pointer type
libvo/vo_mpegpes.c: In function 'send_lpcm_packet':
libvo/vo_mpegpes.c:228: warning: passing argument 6 of
'send_mpeg_lpcm_packet' from incompatible pointer type
gcc -Wundef -Wdisabled-optimization -Wno-pointer-sign
-Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch
-Wpointer-arith -Wredundant-decls -O4 -mcpu=power4 -mtune=power4 -pipe
-ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I.   -I/usr/X11R7/include
-I/opt/freeware/include/freetype2 -I/opt/freeware/include   -c -o
libvo/vo_null.o libvo/vo_null.c
gcc -Wundef -Wdisabled-optimization -Wno-pointer-sign
-Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch
-Wpointer-arith -Wredundant-decls -O4 -mcpu=power4 -mtune=power4 -pipe
-ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I.   -I/usr/X11R7/include
-I/opt/freeware/include/freetype2 -I/opt/freeware/include   -c -o
libvo/gl_common.o libvo/gl_common.c
gcc -Wundef -Wdisabled-optimization -Wno-pointer-sign
-Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch
-Wpointer-arith -Wredundant-decls -O4 -mcpu=power4 -mtune=power4 -pipe
-ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I.   -I/usr/X11R7/include
-I/opt/freeware/include/freetype2 -I/opt/freeware/include   -c -o
libvo/vo_gl.o libvo/vo_gl.c
libvo/vo_gl.c: In function 'config':
libvo/vo_gl.c:571: warning: label 'glconfig' defined but not used
libvo/gl_common.c: In function 'glSetupYUVConversion':
libvo/gl_common.c:1198: warning: 'conv_texs[0]' may be used
uninitialized in this function
libvo/gl_common.c:1198: note: 'conv_texs[0]' was declared here
Assembler:
line 6296: Instruction fsel is not implemented in the current assembly
mode PWR4.
gmake: *** [mplayer.o] Error 1
gmake: *** Waiting for unfinished jobs....
Assembler:
line 4609: Instruction fsel is not implemented in the current assembly
mode PWR4.
line 4611: Instruction fsel is not implemented in the current assembly
mode PWR4.
line 4656: Instruction fsel is not implemented in the current assembly
mode PWR4.
line 4658: Instruction fsel is not implemented in the current assembly
mode PWR4.
line 4700: Instruction fsel is not implemented in the current assembly
mode PWR4.
line 4702: Instruction fsel is not implemented in the current assembly
mode PWR4.
line 4744: Instruction fsel is not implemented in the current assembly
mode PWR4.
line 4746: Instruction fsel is not implemented in the current assembly
mode PWR4.
line 4788: Instruction fsel is not implemented in the current assembly
mode PWR4.
line 4790: Instruction fsel is not implemented in the current assembly
mode PWR4.
line 4944: Instruction fsel is not implemented in the current assembly
mode PWR4.
line 4946: Instruction fsel is not implemented in the current assembly
mode PWR4.
gmake: *** [libvo/gl_common.o] Error 1

If I configure with --disable-gl, I get this error instead:
gcc -Wundef -Wdisabled-optimization -Wno-pointer-sign
-Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch
-Wpointer-arith -Wredundant-decls -O4 -mcpu=power4 -mtune=power4 -pipe
-ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I.   -I/usr/X11R7/include
-I/opt/freeware/include/freetype2 -I/opt/freeware/include   -c -o
libvo/vo_x11.o libvo/vo_x11.c
gcc -Wundef -Wdisabled-optimization -Wno-pointer-sign
-Wdeclaration-after-statement -std=gnu99 -Wall -Wno-switch
-Wpointer-arith -Wredundant-decls -O4 -mcpu=power4 -mtune=power4 -pipe
-ffast-math -fomit-frame-pointer -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -I.   -I/usr/X11R7/include
-I/opt/freeware/include/freetype2 -I/opt/freeware/include   -c -o
libvo/vo_xover.o libvo/vo_xover.c
libvo/video_out_internal.h:41: warning: 'query_format' declared
'static' but never defined
libvo/vo_x11.c:39:33: error: X11/extensions/XShm.h: No such file or directory
libvo/vo_x11.c:44: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'Shminfo'
libvo/vo_x11.c: In function 'getMyXImage':
libvo/vo_x11.c:164: warning: implicit declaration of function
'XShmQueryExtension'
libvo/vo_x11.c:173: warning: implicit declaration of function 'XShmGetEventBase'
libvo/vo_x11.c:173: error: 'ShmCompletion' undeclared (first use in
this function)
libvo/vo_x11.c:173: error: (Each undeclared identifier is reported only once
libvo/vo_x11.c:173: error: for each function it appears in.)
libvo/vo_x11.c:178: warning: implicit declaration of function 'XShmCreateImage'
libvo/vo_x11.c:179: error: 'Shminfo' undeclared (first use in this function)
libvo/vo_x11.c:179: warning: assignment makes pointer from integer
without a cast
libvo/vo_x11.c:212: warning: implicit declaration of function 'XShmAttach'
libvo/vo_x11.c: In function 'freeMyXImage':
libvo/vo_x11.c:256: warning: implicit declaration of function 'XShmDetach'
libvo/vo_x11.c:256: error: 'Shminfo' undeclared (first use in this function)
libvo/vo_x11.c: In function 'Display_Image':
libvo/vo_x11.c:497: warning: implicit declaration of function 'XShmPutImage'
libvo/vo_x11.c: In function 'draw_slice':
libvo/vo_x11.c:568: warning: 'sws_scale_ordered' is deprecated
(declared at ./libswscale/swscale.h:165)
gmake: *** [libvo/vo_x11.o] Error 1
gmake: *** Waiting for unfinished jobs....
Assembler:
line 6296: Instruction fsel is not implemented in the current assembly
mode PWR4.
gmake: *** [mplayer.o] Error 1

At this point, I'd like to scream "THEN DON'T USE FSEL" but it
wouldn't work would it. Is there a way to get MPlayer compiling under
AIX? I do know that audio output isn't supported under AIX 5.2 or
higher, but I'd like for the code to at least compile.
Thanks in advance.
Andrew


More information about the MPlayer-users mailing list