[Ffmpeg-devel] Anybody built ffmpeg x264 shared libs on x86_64?

sean seandarcy2
Fri Sep 9 22:14:47 CEST 2005


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

I've tried the x264 lists ( and binutils).

Has anyone actually done this on x86-64?  If so, any hints 
would be reallllly appreciated.

sean





More information about the ffmpeg-devel mailing list