-------------------------------------------------------- amSynth 1.0.0 | | GTK-- version......................................... : 1.2.9 | | Build with OSS support................................ : yes | Build with ALSA support............................... : no | Build with JACK support............................... : no | | Use libsndfile for .wav output support................ : yes configure complete. now type 'make' to build amSynth and then, as root, 'make install' to install make all-recursive make[1]: Entering directory `/var/tmp/portage/amsynth-1.0.0/work/amSynth-1.0.0' Making all in src make[2]: Entering directory `/var/tmp/portage/amsynth-1.0.0/work/amSynth-1.0.0/src' Making all in drivers make[3]: Entering directory `/var/tmp/portage/amsynth-1.0.0/work/amSynth-1.0.0/src/drivers' if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -O3 -ffast-math -fno-exceptions -fomit-frame-pointer -Dwith_oss -Dwith_sndfile -MT OSSMidiDriver.o -MD -MP -MF ".deps/OSSMidiDriver.Tpo" -c -o OSSMidiDriver.o OSSMidiDriver.cc; \ then mv -f ".deps/OSSMidiDriver.Tpo" ".deps/OSSMidiDriver.Po"; else rm -f ".deps/OSSMidiDriver.Tpo"; exit 1; fi if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -O3 -ffast-math -fno-exceptions -fomit-frame-pointer -Dwith_oss -Dwith_sndfile -MT OSSAudioDriver.o -MD -MP -MF ".deps/OSSAudioDriver.Tpo" -c -o OSSAudioDriver.o OSSAudioDriver.cc; \ then mv -f ".deps/OSSAudioDriver.Tpo" ".deps/OSSAudioDriver.Po"; else rm -f ".deps/OSSAudioDriver.Tpo"; exit 1; fi if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -O3 -ffast-math -fno-exceptions -fomit-frame-pointer -Dwith_oss -Dwith_sndfile -MT ALSAMidiDriver.o -MD -MP -MF ".deps/ALSAMidiDriver.Tpo" -c -o ALSAMidiDriver.o ALSAMidiDriver.cc; \ then mv -f ".deps/ALSAMidiDriver.Tpo" ".deps/ALSAMidiDriver.Po"; else rm -f ".deps/ALSAMidiDriver.Tpo"; exit 1; fi if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -O3 -ffast-math -fno-exceptions -fomit-frame-pointer -Dwith_oss -Dwith_sndfile -MT ALSAAudioDriver.o -MD -MP -MF ".deps/ALSAAudioDriver.Tpo" -c -o ALSAAudioDriver.o ALSAAudioDriver.cc; \ then mv -f ".deps/ALSAAudioDriver.Tpo" ".deps/ALSAAudioDriver.Po"; else rm -f ".deps/ALSAAudioDriver.Tpo"; exit 1; fi ALSAMidiDriver.cc: In member function `virtual int ALSAMidiDriver::close()': ALSAMidiDriver.cc:29: error: `seq_handle' undeclared (first use this function) ALSAMidiDriver.cc:29: error: (Each undeclared identifier is reported only once for each function it appears in.) ALSAMidiDriver.cc:29: error: `snd_seq_close' undeclared (first use this function) make[3]: *** [ALSAMidiDriver.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/amsynth-1.0.0/work/amSynth-1.0.0/src/drivers' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/amsynth-1.0.0/work/amSynth-1.0.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/amsynth-1.0.0/work/amSynth-1.0.0' make: *** [all] Error 2 !!! ERROR: media-sound/amsynth-1.0.0 failed. !!! Function src_compile, Line 42, Exitcode 2 !!! (no error message)
fixed in cvs versions of amSynth (i believe)
Modify the ebuild in the overlay and let it patch with the one in the attachment.
Created attachment 46234 [details, diff] ALSAMidiDriver.cc Patches the Sources, to let it compile without ALSA if defined.
I think it's a Makefile issue... I doubt it should even be compiling ALSAMidiDriver.cc... but I haven't gotten to looking at the source yet...
bumping back to sound@
Though I must admit that a fix to the Makefile as Jeremy proposed would sound more logical I included the patch posted by Johannes Weiner since that one is same to the fix in amSynth cvs repository. amsynth-1.0.0-r1 is in portage cvs, problem should be cured now; closing this bug.