[MPlayer-users] compilation fails at yuv2rgb_altivec.c
Christian Ebert
blacktrash at gmx.net
Thu Jul 10 07:52:54 CEST 2008
* Christian Ebert on Wednesday, July 09, 2008 at 16:44:47 +0100
> Trying to compile latest svn on MacOS 10.4.11 build exits with:
>
> [...]
> cc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I.. -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -I. -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -mcpu=7450 -mtune=7450 -pipe -ffast-math -fomit-frame-pointer -maltivec -mabi=altivec -mdynamic-no-pic -falign-loops=16 -shared-libgcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H -I/sw/include -I/usr/local/include -I/usr/X11R6/include -I/sw/include -I/sw/include -c -o yuv2rgb_altivec.o yuv2rgb_altivec.c
> yuv2rgb_altivec.c:146: error: initializer element is not constant
> yuv2rgb_altivec.c:148: error: initializer element is not constant
> yuv2rgb_altivec.c:150: error: initializer element is not constant
> yuv2rgb_altivec.c:152: error: initializer element is not constant
> yuv2rgb_altivec.c:615: error: initializer element is not constant
> yuv2rgb_altivec.c:619: error: initializer element is not constant
> yuv2rgb_altivec.c:623: error: initializer element is not constant
> make[1]: *** [yuv2rgb_altivec.o] Error 1
> make: *** [libswscale/libswscale.a] Error 2
Today it fails at:
[...]
cc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I.. -I.. -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -std=gnu99 -I. -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -mcpu=7450 -mtune=7450 -pipe -ffast-math -fomit-frame-pointer -maltivec -mabi=altivec -mdynamic-no-pic -falign-loops=16 -shared-libgcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H -I/sw/include -I/usr/local/include -I/usr/X11R6/include -I/sw/include -I/sw/include -c -o swscale.o swscale.c
swscale.c: In function 'sws_getCachedContext':
swscale.c:2917: warning: assignment discards qualifiers from pointer target type
swscale_altivec_template.c: In function 'hScale_altivec_real':
swscale_altivec_template.c:234: warning: 'src_v1' may be used uninitialized in this function
swscale_altivec_template.c:273: warning: 'src_v1' may be used uninitialized in this function
swscale_altivec_template.c:360: warning: 'src_v1' may be used uninitialized in this function
swscale.c: At top level:
swscale_template.c:2926: warning: 'swScale_C' defined but not used
make[1]: *** No rule to make target `swscale_avoption.o', needed by `libswscale.a'. Stop.
make: *** [libswscale/libswscale.a] Error 2
c
--
Was heißt hier Dogma, ich bin Underdogma!
[ What the hell do you mean dogma, I am underdogma. ]
_F R E E_ _V I D E O S_ -->> http://www.blacktrash.org/underdogma/
More information about the MPlayer-users
mailing list