[Ffmpeg-devel] Compile error on ppc/idct_altivec.c

Ævar Arnfjörð Bjarmason avarab
Fri Jul 29 16:52:56 CEST 2005


I'm getting a compile error on ppc/idct_altivec.c while compiling
MPlayer with --enable-altivec

Steps to reproduce:

$ cc -w -std=gnu99 -DHAVE_AV_CONFIG_H -I.. -D_GNU_SOURCE -c -o
ppc/idct_altivec.o ppc/idct_altivec.cIn file included from
ppc/../dsputil.h:31,
                 from ppc/idct_altivec.c:40:
ppc/../common.h:209:36: fastmemcpy.h: No such file or directory
ppc/idct_altivec.c:160: error: initializer element is not constant
ppc/idct_altivec.c:160: error: (near initialization for `constants[0]')
ppc/idct_altivec.c:161: error: initializer element is not constant
ppc/idct_altivec.c:161: error: (near initialization for `constants[1]')
ppc/idct_altivec.c:162: error: initializer element is not constant
ppc/idct_altivec.c:162: error: (near initialization for `constants[2]')
ppc/idct_altivec.c:163: error: initializer element is not constant
ppc/idct_altivec.c:163: error: (near initialization for `constants[3]')
ppc/idct_altivec.c:165: error: initializer element is not constant
ppc/idct_altivec.c:165: error: (near initialization for `constants[4]')





More information about the ffmpeg-devel mailing list