[Ffmpeg-devel] ffmpeg doesn't compile on Mac OS X anymore...
Mon Oct 10 20:35:16 CEST 2005
Lina, could you please look into this? Your patch is causing some
On Fri, Oct 07, 2005 at 11:28:05PM +0100, Patrice Bensoussan wrote:
> >On Thu, Oct 06, 2005 at 09:15:09PM +0100, Patrice Bensoussan wrote:
> >> 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 :
> >> 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: *** [null.dylib] Error 1
> >Yes, that's an issue. You can work around it with
> >export MACOSX_DEPLOYMENT_TARGET=10.3
> >Does anybody know how to fix this properly
> Good question... I've had a quick look at the man page for ld, and
> i'm wondering why we are using -undefined,dynamic_lookup -
> It looks like this is what is causing this new error to appear.
> Also, wondering if the created binary would actually run on 10.2 if
> we set this variable to 10.3 :/
Umm, removing -flat_namespace does not solve the problem...
> >> 2/ When using gcc 4.0, compilation aborts with the error (this is
> >> only a warning with gcc 3)
> >> make: *** [mathematics.o] Error 1
> >That's strange, does the lrintf check in configure fail for you then?
> Well not sure how to see this in configure,
before the lrintf check on line 978 and show me the console output.
Oh, you probably want to put
after the lrint check to get rid of the verbosity again.
More information about the ffmpeg-devel