Hi,

I tryed the 0.4.0 alpha 2 release, but I got the same error with stk...
Got an idea for me ? :)
Cheers,

Mysth-R

---------- Forwarded message ----------
From: Mysth-R <mysthr21@gmail.com>
Date: 2008/7/4
Subject: [LMMS] : can't compile lmms-0.4.0-alpha with stk options.
To: lmms-users@lists.sourceforge.net


Hi list,
great news for this new version of lmms ! but I got some issues when I want to compile it with-stk and with-fluidsynth options.
I am on Gentoo 64bits with my own compiled 2.6.25.4-rt5 kernel.

Here is the complete ./configure for with-stk option :
./configure --prefix=/usr --without-pulseaudio --without-vst --without-oss --without-sdl --with-linux CFLAGS="-march=nocona -O2 -pipe" CHOST="x86_64-pc-linux-gnu" MAKEOPTS="-j3" CXXFLAGS="${CFLAGS}"

Here is the error with-stk option :

make[3]: Leaving directory `/home/mysthr2/logiciels/musique/lmms-0.4.0-alpha/plugins/stereo_matrix'
Making all in stk
make[3]: Entering directory `/home/mysthr2/logiciels/musique/lmms-0.4.0-alpha/plugins/stk'
Making all in mallets
make[4]: Entering directory `/home/mysthr2/logiciels/musique/lmms-0.4.0-alpha/plugins/stk/mallets'
make  all-am
make[5]: Entering directory `/home/mysthr2/logiciels/musique/lmms-0.4.0-alpha/plugins/stk/mallets'
/bin/sh ../../../libtool --tag=CXX --mode=link g++  -DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml   -DPLUGIN_NAME="malletsstk" -ansi -Wall -Wno-unused-parameter -Wunsafe-loop-optimizations -Wdisabled-optimization -O2 -fPIC  -fno-exceptions -I/usr/local/include  -L/usr/bin -L/usr/local/lib -o libmalletsstk.la -rpath /usr/lib/lmms -L/usr/lib -lstk mallets.lo 
g++ -shared -nostdlib /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/crtbeginS.o  .libs/mallets.o  -L/usr/bin -L/usr/local/lib -L/usr/lib -lstk -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/../../../../lib64/crtn.o  -Wl,-soname -Wl,libmalletsstk.so.0 -o .libs/libmalletsstk.so.0.0.0
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.4/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/libstk.a(BandedWG.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/lib/libstk.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[5]: *** [libmalletsstk.la] Error 1
make[5]: Leaving directory `/home/mysthr2/logiciels/musique/lmms-0.4.0-alpha/plugins/stk/mallets'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/mysthr2/logiciels/musique/lmms-0.4.0-alpha/plugins/stk/mallets'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/mysthr2/logiciels/musique/lmms-0.4.0-alpha/plugins/stk'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/mysthr2/logiciels/musique/lmms-0.4.0-alpha/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mysthr2/logiciels/musique/lmms-0.4.0-alpha'
make: *** [all] Error 2
mysthr2@mysthr2 ~/logiciels/musique/lmms-0.4.0-alpha $

I tried to recompile with -fPIC but this is the same.

Thank you for your help

Mysth-R

--
* ***************************************************************************************
* {^_^} Mysth-R {^_^}
* <= Aide Auditive =>
*
* http://myspace.com/mysthr
* http://myspace.com/aideauditive
* http://mysthr.free.fr/Joomla => Site dédié à l'audio sous Fedora/PlanetCCRMA.
* ***************************************************************************************



--
* ***************************************************************************************
* {^_^} Mysth-R {^_^}
* <= Aide Auditive =>
*
* http://myspace.com/mysthr
* http://myspace.com/aideauditive
* http://mysthr.free.fr/Joomla => Site dédié à l'audio sous Fedora/PlanetCCRMA.
* ***************************************************************************************