On Wed, May 1, 2013 at 8:00 AM, Ratin <[email protected]> wrote:

> On Wed, May 1, 2013 at 7:41 AM, Dayana <[email protected]> wrote:
>
>> Hi!!! Im developing an aplication using libavcodec, libavformat and
>> libavutil. Im trying to make a shared library and for that I have to get
>> libavs compiled with -fPIC ... I was trying to do it by setting
>> --enable-pic in the configure file, however Im 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
>>
>>
>> could somebody give me a hint please??
>>
>> :) dayana
>>
>
>
>
> ./configure --extra-cflags="-fPIC"
>
> assuming you do --enable-shared option, and not statically linking
>
>

> ______________________________**_________________
>> Libav-user mailing list
>> [email protected]
>> http://ffmpeg.org/mailman/**listinfo/libav-user<http://ffmpeg.org/mailman/listinfo/libav-user>
>>
>
>
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to