[Libav-user] compiling ffmpeg with -fPIC

Zanelli Franco fzanelli at tecnosens.it
Mon Oct 28 11:31:28 CET 2013


Hi, 
did you solve the problem? 
I experienced it when I was trying to include static ffmpeg libraries (libavcodec.a, libavformat.a ...) in my shared lib (mylib.so) on a 64 bit linux platform, but I don't know how to solve, can you help me please?

Il 01/05/2013 16:41, Dayana ha scritto:


	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
	_______________________________________________
	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/20131028/52d99b01/attachment.html>


More information about the Libav-user mailing list