[Ffmpeg-devel] [PATCH] Build Darwin dynamic/shared libraries

Patrice Bensoussan patrice.bensoussan
Wed Jul 20 23:18:25 CEST 2005


I used to compile ffmpeg under Mac OS X 10.4 with gcc3.3 fine. Now  
the ffmpeg binary is still built, but I get the following error at  
the end :

Any idea? is this due to this change?

cc -fPIC -O3 -g -Wall -Wno-switch  -no-cpp-precomp -pipe -fomit-frame- 
pointer -force_cpusubtype_ALL -Wno-sign-compare -faltivec -I.. -I'/ 
Users/patriceb/tmp/WMA/cvs-HEAD/ffmpeg' -I'/Users/patriceb/tmp/WMA/ 
cvs-HEAD/ffmpeg'/libavformat -I'/Users/patriceb/tmp/WMA/cvs-HEAD/ 
ffmpeg'/libavcodec -DHAVE_AV_CONFIG_H   -c -o null.o null.c
cc -Wl,-d,-search_paths_first -g -o null.so -dynamiclib - 
flat_namespace -undefined suppress null.o
/usr/bin/libtool: unknown option character `d' in: -d
Usage: /usr/bin/libtool -static [-] file [...] [-filelist listfile 
[,dirname]] [-arch_only arch] [-sacLT]
Usage: /usr/bin/libtool -dynamic [-] file [...] [-filelist listfile 
[,dirname]] [-arch_only arch] [-o output] [-install_name name] [- 
compatibility_version #] [-current_version #] [-seg1addr 0x#] [- 
segs_read_only_addr 0x#] [-segs_read_write_addr 0x#] [-seg_addr_table  
<filename>] [-seg_addr_table_filename <file_system_path>] [-all_load]  
make[1]: *** [null.so] Error 1
rm null.o
make: *** [videohook] Error 2

More information about the ffmpeg-devel mailing list