[Ffmpeg-devel] OSX linker option error

Michael Niedermayer michaelni
Wed Aug 10 01:35:51 CEST 2005


On Mon, Jul 11, 2005 at 01:59:40PM -0700, Steven M. Schultz wrote:
> Hi
> 	An extraneous option (-d) crept in and causes building on OSX to fail
> make -C vhook all
> cc -fPIC -O3 -g -Wall -Wno-switch  -no-cpp-precomp -pipe -fomit-frame-pointer -force_cpusubtype_ALL -Wno-sign-compare -faltivec -I.. -I'/usr/local/src/ffmpeg' -I'/usr/local/src/ffmpeg'/libavformat -I'/usr/local/src/ffmpeg'/libavcodec -DHAVE_AV_CONFIG_H `freetype-config --cflags`   -c -o null.o null.c
> null.c: In function 'Process':
> null.c:59: warning: pointer targets in passing argument 2 of 'avpicture_fill' differ in signedness
> 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] [-noall_load]
> make[1]: *** [null.so] Error 1
> rm null.o
> make: *** [videohook] Error 2
> 	-search_paths_first is a valid option but -d is not.  The attached
> 	patch simply removes the un-needed -d




More information about the ffmpeg-devel mailing list