[Ffmpeg-devel] Mac OSX debug build problems

Anders Moden ffmpeg
Tue Oct 24 21:37:52 CEST 2006

Hi !

Why is it always a lot of problems using --disable-strip --disable-opts

I am always stuck in a situation where I need to debug the code. On  
OSX I always get

cc -I/Users/amo/ffmpeg/libswscale   -DHAVE_AV_CONFIG_H - 
amo/ffmpeg -I/Users/amo/ffmpeg -I/Users/amo/ffmpeg/libavutil -I/Users/ 
amo/faad2/include -no-cpp-precomp -pipe -force_cpusubtype_ALL -Wno- 
sign-compare -g -Wdeclaration-after-statement -Wall -Wno-switch - 
Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Winline - 
mdynamic-no-pic  -c -o cabac.o cabac.c
In file included from cabac.c:32:
cabac.h: In function 'get_cabac_noinline':
cabac.h:525: error: can't find a register in class 'GENERAL_REGS'  
while reloading 'asm'
make[1]: *** [cabac.o] Error 1
make: *** [lib] Error 2

somewhere. Either mmx or swscale. The mmx stuff can be disabled, but  
the swscale can not.

I really need a debug version...

More information about the ffmpeg-devel mailing list