[FFmpeg-user] problem compiling ffmpeg 0.8.2

Patricia N Goldweic pgoldweic at northwestern.edu
Thu Aug 25 20:34:21 CEST 2011


Hi,
I've been trying to compile ffmpeg 0.8.2 on linux (rel6), and after compiling all the third party libraries I needed, I am getting the following error:


....
libavutil/samplefmt.c: In function âav_samples_fill_arraysâ:
libavutil/samplefmt.c:88: warning: âav_get_bits_per_sample_fmtâ is deprecated (declared at libavutil/samplefmt.c:76)
CC      libavutil/sha.o
CC      libavutil/tree.o
CC      libavutil/utils.o
CC      libavutil/x86/cpu.o
LD      libavutil/libavutil.so.51
LD      libavcodec/libavcodec.so.53
/usr/bin/ld: /usr/local/lib/libvpx.a(vpx_codec.c.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libvpx.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [libavcodec/libavcodec.so.53] Error 1



I've configured ffmpeg with the following command:

sudo ./configure --enablelibvpx --enable-libfaac --enable-shared --enable-memalign-hack --enable-gpl --enable-libtheora --enable-libmp3lame --enable-libvorbis --enable-libx264 --enable-libxvid --enable-nonfree --enable-postproc --enable-avfilter --enable-swscale --enable-pthreads --enable-libfreetype --enable-libopenjpeg   --arch=x86_64

(and I've installed version 0.9.7 of libvpx)

Any ideas on what is happening or how to fix it? Thanks in advance,
-Patricia


More information about the ffmpeg-user mailing list