[FFmpeg-devel] OS/X Intel compile error

Steven M. Schultz sms
Thu Oct 18 18:28:02 CEST 2007


Hello -

	On a Intel based MacBookPro (OS/X 10.4.9) I am seeing this error 
	when compiling ffmpeg:

gcc -I"/usr/local/src/ffmpeg"/libswscale -I"/usr/local/src/ffmpeg"/libavcodec  -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURCE -I"/usr/local/src/ffmpeg" -I"/usr/local/src/ffmpeg" -I"/usr/local/src/ffmpeg"/libavutil -no-cpp-precomp -pipe -force_cpusubtype_ALL -Wno-sign-compare -fomit-frame-pointer -g -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -O3  -c -o i386/dsputil mmx.o i386/dsputil_mmx.c
i386/dsputil_mmx.c: In function 'gmc_mmx':
i386/dsputil_mmx.c:2666: warning: suggest parentheses around arithmetic in oper nd of |
i386/dsputil_mmx.c:2666: warning: suggest parentheses around arithmetic in oper nd of |
i386/dsputil_mmx.c:2667: warning: suggest parentheses around arithmetic in oper nd of |
i386/dsputil_mmx.c:2667: warning: suggest parentheses around arithmetic in oper nd of |
i386/dsputil_mmx.c:2667: warning: suggest parentheses around arithmetic in oper nd of |
i386/dsputil_mmx.c: In function 'dsputil_init_mmx':
i386/dsputil_mmx.c:3748: warning: assignment from incompatible pointer type
i386/dsputil_mmx.c:3756: warning: assignment from incompatible pointer type
i386/dsputil_mmx.c: In function 'flac_compute_autocorr_sse2':
i386/dsputil_mmx.c:3003: error: can't find a register in class 'GENERAL_REGS' w ile reloading 'asm'
i386/dsputil_mmx.c:3005: error: can't find a register in class 'GENERAL_REGS' w ile reloading 'asm'
make[1]: *** [i386/dsputil_mmx.o] Error 1
gmake: *** [lib] Error 2

	svn update'd as of 2 minutes ago

	Busted gcc/asm?  if so how does a person work around the issue?

	Thanks.

	Steven Schultz




More information about the ffmpeg-devel mailing list