[FFmpeg-user] (RUN_AVX_INSTR:6) cannot reference symbol `sizeofm9' in preprocessor

Hans-Christoph Steiner hans at at.or.at
Mon Jan 2 07:06:22 CET 2012


On Dec 26, 2011, at 7:13 AM, Carl Eugen Hoyos wrote:

> 강용희 <yhkang <at> icube.co.kr> writes:
> 
>> I have the same problem.
>> Errors have occurred on '.../x86/...' stuffs, while we are building for ARM.
> 
> Please provide your configure line, run make, run make again, run "make V=1" and
> provide the complete, uncut output of "make V=1".
> (Please do not provide complete, uncut output of your first call to make.)
> 
> If you are using a script that you did not write yourself, please report your
> problem wherever you found the script.

The build is configured like this:
https://github.com/guardianproject/android-ffmpeg/blob/master/configure_ffmpeg.sh

Here's the output from the final "make V=1":

jenkins at wallace:~/jobs/android-ffmpeg/workspace/ffmpeg$ make V=1
/usr/local/android-ndk/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc -I. -I./ --sysroot=/usr/local/android-ndk/platforms/android-3/arch-arm -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -DHAVE_AV_CONFIG_H -I../x264 -mcpu=cortex-a8 -std=c99 -fomit-frame-pointer -fPIC -marm -g -Wdeclaration-after-statement -Wall -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wno-pointer-to-int-cast -Wstrict-prototypes -Os -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -Werror=implicit-function-declaration -Werror=missing-prototypes  -MMD -MF libswscale/swscale.d -MT libswscale/swscale.o -c -o libswscale/swscale.o libswscale/swscale.c
libswscale/swscale.c: In function 'swScale':
libswscale/swscale.c:2767: warning: assignment from incompatible pointer type
libswscale/swscale.c:2768: warning: assignment from incompatible pointer type
libswscale/swscale.c:2794: warning: assignment from incompatible pointer type
libswscale/swscale.c: In function 'sws_init_swScale_c':
libswscale/swscale.c:2869: warning: assignment from incompatible pointer type
libswscale/swscale.c:2876: warning: assignment from incompatible pointer type
libswscale/swscale.c:2907: warning: assignment from incompatible pointer type
libswscale/swscale.c:2914: warning: assignment from incompatible pointer type
libswscale/swscale.c:2919: warning: assignment from incompatible pointer type
libswscale/swscale.c:2929: warning: assignment from incompatible pointer type
libswscale/swscale.c:2936: warning: assignment from incompatible pointer type
libswscale/swscale.c:2953: warning: assignment from incompatible pointer type
libswscale/swscale.c:2980: warning: assignment from incompatible pointer type
libswscale/swscale.c:2985: warning: assignment from incompatible pointer type
libswscale/swscale.c:2994: warning: assignment from incompatible pointer type
libswscale/swscale.c:2995: warning: assignment from incompatible pointer type
libswscale/swscale.c:2996: warning: assignment from incompatible pointer type
libswscale/swscale.c:3009: warning: assignment from incompatible pointer type
libswscale/swscale.c:3011: warning: assignment from incompatible pointer type
libswscale/swscale.c:3013: warning: assignment from incompatible pointer type
In file included from ./libavutil/intmath.h:36,
                 from ./libavutil/common.h:99,
                 from ./libavutil/avutil.h:327,
                 from libswscale/swscale.h:30,
                 from libswscale/swscale.c:60:
./libavutil/arm/intmath.h: In function 'yuv2plane1_10_c_template':
./libavutil/arm/intmath.h:82: warning: asm operand 2 probably doesn't match constraints
./libavutil/arm/intmath.h:82: warning: asm operand 2 probably doesn't match constraints
./libavutil/arm/intmath.h:82: error: impossible constraint in 'asm'
./libavutil/arm/intmath.h:82: error: impossible constraint in 'asm'
In file included from ./libavutil/intmath.h:36,
                 from ./libavutil/common.h:99,
                 from ./libavutil/avutil.h:327,
                 from libswscale/swscale.h:30,
                 from libswscale/swscale.c:60:
./libavutil/arm/intmath.h: In function 'yuv2planeX_10_c_template':
./libavutil/arm/intmath.h:82: warning: asm operand 2 probably doesn't match constraints
./libavutil/arm/intmath.h:82: warning: asm operand 2 probably doesn't match constraints
libswscale/swscale.c: In function 'yuv2rgb_X_c_template':
libswscale/swscale.c:1187: warning: 'A2' may be used uninitialized in this function
libswscale/swscale.c:1187: warning: 'A1' may be used uninitialized in this function
libswscale/swscale.c: In function 'yuv2rgb_full_X_c_template':
libswscale/swscale.c:1415: warning: 'A' may be used uninitialized in this function


----------------------------------------------------------------------------

“We must become the change we want to see. - Mahatma Gandhi



More information about the ffmpeg-user mailing list