[Ffmpeg-devel] ffmpeg + x264 + enable shared on Pentium D (64 bit)

Måns Rullgård mru
Thu Mar 9 00:09:56 CET 2006


"CHRis Halse Rogers" <chalserogers at gmail.com> writes:

> On 3/9/06, M?ns Rullg?rd <mru at inprovide.com> wrote:
>>
>> Martin said:
>> > Hi,
>> >
>> > i have problems building ffmpeg with x264 as shared lib:
>> [...]
>> > /usr/lib64/gcc/x86_64-suse-linux/4.0.2/../../../../x86_64-suse-
>> > linux/bin/ld: /usr/local/lib/libx264.a(common.o): relocation R_X86_64_32S
>> > against `a local symbol' can not be used when making a shared object;
>> > recompile with -fPIC
>>
>> Do as it tells you, recompile x264 with -fPIC.
>>
> And if you can (on x86-64), please tell me how :).  Last time I tried,
> the assembly didn't support PIC.  Or, at least, *I* couldn't get it to
> build properly.

When was that?  There have been some fixes to that area lately.  I
don't have an amd64 so I can't test it, unfortunately.

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





More information about the ffmpeg-devel mailing list