[FFmpeg-user] relocation R_X86_64_PC32 against symbol `ff_w1111' can not be used when making a shared object; recompile with -fPIC

Gabriel Pettier gabriel.pettier at gmail.com
Tue Aug 25 01:06:19 CEST 2015


I tried a lot of different ones, here are a few (by order)

./configure --enable-gpl --extra-args='-fPIC'

./configure --enable-gpl --extra-cflags='-fPIC' --extra-cxxflags='-fPIC' --extra-ldflags='-fPIC'

./configure --enable-gpl --enable-pic

CFLAGS=-fPIC ./configure --enable-gpl --enable-pic

./configure --enable-gpl --enable-pic --enable-shared

LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu ./configure --enable-shared --enable-gpl --enable-version3 --enable-runtime-cpudetect --disable-outdev=sdl --disable-opencl --enable-libx264 --cc="gcc -m64 -fPIC"

for gcc version

gcc (Ubuntu 4.9.2-10ubuntu13) 4.9.2

Please tell me if you need any more information :)

On Mon, Aug 24, 2015 at 09:16:10PM +0000, Carl Eugen Hoyos wrote:
>Gabriel Pettier <gabriel.pettier <at> gmail.com> writes:
>
>> /home/tangible/Dev/ffpyplayer/ffmpeg/lib/libswscale.a(rgb2rgb.o):
>> relocation R_X86_64_PC32 against symbol `ff_w1111' can not be used when
>> making a shared object; recompile with -fPIC
>
>How does the FFmpeg configure line look like?
>
>What is the gcc version string?
>
>Carl Eugen
>
>_______________________________________________
>ffmpeg-user mailing list
>ffmpeg-user at ffmpeg.org
>http://ffmpeg.org/mailman/listinfo/ffmpeg-user
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20150825/6dd8027c/attachment.sig>


More information about the ffmpeg-user mailing list