Re: [Libav-user] compiling ffmpeg with -fPIC

2013-05-06 Thread Chung Leong
Date: Mon, 6 May 2013 09:18:58 -0400 From: dri...@cenatav.co.cu To: libav-user@ffmpeg.org Subject: Re: [Libav-user] compiling ffmpeg with -fPIC Hi Gavin!! I set -shared -Wl,-Bsymbolic in the linker flags of my library, that depends of libavcodec, libavutil, libavformat...

Re: [Libav-user] compiling ffmpeg with -fPIC

2013-05-06 Thread Chung Leong
Let me correct myself. The problematic symbol in the situation here is ff_pd_1, a global variable. It's declared with the attribute visibility(hidden). The symbol isn't exported. Knowing this, gcc apparently doesn't generate PIC code for accessing it even when you add -fPIC. By default, gcc