[Ffmpeg-devel] Anybody built ffmpeg x264 shared libs on x86_64?
Måns Rullgård
mru
Fri Sep 9 22:25:19 CEST 2005
sean <seandarcy2 at gmail.com> writes:
> I've been messing around trying to build ffmpeg shared libs with
> --enable-x264 on an amd64, gcc-4.0.1. I built it all with -fPIC. I get
> this error:
>
> gcc -shared -o libavcodec.so bitstream.o utils.o mem.o allcodecs.o
> mpegvideo.o jrevdct.o jfdctfst.o jfdctint.o [..........]
> vorbis.o vp3.o vqavideo.o wmadec.o wnv1.o ws-snd1.o xan.o xl.o
> pthread.o faad.o faac.o xvidff.o x264.o libpostproc/postprocess.o
> mp3lameaudio.o oggvorbis.o oggtheora.o -lm -lx264 -lz -ldl -lpthread
> -L../libavutil -lavutil -lfaac -lxvidcore -lx264 -lmp3lame -lvorbisenc
> -lvorbis -ltheora -logg -Wl,--warn-common -rdynamic -ldl
> -I/usr/X11R6/include/X11
> /usr/bin/ld:
> /usr/lib/gcc/x86_64-redhat-linux/4.0.1/../../../../lib64/libx264.a(dct-a.o):
> relocation R_X86_64_32 against `a local symbol' can not be used when
> making a shared object; recompile with -fPIC
> /usr/lib/gcc/x86_64-redhat-linux/4.0.1/../../../../lib64/libx264.a:
> could not read symbols: Bad value
Did you compile x264 with -fPIC?
--
M?ns Rullg?rd
mru at inprovide.com
More information about the ffmpeg-devel
mailing list