[Ffmpeg-devel] Shared libraries on AMD64

Alexandru Asofie alex
Fri Apr 27 17:38:12 CEST 2007


Quoting Diego Biurrun <diego at biurrun.de>:

> On Fri, Apr 27, 2007 at 11:28:06AM +0300, Alexandru Asofie wrote:
>>
>> I try to compile ffmpeg with the following options:
>> ./configure  --enable-libmp3lame --enable-libogg --enable-libfaad
>> --enable-libfaac --enable-xvid --enable-amr-nb --enable-gpl
>> --enable-shared --disable-strip --enable-liba52 --enable-liba52bin
>> --cc=gcc4 --extra-cflags="-fPIC"
>>
>> When I run make I get the following error:
>>
>> /usr/bin/ld: mathematics.o: relocation R_X86_64_32 against `a local
>> symbol' can not be used when making a shared object; recompile with
>> -fPIC
>> mathematics.o: could not read symbols: Bad value
>> collect2: ld returned 1 exit status
>> make[1]: *** [libavutil.so.49] Error 1
>> make[1]: Leaving directory `/tmp/ffmpeg/libavutil'
>> make: *** [lib] Error 2
>>
>> Do you have any idea why it says to recompile with -fPIC since I   
>> already added
>> --extra-cflags="-fPIC" ?
>
> svn up
>
> Diego
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel
>



I updated the code to latest revision (8850) and still get the same error.







More information about the ffmpeg-devel mailing list