[proaudio] zynaddsubfx-20070707-r1: failed to compile

[ Thread Index | Date Index | More lists.tuxfamily.org/proaudio Archives ]


Hello,

I (re-)tried the pro-audio overlay but failed to compile zynaddsubfx
(i have ~x86 keyword):

make[1]: Entering directory
`/var/tmp/portage/media-sound/zynaddsubfx-20070707-r1/work/ZynAddSubFX-20070707/src'
g++ -O6 -Wall -DOS_LINUX -DALSAMIDIIN -DFFTW_VERSION_3 -DASM_F2I_YES
-march=k8 -O2 -pipe -Wall `fltk-config --cflags`  -DJACKAUDIOOUT
`pkg-config --cflags jack` -DUSE_JACKMIDI   -c -o main.o main.C
main.C:285:6: error: #if with no expression In file included
from /usr/include/fltk-1.1/FL/Fl_Menu_Item.H:32,
from /usr/include/fltk-1.1/FL/Fl_Menu_.H:34,
from /usr/include/fltk-1.1/FL/Fl_Choice.H:31, from UI/LFOUI.h:17,
from UI/ADnoteUI.h:14, from UI/MasterUI.h:10, from
main.C:60:

It seems that the culprit is zynaddsubfx-patches-1.tar.gz and in fact
21_zynaddsubfx-autoconnect-jack.patch with a "#elif" line 16 instead
of "#else" i guess:

+#ifdef USE_LASH
+	if (!(lash->isLashResuming()))
+		connectToJackPCM();
+#elif
+	connectToJackPCM();
+#endif

As i do not (yet) remember how to test modified patch and it's quite
late i do not know if it compiles better ;) 
I could provide more info if needed (and will see if what i guessed
works).


Marc.



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/