2.6.7 Compile error (reading libvpx.a on 64-bit ubuntu)

Started by markp, March 02, 2014, 04:40:00 AM

Previous topic - Next topic

markp

Hi all!  Trying to compile 2.6.7 on 64-bit ubuntu, using the
avidemux_2.6.7.tar.gz from http://avidemux.sourceforge.net/download.html

I did this:

$ uname -a
Linux localhost 3.2.0-36-generic #57-Ubuntu SMP Tue Jan 8 21:44:52 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
$ lspci -s 00:02
00:02.0 VGA compatible controller: Intel Corporation 82G33/G31 Express Integrated Graphics Controller (rev 10)
$ /bin/bash bootStrap.bash --deb



And I got this:

-- Configuring done
-- Generating done
-- Build files have been written to: /home/owner/src/avidemux_2.6.7/buildPluginsCommon
** Failed at make, result in /tmp/logbuildPluginsCommon**



logbuildPluginsCommon shows this:

/usr/bin/c++  -fPIC  -fmessage-length=0 -fmessage-length=0 -O3 -DNDEBUG   -shared -Wl,-soname,libADM_vd_vpx.so -o libADM_vd_vpx.so CMakeFiles/ADM_vd_vpx.dir/vpxPlugin.cpp.o CMakeFiles/ADM_vd_vpx.dir/ADM_vpx.cpp.o  -L/home/owner/src/avidemux_2.6.7/install/usr/lib /usr/local/lib/libvpx.a -lpthread -lADM_core6 -lADM_coreUI6 -lADM_coreVideoCodec6 -lADM_coreImage6 -lADM_coreUtils6 -Wl,-rpath,/home/owner/src/avidemux_2.6.7/install/usr/lib:
/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[2]: *** [ADM_videoDecoder/vpx/libADM_vd_vpx.so] Error 1
make[2]: Leaving directory `/home/owner/src/avidemux_2.6.7/buildPluginsCommon'
make[1]: *** [ADM_videoDecoder/vpx/CMakeFiles/ADM_vd_vpx.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Linking CXX shared library libADM_ae_pcm.so
cd /home/owner/src/avidemux_2.6.7/buildPluginsCommon/ADM_audioEncoders/pcm && /home/owner/src/cmake-2.8.12.2-Linux-i386/bin/cmake -E cmake_link_script CMakeFiles/ADM_ae_pcm.dir/link.txt --verbose=1
/usr/bin/c++  -fPIC  -fmessage-length=0 -fmessage-length=0 -O3 -DNDEBUG   -shared -Wl,-soname,libADM_ae_pcm.so -o libADM_ae_pcm.so CMakeFiles/ADM_ae_pcm.dir/audioencoder_pcm.cpp.o  -L/home/owner/src/avidemux_2.6.7/install/usr/lib -Wl,--as-needed -Wl,-z,defs -lstdc++ -lADM_core6 -lADM_coreUI6 -lADM_coreAudio6 -lADM_coreAudioEncoder6 -lADM_coreUtils6 -lm -Wl,-rpath,/home/owner/src/avidemux_2.6.7/install/usr/lib:
make[2]: Leaving directory `/home/owner/src/avidemux_2.6.7/buildPluginsCommon'
/home/owner/src/cmake-2.8.12.2-Linux-i386/bin/cmake -E cmake_progress_report /home/owner/src/avidemux_2.6.7/buildPluginsCommon/CMakeFiles
[  6%] Built target ADM_ae_pcm
make[1]: Leaving directory `/home/owner/src/avidemux_2.6.7/buildPluginsCommon'
make: *** [all] Error 2



Any ideas?
Thanks