|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 <[email protected] <mailto:[email protected]>> wrote:

    On Wed, May 1, 2013 at 7:41 AM, Dayana <[email protected]
    <mailto:[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] <mailto:[email protected]>
        http://ffmpeg.org/mailman/listinfo/libav-user





_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to