[Ffmpeg-devel] OSX linker option error

Michael Niedermayer michaelni
Wed Jul 13 12:00:56 CEST 2005


Hi

On Monday 11 July 2005 22:59, 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

the -d option is in this line from configure since 2002, why does it break 
now?

[...]
-- 
Michael





More information about the ffmpeg-devel mailing list