[x264-devel] [PATCH] Fix shared libs on MacOSX
İsmail Dönmez
ismail at namtrac.org
Wed Mar 26 08:10:17 CET 2008
Hi,
2008/3/26 alex gao <madfxgao at gmail.com>:
> After patched,
>
> with --enable-shared, error message:
>
> gcc -shared -o libx264.dylib.58 common/mc.o common/predict.o
> common/pixel.o common/macroblock.o common/frame.o common/dct.o
> common/cpu.o common/cabac.o common/common.o common/mdate.o
> common/set.o common/quant.o encoder/analyse.o encoder/me.o
> encoder/ratecontrol.o encoder/set.o encoder/macroblock.o
> encoder/cabac.o encoder/cavlc.o encoder/encoder.o encoder/eval.o
> common/x86/mc-c.o common/x86/predict-c.o common/x86/cabac-a.o
> common/x86/dct-a.o common/x86/deblock-a.o common/x86/mc-a.o
> common/x86/mc-a2.o common/x86/pixel-a.o common/x86/predict-a.o
> common/x86/quant-a.o common/x86/sad-a.o common/x86/cpu-32.o
> common/x86/dct-32.o common/x86/pixel-32.o -dynamiclib -install_name
> libx264.dylib.58 -lm -lmx -lpthread -s
> ld64: 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
> collect2: ld returned 1 exit status
> make: *** [libx264.dylib.58] Error 1
I have used gcc-4.2 from XCode 3.1 beta which worked fine.
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