You are not logged in.
Pages: 1
As the topic title says, LMMS fails to compile from AUR. Here's the output...
Making all in plugins
make[2]: Entering directory `/var/abs/local/lmms/src/lmms-0.2.1/plugins'
Making all in audio_file_processor
make[3]: Entering directory `/var/abs/local/lmms/src/lmms-0.2.1/plugins/audio_file_processor'
make all-am
make[4]: Entering directory `/var/abs/local/lmms/src/lmms-0.2.1/plugins/audio_file_processor'
if /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../src/lib -I. -I/opt/qt4/include/Qt -I/opt/qt4/include -D_REENTRANT -DQT_THREAD_SUPPORT -DPLUGIN_NAME="audiofileprocessor" -g -O2 -floop-optimize2 -fgcse-sm -fgcse-las -ftree-vectorize -ftree-loop-linear -funsafe-loop-optimizations -Wunsafe-loop-optimizations -DSINGLE_SOURCE_COMPILE -ansi -Wall -fno-exceptions -I/usr/local/include -MT audio_file_processor.lo -MD -MP -MF ".deps/audio_file_processor.Tpo" -c -o audio_file_processor.lo audio_file_processor.cpp; \
then mv -f ".deps/audio_file_processor.Tpo" ".deps/audio_file_processor.Plo"; else rm -f ".deps/audio_file_processor.Tpo"; exit 1; fi
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../../src/lib -I. -I/opt/qt4/include/Qt -I/opt/qt4/include -D_REENTRANT -DQT_THREAD_SUPPORT -DPLUGIN_NAME=audiofileprocessor -g -O2 -floop-optimize2 -fgcse-sm -fgcse-las -ftree-vectorize -ftree-loop-linear -funsafe-loop-optimizations -Wunsafe-loop-optimizations -DSINGLE_SOURCE_COMPILE -ansi -Wall -fno-exceptions -I/usr/local/include -MT audio_file_processor.lo -MD -MP -MF .deps/audio_file_processor.Tpo -c audio_file_processor.cpp -fPIC -DPIC -o .libs/audio_file_processor.o
../../include/track.h:511: error: ISO C++ forbids declaration of 'QPtrList' with no type
../../include/track.h:511: error: expected ';' before '<' token
make[4]: *** [audio_file_processor.lo] Error 1
make[4]: Leaving directory `/var/abs/local/lmms/src/lmms-0.2.1/plugins/audio_file_processor'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/abs/local/lmms/src/lmms-0.2.1/plugins/audio_file_processor'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/abs/local/lmms/src/lmms-0.2.1/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/abs/local/lmms/src/lmms-0.2.1'
make: *** [all] Error 2
==> ERROR: Build Failed. Aborting...
You may also want to know that I'm using the non-cvs version of LMMS from AUR, and I am running 64-bit Arch.
Offline
Same situation! It won't compile here.
Offline
make[1]: Entering directory `/tmp/yaourt-tmp-sushi/aur-lmms/lmms/src/lmms-0.2.1'
Making all in buildtools
make[2]: Entering directory `/tmp/yaourt-tmp-sushi/aur-lmms/lmms/src/lmms-0.2.1/buildtools'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -march=i686 -O2 -pipe -floop-optimize2 -fgcse-sm -fgcse-las -ftree-vectorize -ftree-loop-linear -funsafe-loop-optimizations -Wunsafe-loop-optimizations -DSINGLE_SOURCE_COMPILE -ansi -Wall -fno-exceptions -I/usr/local/include -MT bin2res.o -MD -MP -MF ".deps/bin2res.Tpo" -c -o bin2res.o bin2res.cpp; \
then mv -f ".deps/bin2res.Tpo" ".deps/bin2res.Po"; else rm -f ".deps/bin2res.Tpo"; exit 1; fi
[b]cc1plus: error: unrecognized command line option "-floop-optimize2"[/b]
make[2]: *** [bin2res.o] Error 1
make[2]: Leaving directory `/tmp/yaourt-tmp-sushi/aur-lmms/lmms/src/lmms-0.2.1/buildtools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-sushi/aur-lmms/lmms/src/lmms-0.2.1'
make: *** [all] Error 2
==> ERROR: Build Failed. Aborting...
Error: Makepkg was unable to build lmms package.
Album reviews (in german): http://schallwelle.filzo.de
Offline
make[1]: Entering directory `/tmp/yaourt-tmp-sushi/aur-lmms/lmms/src/lmms-0.2.1' Making all in buildtools make[2]: Entering directory `/tmp/yaourt-tmp-sushi/aur-lmms/lmms/src/lmms-0.2.1/buildtools' if g++ -DHAVE_CONFIG_H -I. -I. -I.. -march=i686 -O2 -pipe -floop-optimize2 -fgcse-sm -fgcse-las -ftree-vectorize -ftree-loop-linear -funsafe-loop-optimizations -Wunsafe-loop-optimizations -DSINGLE_SOURCE_COMPILE -ansi -Wall -fno-exceptions -I/usr/local/include -MT bin2res.o -MD -MP -MF ".deps/bin2res.Tpo" -c -o bin2res.o bin2res.cpp; \ then mv -f ".deps/bin2res.Tpo" ".deps/bin2res.Po"; else rm -f ".deps/bin2res.Tpo"; exit 1; fi [b]cc1plus: error: unrecognized command line option "-floop-optimize2"[/b] make[2]: *** [bin2res.o] Error 1 make[2]: Leaving directory `/tmp/yaourt-tmp-sushi/aur-lmms/lmms/src/lmms-0.2.1/buildtools' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/yaourt-tmp-sushi/aur-lmms/lmms/src/lmms-0.2.1' make: *** [all] Error 2 ==> ERROR: Build Failed. Aborting... Error: Makepkg was unable to build lmms package.
Remove the -floop-optimize2 switch from the compile lines. If it can't be done with a configure option, patch the Makefiles. You can use sed:
sed -i 's/-floop-optimize2//g' path/to/Makefile
Do that to all Makefiles.
Offline
Thanks Snowman, I'll try that...
Album reviews (in german): http://schallwelle.filzo.de
Offline
I had to use your sed line on the configure-Script. After that it compiles without problems. Thanks!
Album reviews (in german): http://schallwelle.filzo.de
Offline
Pages: 1