[Ffmpeg-devel] ffmpeg doesn't compile on Mac OS X anymore...

Patrice Bensoussan patrice.bensoussan
Thu Oct 6 22:15:09 CEST 2005


It looks like there are two issues when trying to compile on Mac OS X  
Tiger :

1/ When using gcc 3.3, I reach the linking stage but get :

warning: `bswap_16' defined but not used
cc -Wl,-dynamic,-search_paths_first -dynamiclib -Wl,-single_module,- 
undefined,dynamic_lookup -flat_namespace -Wl,-install_name,/usr/local/ 
lib/vhook/null.dylib -g -o null.dylib null.o
ld: flag: -undefined dynamic_lookup can't be used with  
MACOSX_DEPLOYMENT_TARGET environment variable set to: 10.1
/usr/bin/libtool: internal link edit command failed
make[1]: *** [null.dylib] Error 1

2/ When using gcc 4.0, compilation aborts with the error (this is  
only a warning with gcc 3)

make -C libavutil all
cc -g -Wall -Wno-switch  -no-cpp-precomp -pipe -fomit-frame-pointer - 
force_cpusubtype_ALL -Wno-sign-compare -faltivec -Os -mdynamic-no-pic  
D_GNU_SOURCE  -c -o mathematics.o mathematics.c
In file included from mathematics.c:24:
common.h:551: error: static declaration of 'lrintf' follows non- 
static declaration
make[1]: *** [mathematics.o] Error 1
make: *** [lib] Error 2

Are these known issue? Thanks.

More information about the ffmpeg-devel mailing list