[Libav-user] compiling ffmpeg with -fPIC

Dayana dribas at cenatav.co.cu
Wed May 1 18:07:08 CEST 2013


I tried with > ./configure --extra-cflags="-fPIC" and I still have the 
same error:

/usr/local/lib/libavcodec.a(lpc_mmx.o): relocation R_X86_64_PC32 against 
symbol `ff_pd_1' can not be used when making a shared object; recompile 
with -fPIC

:(




On 05/01/2013 12:05 PM, Ratin wrote:
> On Wed, May 1, 2013 at 8:04 AM, Carl Eugen Hoyos <cehoyos at ag.or.at 
> <mailto:cehoyos at ag.or.at>> wrote:
>
>     Ratin <ratin3 at ...> writes:
>
>     > ./configure --extra-cflags="-fPIC"
>
>     This is not a good idea since an equivalent
>     option exists (that may set additional settings).
>
>     Carl Eugen
>
>     _______________________________________________
>     Libav-user mailing list
>     Libav-user at ffmpeg.org <mailto:Libav-user at ffmpeg.org>
>     http://ffmpeg.org/mailman/listinfo/libav-user
>
>
> Agreed, if the equivalent option works.
>
>
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20130501/75ac6ec4/attachment.html>


More information about the Libav-user mailing list