I've been stumbling along getting kdenlive to successfully render (multiple tries) until recently. I'm trying to use the buildscripts method to compile from source to work around the failure to render issue. I've encountered several errors and am stuck at lame. Help pointing me in the right direction would be appreciated. I apologize for the long code post below, I decided to err on the side of being thorough in the hopes that it would be helpful to someone who knows more about lame compiling than I do.
Configuration and Command History
Ubuntu Lucid.
I used the list of packages at http://www.mltframework.org/twiki/bin/view/MLT/BuildScripts except replaced git with git-core.
My system only had yasm 0.8 so I installed yasm-1, and then used a symbolic link to point yasm to the updated file which got me past the code complaining about yasm for H264 compilation.
sudo mv /usr/bin/yasm /usr/bin/yasm0.8
sudo ln -s /usr/bin/yasm-1 /usr/bin/yasm
Now when I run ./build-kdenlive.sh I get the following nondescript error:
make: *** [all] Error 2
ERROR: Unable to build lame
#### Start Lame Compile Output | Error ####
~/kdenlive/src ~/kdenlive/src
LOG: About to run command: cd lame
LOG: PATH=/home/USER_ID/kdenlive/20120816/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/opt:/opt/SALOME-MECA-2010.1-x86_64/:/opt/aster101/outils:/opt/aster101/bin:/opt/Impact:/opt/itksnap/bin:/opt/VoxelMesher:/opt/mbdyn/bin:/opt/tetgen:/opt/aero-foils/xfoil/bin/:/opt/aero-foils/Avl/bin/:/opt/aero-foils/datcom/bin/:/opt/aero-foils/javafoil/
LOG: LD_RUN_PATH=/home/USER_ID/kdenlive/20120816/lib
LOG: PKG_CONFIG_PATH=/home/USER_ID/kdenlive/20120816/lib/pkgconfig:
LOG: CFLAGS=
LOG: LDFLAGS=
LOG: About to run command: ./configure --prefix=/home/USER_ID/kdenlive/20120816 --libdir=/home/USER_ID/kdenlive/20120816/lib --disable-decoder --disable-frontend
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for library containing strerror... none required
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking version of GCC... 4.4.3
checking for function prototypes... yes
checking for string.h... (cached) yes
checking dmalloc.h usability... no
checking dmalloc.h presence... no
checking for dmalloc.h... no
checking for ANSI C header files... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for stdint.h... (cached) yes
checking for string.h... (cached) yes
checking sys/soundcard.h usability... yes
checking sys/soundcard.h presence... yes
checking for sys/soundcard.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking xmmintrin.h usability... yes
checking xmmintrin.h presence... yes
checking for xmmintrin.h... yes
checking linux/soundcard.h usability... yes
checking linux/soundcard.h presence... yes
checking for linux/soundcard.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether byte ordering is bigendian... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking size of short... 2
checking size of unsigned short... 2
checking size of int... 4
checking size of unsigned int... 4
checking size of long... 8
checking size of unsigned long... 8
checking size of long long... 8
checking size of unsigned long long... 8
checking size of float... 4
checking size of double... 8
checking for long double with more range or precision than double... yes
checking for uint8_t... yes
checking for int8_t... yes
checking for uint16_t... yes
checking for int16_t... yes
checking for uint32_t... yes
checking for int32_t... yes
checking for uint64_t... yes
checking for int64_t... yes
checking for IEEE854 compliant 80 bit floats... yes
checking for ieee854_float80_t... no
checking for ieee754_float64_t... no
checking for ieee754_float32_t... no
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for gettimeofday... yes
checking for strtol... yes
checking for socket... yes
checking termcap.h usability... yes
checking termcap.h presence... yes
checking for termcap.h... yes
checking ncurses/termcap.h usability... no
checking ncurses/termcap.h presence... no
checking for ncurses/termcap.h... no
checking for initscr in -ltermcap... yes
checking for initscr in -lcurses... yes
checking for initscr in -lncurses... yes
checking for ld used by GCC... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking for working iconv... yes
checking for iconv declaration...
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for cos in -lm... yes
checking for cos in -lffm... no
checking for cos in -lcpml... no
checking for gtk-config... no
checking for GTK - version >= 1.2.0... no
*** The gtk-config script installed by GTK could not be found
*** If GTK was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the GTK_CONFIG environment variable to the
*** full path to gtk-config.
checking use of ElectricFence malloc debugging... no
checking use of file io... lame
checking use of analyzer hooks... yes
checking use of mpg123 decoder... no
checking if the lame frontend should be build... no
checking if mp3x is requested... no
checking if mp3rtp is requested... no
checking if dynamic linking of the frontends is requested... no
checking for termcap... yes
checking if I have to build the internal vector lib... yes
checking for nasm... no
checking for additional optimizations... no
checking for debug options... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libmp3lame/Makefile
config.status: creating libmp3lame/i386/Makefile
config.status: creating libmp3lame/vector/Makefile
config.status: creating frontend/Makefile
config.status: creating mpglib/Makefile
config.status: creating doc/Makefile
config.status: creating doc/html/Makefile
config.status: creating doc/man/Makefile
config.status: creating include/Makefile
config.status: creating Dll/Makefile
config.status: creating misc/Makefile
config.status: creating debian/Makefile
config.status: creating dshow/Makefile
config.status: creating ACM/Makefile
config.status: creating ACM/ADbg/Makefile
config.status: creating ACM/ddk/Makefile
config.status: creating ACM/tinyxml/Makefile
config.status: creating lame.spec
config.status: creating mac/Makefile
config.status: creating macosx/Makefile
config.status: creating macosx/English.lproj/Makefile
config.status: creating macosx/LAME.xcodeproj/Makefile
config.status: creating vc_solution/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
LOG: Done configuring lame
LOG: Number of steps completed : 15
LOG: Building lame - this could take some time
LOG: About to run command: make -j5
make all-recursive
make[1]: Entering directory `/home/USER_ID/kdenlive/src/lame'
Making all in mpglib
make[2]: Entering directory `/home/USER_ID/kdenlive/src/lame/mpglib'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../libmp3lame -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT common.lo -MD -MP -MF .deps/common.Tpo -c -o common.lo common.c
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../libmp3lame -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT dct64_i386.lo -MD -MP -MF .deps/dct64_i386.Tpo -c -o dct64_i386.lo dct64_i386.c
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../libmp3lame -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT decode_i386.lo -MD -MP -MF .deps/decode_i386.Tpo -c -o decode_i386.lo decode_i386.c
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../libmp3lame -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT interface.lo -MD -MP -MF .deps/interface.Tpo -c -o interface.lo interface.c
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../libmp3lame -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT layer1.lo -MD -MP -MF .deps/layer1.Tpo -c -o layer1.lo layer1.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../libmp3lame -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT decode_i386.lo -MD -MP -MF .deps/decode_i386.Tpo -c decode_i386.c -fPIC -DPIC -o .libs/decode_i386.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../libmp3lame -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT layer1.lo -MD -MP -MF .deps/layer1.Tpo -c layer1.c -fPIC -DPIC -o .libs/layer1.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../libmp3lame -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT dct64_i386.lo -MD -MP -MF .deps/dct64_i386.Tpo -c dct64_i386.c -fPIC -DPIC -o .libs/dct64_i386.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../libmp3lame -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT common.lo -MD -MP -MF .deps/common.Tpo -c common.c -fPIC -DPIC -o .libs/common.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../libmp3lame -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT interface.lo -MD -MP -MF .deps/interface.Tpo -c interface.c -fPIC -DPIC -o .libs/interface.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../libmp3lame -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT layer1.lo -MD -MP -MF .deps/layer1.Tpo -c layer1.c -o layer1.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../libmp3lame -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT decode_i386.lo -MD -MP -MF .deps/decode_i386.Tpo -c decode_i386.c -o decode_i386.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../libmp3lame -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT common.lo -MD -MP -MF .deps/common.Tpo -c common.c -o common.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../libmp3lame -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT dct64_i386.lo -MD -MP -MF .deps/dct64_i386.Tpo -c dct64_i386.c -o dct64_i386.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../libmp3lame -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT interface.lo -MD -MP -MF .deps/interface.Tpo -c interface.c -o interface.o >/dev/null 2>&1
mv -f .deps/layer1.Tpo .deps/layer1.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../libmp3lame -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT layer2.lo -MD -MP -MF .deps/layer2.Tpo -c -o layer2.lo layer2.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../libmp3lame -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT layer2.lo -MD -MP -MF .deps/layer2.Tpo -c layer2.c -fPIC -DPIC -o .libs/layer2.o
mv -f .deps/common.Tpo .deps/common.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../libmp3lame -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT layer3.lo -MD -MP -MF .deps/layer3.Tpo -c -o layer3.lo layer3.c
mv -f .deps/dct64_i386.Tpo .deps/dct64_i386.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../libmp3lame -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT tabinit.lo -MD -MP -MF .deps/tabinit.Tpo -c -o tabinit.lo tabinit.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../libmp3lame -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT layer3.lo -MD -MP -MF .deps/layer3.Tpo -c layer3.c -fPIC -DPIC -o .libs/layer3.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../libmp3lame -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT tabinit.lo -MD -MP -MF .deps/tabinit.Tpo -c tabinit.c -fPIC -DPIC -o .libs/tabinit.o
mv -f .deps/decode_i386.Tpo .deps/decode_i386.Plo
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../libmp3lame -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT tabinit.lo -MD -MP -MF .deps/tabinit.Tpo -c tabinit.c -o tabinit.o >/dev/null 2>&1
mv -f .deps/interface.Tpo .deps/interface.Plo
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../libmp3lame -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT layer2.lo -MD -MP -MF .deps/layer2.Tpo -c layer2.c -o layer2.o >/dev/null 2>&1
mv -f .deps/tabinit.Tpo .deps/tabinit.Plo
mv -f .deps/layer2.Tpo .deps/layer2.Plo
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../libmp3lame -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT layer3.lo -MD -MP -MF .deps/layer3.Tpo -c layer3.c -o layer3.o >/dev/null 2>&1
mv -f .deps/layer3.Tpo .deps/layer3.Plo
/bin/sh ../libtool --tag=CC --mode=link gcc -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -o libmpgdecoder.la common.lo dct64_i386.lo decode_i386.lo interface.lo layer1.lo layer2.lo layer3.lo tabinit.lo
libtool: link: ar cru .libs/libmpgdecoder.a .libs/common.o .libs/dct64_i386.o .libs/decode_i386.o .libs/interface.o .libs/layer1.o .libs/layer2.o .libs/layer3.o .libs/tabinit.o
libtool: link: ranlib .libs/libmpgdecoder.a
libtool: link: ( cd ".libs" && rm -f "libmpgdecoder.la" && ln -s "../libmpgdecoder.la" "libmpgdecoder.la" )
make[2]: Leaving directory `/home/USER_ID/kdenlive/src/lame/mpglib'
Making all in libmp3lame
make[2]: Entering directory `/home/USER_ID/kdenlive/src/lame/libmp3lame'
Making all in i386
make[3]: Entering directory `/home/USER_ID/kdenlive/src/lame/libmp3lame/i386'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/USER_ID/kdenlive/src/lame/libmp3lame/i386'
Making all in vector
make[3]: Entering directory `/home/USER_ID/kdenlive/src/lame/libmp3lame/vector'
/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I. -I../../libmp3lame -I../../mpglib -I../.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT xmm_quantize_sub.lo -MD -MP -MF .deps/xmm_quantize_sub.Tpo -c -o xmm_quantize_sub.lo xmm_quantize_sub.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I. -I../../libmp3lame -I../../mpglib -I../.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT xmm_quantize_sub.lo -MD -MP -MF .deps/xmm_quantize_sub.Tpo -c xmm_quantize_sub.c -fPIC -DPIC -o .libs/xmm_quantize_sub.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I. -I../../libmp3lame -I../../mpglib -I../.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT xmm_quantize_sub.lo -MD -MP -MF .deps/xmm_quantize_sub.Tpo -c xmm_quantize_sub.c -o xmm_quantize_sub.o >/dev/null 2>&1
mv -f .deps/xmm_quantize_sub.Tpo .deps/xmm_quantize_sub.Plo
/bin/sh ../../libtool --tag=CC --mode=link gcc -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -o liblamevectorroutines.la xmm_quantize_sub.lo
libtool: link: ar cru .libs/liblamevectorroutines.a .libs/xmm_quantize_sub.o
libtool: link: ranlib .libs/liblamevectorroutines.a
libtool: link: ( cd ".libs" && rm -f "liblamevectorroutines.la" && ln -s "../liblamevectorroutines.la" "liblamevectorroutines.la" )
make[3]: Leaving directory `/home/USER_ID/kdenlive/src/lame/libmp3lame/vector'
make[3]: Entering directory `/home/USER_ID/kdenlive/src/lame/libmp3lame'
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT VbrTag.lo -MD -MP -MF .deps/VbrTag.Tpo -c -o VbrTag.lo VbrTag.c
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT bitstream.lo -MD -MP -MF .deps/bitstream.Tpo -c -o bitstream.lo bitstream.c
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT encoder.lo -MD -MP -MF .deps/encoder.Tpo -c -o encoder.lo encoder.c
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT fft.lo -MD -MP -MF .deps/fft.Tpo -c -o fft.lo fft.c
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT gain_analysis.lo -MD -MP -MF .deps/gain_analysis.Tpo -c -o gain_analysis.lo gain_analysis.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT encoder.lo -MD -MP -MF .deps/encoder.Tpo -c encoder.c -fPIC -DPIC -o .libs/encoder.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT VbrTag.lo -MD -MP -MF .deps/VbrTag.Tpo -c VbrTag.c -fPIC -DPIC -o .libs/VbrTag.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT fft.lo -MD -MP -MF .deps/fft.Tpo -c fft.c -fPIC -DPIC -o .libs/fft.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT bitstream.lo -MD -MP -MF .deps/bitstream.Tpo -c bitstream.c -fPIC -DPIC -o .libs/bitstream.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT gain_analysis.lo -MD -MP -MF .deps/gain_analysis.Tpo -c gain_analysis.c -fPIC -DPIC -o .libs/gain_analysis.o
bitstream.c: In function 'do_gain_analysis':
bitstream.c:992: warning: unused variable 'rov'
bitstream.c:991: warning: unused variable 'rsv'
bitstream.c:990: warning: unused variable 'cfg'
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT fft.lo -MD -MP -MF .deps/fft.Tpo -c fft.c -o fft.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT VbrTag.lo -MD -MP -MF .deps/VbrTag.Tpo -c VbrTag.c -o VbrTag.o >/dev/null 2>&1
mv -f .deps/fft.Tpo .deps/fft.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT id3tag.lo -MD -MP -MF .deps/id3tag.Tpo -c -o id3tag.lo id3tag.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT encoder.lo -MD -MP -MF .deps/encoder.Tpo -c encoder.c -o encoder.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT gain_analysis.lo -MD -MP -MF .deps/gain_analysis.Tpo -c gain_analysis.c -o gain_analysis.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT id3tag.lo -MD -MP -MF .deps/id3tag.Tpo -c id3tag.c -fPIC -DPIC -o .libs/id3tag.o
mv -f .deps/VbrTag.Tpo .deps/VbrTag.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT lame.lo -MD -MP -MF .deps/lame.Tpo -c -o lame.lo lame.c
mv -f .deps/encoder.Tpo .deps/encoder.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT newmdct.lo -MD -MP -MF .deps/newmdct.Tpo -c -o newmdct.lo newmdct.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT lame.lo -MD -MP -MF .deps/lame.Tpo -c lame.c -fPIC -DPIC -o .libs/lame.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT newmdct.lo -MD -MP -MF .deps/newmdct.Tpo -c newmdct.c -fPIC -DPIC -o .libs/newmdct.o
mv -f .deps/gain_analysis.Tpo .deps/gain_analysis.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT presets.lo -MD -MP -MF .deps/presets.Tpo -c -o presets.lo presets.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT presets.lo -MD -MP -MF .deps/presets.Tpo -c presets.c -fPIC -DPIC -o .libs/presets.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT presets.lo -MD -MP -MF .deps/presets.Tpo -c presets.c -o presets.o >/dev/null 2>&1
mv -f .deps/presets.Tpo .deps/presets.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT psymodel.lo -MD -MP -MF .deps/psymodel.Tpo -c -o psymodel.lo psymodel.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT psymodel.lo -MD -MP -MF .deps/psymodel.Tpo -c psymodel.c -fPIC -DPIC -o .libs/psymodel.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT newmdct.lo -MD -MP -MF .deps/newmdct.Tpo -c newmdct.c -o newmdct.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT id3tag.lo -MD -MP -MF .deps/id3tag.Tpo -c id3tag.c -o id3tag.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT lame.lo -MD -MP -MF .deps/lame.Tpo -c lame.c -o lame.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT bitstream.lo -MD -MP -MF .deps/bitstream.Tpo -c bitstream.c -o bitstream.o >/dev/null 2>&1
mv -f .deps/newmdct.Tpo .deps/newmdct.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT quantize.lo -MD -MP -MF .deps/quantize.Tpo -c -o quantize.lo quantize.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT quantize.lo -MD -MP -MF .deps/quantize.Tpo -c quantize.c -fPIC -DPIC -o .libs/quantize.o
mv -f .deps/lame.Tpo .deps/lame.Plo
/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT quantize_pvt.lo -MD -MP -MF .deps/quantize_pvt.Tpo -c -o quantize_pvt.lo quantize_pvt.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT quantize_pvt.lo -MD -MP -MF .deps/quantize_pvt.Tpo -c quantize_pvt.c -fPIC -DPIC -o .libs/quantize_pvt.o
make[3]: *** [id3tag.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT psymodel.lo -MD -MP -MF .deps/psymodel.Tpo -c psymodel.c -o psymodel.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT quantize_pvt.lo -MD -MP -MF .deps/quantize_pvt.Tpo -c quantize_pvt.c -o quantize_pvt.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I. -I../mpglib -I.. -O3 -fomit-frame-pointer -ffast-math -Wall -pipe -MT quantize.lo -MD -MP -MF .deps/quantize.Tpo -c quantize.c -o quantize.o >/dev/null 2>&1
mv -f .deps/quantize_pvt.Tpo .deps/quantize_pvt.Plo
mv -f .deps/bitstream.Tpo .deps/bitstream.Plo
mv -f .deps/quantize.Tpo .deps/quantize.Plo
mv -f .deps/psymodel.Tpo .deps/psymodel.Plo
make[3]: Leaving directory `/home/USER_ID/kdenlive/src/lame/libmp3lame'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/USER_ID/kdenlive/src/lame/libmp3lame'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/USER_ID/kdenlive/src/lame'
make: *** [all] Error 2
ERROR: Unable to build lame
LOG: Process has finished. Reason: FAILURE Some kind of error occured: Unable to build lame

One day later, try again, different error. No compile of libvpx now instead of libmp3lame.
Start code log/error dump
LOG: About to run command: ./configure --prefix=/home/USER_ID/kdenlive/20120817 --enable-vp8 --enable-postproc --enable-multithread --enable-runtime-cpu-detect --disable-install-docs --disable-debug-libs --disable-examples --enable-shared for instructions.
Configuring selected codecs
enabling vp8_encoder
enabling vp8_decoder
Configuring for target 'x86_64-linux-gcc'
enabling x86_64
enabling pic
enabling runtime_cpu_detect
enabling mmx
enabling sse
enabling sse2
enabling sse3
enabling ssse3
enabling sse4_1
using yasm
enabling postproc
enabling unit_tests
Creating makefiles for x86_64-linux-gcc libs
Creating makefiles for x86_64-linux-gcc docs
LOG: Done configuring libvpx
LOG: Number of steps completed : 18
LOG: Building libvpx - this could take some time
LOG: About to run command: make -j5
[CREATE] vpx_rtcd.h
[DEP] test/test_libvpx.cc.d
[DEP] test/resize_test.cc.d
[DEP] test/keyframe_test.cc.d
[DEP] test/encode_test_driver.cc.d
[DEP] test/config_test.cc.d
[DEP] test/altref_test.cc.d
[DEP] third_party/googletest/src/src/gtest-all.cc.d
[DEP] vpx_ports/x86_abi_support.asm.d
[DEP] vpx_ports/emms.asm.d
[DEP] vp8/common/x86/loopfilter_block_sse2.asm.d
[DEP] vp8/common/x86/postproc_sse2.asm.d
[DEP] vp8/common/x86/mfqe_sse2.asm.d
[DEP] vp8/common/x86/postproc_mmx.asm.d
[DEP] vp8/common/x86/sad_sse4.asm.d
[DEP] vp8/common/x86/variance_impl_ssse3.asm.d
[DEP] vp8/common/x86/subpixel_ssse3.asm.d
[DEP] vp8/common/x86/sad_ssse3.asm.d
[DEP] vp8/common/x86/sad_sse3.asm.d
[DEP] vp8/common/x86/iwalsh_sse2.asm.d
[DEP] vp8/common/x86/variance_impl_sse2.asm.d
[DEP] vp8/common/x86/loopfilter_sse2.asm.d
[DEP] vp8/common/x86/subpixel_sse2.asm.d
[DEP] vp8/common/x86/sad_sse2.asm.d
[DEP] vp8/common/x86/recon_sse2.asm.d
[DEP] vp8/common/x86/idctllm_sse2.asm.d
[DEP] vp8/common/x86/variance_impl_mmx.asm.d
[DEP] vp8/common/x86/subpixel_mmx.asm.d
[DEP] vp8/common/x86/sad_mmx.asm.d
[DEP] vp8/common/x86/recon_mmx.asm.d
[DEP] vp8/common/x86/loopfilter_mmx.asm.d
[DEP] vp8/common/x86/iwalsh_mmx.asm.d
[DEP] vp8/common/x86/dequantize_mmx.asm.d
[DEP] vp8/common/x86/idctllm_mmx.asm.d
[DEP] vp8/encoder/x86/ssim_opt.asm.d
[DEP] vp8/encoder/x86/encodeopt.asm.d
[DEP] vp8/encoder/x86/quantize_mmx.asm.d
[DEP] vp8/encoder/x86/quantize_sse4.asm.d
[DEP] vp8/encoder/x86/quantize_ssse3.asm.d
[DEP] vp8/encoder/x86/temporal_filter_apply_sse2.asm.d
[DEP] vp8/encoder/x86/subtract_sse2.asm.d
[DEP] vp8/encoder/x86/quantize_sse2.asm.d
[DEP] vp8/encoder/x86/fwalsh_sse2.asm.d
[DEP] vp8/encoder/x86/dct_sse2.asm.d
[DEP] vp8/encoder/x86/subtract_mmx.asm.d
[DEP] vp8/encoder/x86/dct_mmx.asm.d
[DEP] vpx_ports/x86_cpuid.c.d
[DEP] vpx_config.c.d
[DEP] vp8/decoder/threading.c.d
[DEP] vp8/decoder/onyxd_if.c.d
[DEP] vp8/decoder/detokenize.c.d
[DEP] vp8/decoder/decodframe.c.d
[DEP] vp8/decoder/decodemv.c.d
[DEP] vp8/decoder/dboolhuff.c.d
[DEP] vp8/decoder/asm_dec_offsets.c.d
[DEP] vp8/vp8_dx_iface.c.d
[DEP] vp8/common/x86/postproc_x86.c.d
[DEP] vp8/common/x86/variance_ssse3.c.d
[DEP] vp8/common/x86/variance_sse2.c.d
[DEP] vp8/common/x86/idct_blk_sse2.c.d
[DEP] vp8/common/x86/recon_wrapper_sse2.c.d
[DEP] vp8/common/x86/variance_mmx.c.d
[DEP] vp8/common/x86/idct_blk_mmx.c.d
[DEP] vp8/common/postproc.c.d
[DEP] vp8/common/mfqe.c.d
[DEP] vp8/common/x86/loopfilter_x86.c.d
[DEP] vp8/common/x86/vp8_asm_stubs.c.d
[DEP] vp8/common/x86/filter_x86.c.d
[DEP] vp8/common/treecoder.c.d
[DEP] vp8/common/variance_c.c.d
[DEP] vp8/common/swapyv12buffer.c.d
[DEP] vp8/common/setupintrarecon.c.d
[DEP] vp8/common/sad_c.c.d
[DEP] vp8/common/reconintra4x4.c.d
[DEP] vp8/common/reconintra.c.d
[DEP] vp8/common/reconinter.c.d
[DEP] vp8/common/quant_common.c.d
[DEP] vp8/common/modecont.c.d
[DEP] vp8/common/mbpitch.c.d
[DEP] vp8/common/loopfilter_filters.c.d
[DEP] vp8/common/loopfilter.c.d
[DEP] vp8/common/rtcd.c.d
[DEP] vp8/common/idctllm.c.d
[DEP] vp8/common/idct_blk.c.d
[DEP] vp8/common/generic/systemdependent.c.d
[DEP] vp8/common/findnearmv.c.d
[DEP] vp8/common/extend.c.d
[DEP] vp8/common/filter.c.d
[DEP] vp8/common/entropymv.c.d
[DEP] vp8/common/entropymode.c.d
[DEP] vp8/common/entropy.c.d
[DEP] vp8/common/dequantize.c.d
[DEP] vp8/common/debugmodes.c.d
[DEP] vp8/common/asm_com_offsets.c.d
[DEP] vp8/common/blockd.c.d
[DEP] vp8/common/alloccommon.c.d
[DEP] vp8/encoder/x86/vp8_enc_stubs_sse2.c.d
[DEP] vp8/encoder/x86/denoising_sse2.c.d
[DEP] vp8/encoder/x86/vp8_enc_stubs_mmx.c.d
[DEP] vp8/encoder/temporal_filter.c.d
[DEP] vp8/encoder/treewriter.c.d
[DEP] vp8/encoder/tokenize.c.d
[DEP] vp8/encoder/segmentation.c.d
[DEP] vp8/encoder/rdopt.c.d
[DEP] vp8/encoder/ratectrl.c.d
[DEP] vp8/encoder/quantize.c.d
[DEP] vp8/encoder/psnr.c.d
[DEP] vp8/encoder/picklpf.c.d
[DEP] vp8/encoder/pickinter.c.d
[DEP] vp8/encoder/onyx_if.c.d
[DEP] vp8/encoder/modecosts.c.d
[DEP] vp8/encoder/mcomp.c.d
[DEP] vp8/encoder/lookahead.c.d
[DEP] vp8/encoder/denoising.c.d
[DEP] vp8/encoder/firstpass.c.d
[DEP] vp8/encoder/ethreading.c.d
[DEP] vp8/encoder/encodemv.c.d
[DEP] vp8/encoder/encodemb.c.d
[DEP] vp8/encoder/encodeintra.c.d
[DEP] vp8/encoder/encodeframe.c.d
[DEP] vp8/encoder/dct.c.d
[DEP] vp8/encoder/boolhuff.c.d
[DEP] vp8/encoder/asm_enc_offsets.c.d
[DEP] vp8/encoder/bitstream.c.d
[DEP] vp8/vp8_cx_iface.c.d
[DEP] vpx_scale/generic/gen_scalers.c.d
[DEP] vpx_scale/generic/yv12extend.c.d
[DEP] vpx_scale/generic/yv12config.c.d
[DEP] vpx_scale/generic/vpxscale.c.d
[DEP] vpx_mem/vpx_mem.c.d
[DEP] vpx/src/vpx_image.c.d
[DEP] vpx/src/vpx_codec.c.d
[DEP] vpx/src/vpx_encoder.c.d
[DEP] vpx/src/vpx_decoder.c.d
[GEN] vp8/encoder/asm_enc_offsets.c.S
[CREATE] asm_enc_offsets.asm
[DEP] vp8/encoder/x86/quantize_sse4.asm.d
[DEP] vp8/encoder/x86/quantize_ssse3.asm.d
[DEP] vp8/encoder/x86/quantize_sse2.asm.d
[CC] vpx/src/vpx_codec.c.o
[CC] vpx/src/vpx_decoder.c.o
[CC] vpx/src/vpx_encoder.c.o
[CC] vpx_mem/vpx_mem.c.o
[CC] vpx/src/vpx_image.c.o
[CC] vpx_scale/generic/vpxscale.c.o
[CC] vpx_scale/generic/yv12config.c.o
[CC] vpx_scale/generic/yv12extend.c.o
[CC] vpx_scale/generic/gen_scalers.c.o
[CC] vp8/common/alloccommon.c.o
[CC] vp8/common/asm_com_offsets.c.o
[CC] vp8/common/blockd.c.o
[CC] vp8/common/debugmodes.c.o
[CC] vp8/common/dequantize.c.o
[CC] vp8/common/entropy.c.o
vpx_scale/generic/vpxscale.c: In function 'Scale2D':
vpx_scale/generic/vpxscale.c:547: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See
make[1]: *** [vpx_scale/generic/vpxscale.c.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [.DEFAULT] Error 2
ERROR: Unable to build libvpx
LOG: Process has finished. Reason: FAILURE Some kind of error occured: Unable to build libvpx