[Libav-user] compiling ffmpeg with -fPIC
Dayana
dribas at cenatav.co.cu
Wed May 1 17:07:48 CEST 2013
|First of all thanks a lot!!
./configure --extra-cflags="-||fPIC"
assuming you do --enable-shared option, and not statically linking
|
|You are (still) trying to link a static library -
/usr/local/lib/libavcodec.a - with a shared object
compiled with -fpic which cannot work.
>> Im only did ./configure, make, make install, for obtaining the libavcodec.a, that is that Im using for creating mi libx.so
|
On 05/01/2013 11:03 AM, Ratin wrote:
>
>
>
> On Wed, May 1, 2013 at 8:00 AM, Ratin <ratin3 at gmail.com
> <mailto:ratin3 at gmail.com>> wrote:
>
> On Wed, May 1, 2013 at 7:41 AM, Dayana <dribas at cenatav.co.cu
> <mailto:dribas at cenatav.co.cu>> 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
> Libav-user at ffmpeg.org <mailto:Libav-user at ffmpeg.org>
> http://ffmpeg.org/mailman/listinfo/libav-user
>
>
>
>
>
> _______________________________________________
> 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/517696ae/attachment.html>
More information about the Libav-user
mailing list