[Ffmpeg-devel] Shared libraries on AMD64

Diego Biurrun diego
Fri Apr 27 11:33:30 CEST 2007


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




More information about the ffmpeg-devel mailing list