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

sean seandarcy2
Fri Sep 9 22:32:56 CEST 2005


M?ns Rullg?rd wrote:
> 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:
..................
>>/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?
> 

Yes. And the yasm part of x264 (dct-a.o) with -m64.





More information about the ffmpeg-devel mailing list