[Ffmpeg-devel] OSX linker option error
Steven M. Schultz
sms
Tue Aug 2 23:11:46 CEST 2005
On Wed, 13 Jul 2005, Dan Villiom Podlaski Christiansen wrote:
> > On Monday 11 July 2005 22:59, Steven M. Schultz wrote:
> >
> >> An extraneous option (-d) crept in and causes building on OSX to fail
> >> --cflags` -c -o null.o null.c null.c: In function 'Process':
> >> '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
> According to the manual entry for ld(1) in both Darwin 8.2 and 1.3, the
> effect of '-d' is:
>
> -d Force definition of common storage even if the -r option is
> present. This option also forces link editor defined
>
> However, libtool doesn't recognise it, and I'm not sure if it ever did.
> I don't know why it was added in the first place, but it definitely breaks...
I see the "-d" and causing build problems on OS/X 10.4.x
It's not a required option and breaks things - could this trivial
change be made in the near future?
Cheers,
Steven Schultz
-------------- next part --------------
--- configure.dist 2005-08-02 14:03:56.000000000 -0700
+++ configure 2005-08-02 14:05:14.000000000 -0700
@@ -312,7 +312,7 @@
extralibs=""
darwin="yes"
strip="strip -x"
-LDFLAGS="-Wl,-d,-search_paths_first"
+LDFLAGS="-Wl,-search_paths_first"
FFSLDFLAGS=-Wl,-bind_at_load
;;
MINGW32*)
More information about the ffmpeg-devel
mailing list