Following is an excerpt from `USE="-alsa" emerge -v dosbox`
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -O2 -mcpu=i686 -march=i686 -pipe -fomit-frame-pointer -funroll-loops -I/usr/include/SDL -D_REENTRANT -MT midi.o -MD -MP -MF ".deps/midi.Tpo" \
-c -o midi.o `test -f 'midi.cpp' || echo './'`midi.cpp; \
then mv -f ".deps/midi.Tpo" ".deps/midi.Po"; \
else rm -f ".deps/midi.Tpo"; exit 1; \
fi
In file included from midi.cpp:91:
midi_alsa.h: In member function `void MidiHandler_alsa::send_event(int)':
midi_alsa.h:46: error: `snd_seq_flush_output' undeclared (first use this
function)
midi_alsa.h:46: error: (Each undeclared identifier is reported only once for
each function it appears in.)
midi_alsa.h: In member function `virtual bool MidiHandler_alsa::Open(const
char*)':
midi_alsa.h:143: error: `SND_SEQ_OPEN' undeclared (first use this function)
midi_alsa.h:150: error: `snd_seq_set_client_group' undeclared (first use this
function)
make[3]: *** [midi.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/dosbox-0.60/work/dosbox-0.60/src/gui'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/dosbox-0.60/work/dosbox-0.60/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dosbox-0.60/work/dosbox-0.60'
make: *** [all] Error 2
!!! ERROR: games-emulation/dosbox-0.60 failed.
!!! Function src_compile, Line 25, Exitcode 2
!!! emake failed