[Libav-user] compiling ffmpeg with -fPIC

Carl Eugen Hoyos cehoyos at ag.or.at
Wed May 1 16:59:19 CEST 2013


Dayana <dribas at ...> writes:

> 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)

You are (still) trying to link a static library - 
/usr/local/lib/libavcodec.a - with a shared object 
compiled with -fpic which cannot work.

Carl Eugen



More information about the Libav-user mailing list