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

Måns Rullgård mru
Sat Sep 10 02:32:06 CEST 2005


sean <seandarcy2 at gmail.com> writes:

> 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.

Could you possibly try to pin down which function in that file is
causing trouble?  Or is it all of them?

-- 
M?ns Rullg?rd
mru at inprovide.com





More information about the ffmpeg-devel mailing list