[x264-devel] [PATCH] Fix shared libs on MacOSX
İsmail Dönmez
ismail at namtrac.org
Fri Mar 28 23:44:52 CET 2008
Hi,
2008/3/28 alex gao <madfxgao at gmail.com>:
> After using your patch v1 or v2, with --enable-shared option and Xcode
> 3.1 beta1, I still meet error:
>
>
> ld warning: option -s is obsolete and being ignored
> ld: absolute addressing (perhaps -mdynamic-no-pic) used in
> _x264_cabac_encode_decision from common/x86/cabac-a.o not allowed in
> slidable image. Use '-read_only_relocs suppress' to enable text relocs
> collect2: ld returned 1 exit status
> make: *** [libx264.dylib.58] Error 1
>
> So I add option -read_only_relocs suppress to gcc, and it works fine
Can you try ./configure --enable-shared --host=x86_64-apple-darwin9 ,
maybe its 32bit related as I can't reproduce it with my 64bit build.
Regards,
ismail
--
Never learn by your mistakes, if you do you may never dare to try again.
More information about the x264-devel
mailing list