You are not logged in.

#1 2007-04-19 00:29:14

Winblowz99
Member
Registered: 2007-03-24
Posts: 27

LMMS fails to compile

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

#2 2007-07-05 07:54:09

synthead
Member
Registered: 2006-05-09
Posts: 1,337

Re: LMMS fails to compile

Same situation!  It won't compile here.

Offline

#3 2007-07-07 03:50:38

High|ander
Member
From: Skövde, Sweden
Registered: 2005-10-28
Posts: 188
Website

Re: LMMS fails to compile

Do you guys have QT4 installed?


When death smiles at you, all you can do is smile back!
Blog

Offline

#4 2007-07-08 10:50:18

Susu
Member
From: Germany
Registered: 2005-11-11
Posts: 191
Website

Re: LMMS fails to compile

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

#5 2007-07-09 17:29:00

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: LMMS fails to compile

Susu wrote:
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

#6 2007-07-09 18:27:45

Susu
Member
From: Germany
Registered: 2005-11-11
Posts: 191
Website

Re: LMMS fails to compile

Thanks Snowman, I'll try that...


Album reviews (in german): http://schallwelle.filzo.de

Offline

#7 2007-07-09 19:02:16

Susu
Member
From: Germany
Registered: 2005-11-11
Posts: 191
Website

Re: LMMS fails to compile

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

Board footer

Powered by FluxBB