As per summary. The currently-masked alsa-lib version has a midi useflag that I introduced to reduce the size of the library itself. When this useflag is disabled (the default is enabled), the snd_seq_* functions won't be in the library. The snd_seq_* functions are needed by dosbox to be able to compile: /var/tmp/portage/games-emulation/dosbox-0.70/work/dosbox-0.70/src/gui/midi_alsa.h:48: undefined reference to `snd_seq_event_output' /var/tmp/portage/games-emulation/dosbox-0.70/work/dosbox-0.70/src/gui/midi_alsa.h:50: undefined reference to `snd_seq_drain_output' gui/libgui.a(midi.o): In function `MidiHandler_alsa::Close()': /var/tmp/portage/games-emulation/dosbox-0.70/work/dosbox-0.70/src/gui/midi_alsa.h:122: undefined reference to `snd_seq_close' gui/libgui.a(midi.o): In function `MidiHandler_alsa::Open(char const*)': /var/tmp/portage/games-emulation/dosbox-0.70/work/dosbox-0.70/src/gui/midi_alsa.h:143: undefined reference to `snd_seq_open' /var/tmp/portage/games-emulation/dosbox-0.70/work/dosbox-0.70/src/gui/midi_alsa.h:148: undefined reference to `snd_seq_client_id' /var/tmp/portage/games-emulation/dosbox-0.70/work/dosbox-0.70/src/gui/midi_alsa.h:149: undefined reference to `snd_seq_set_client_name' /var/tmp/portage/games-emulation/dosbox-0.70/work/dosbox-0.70/src/gui/midi_alsa.h:157: undefined reference to `snd_seq_create_simple_port' /var/tmp/portage/games-emulation/dosbox-0.70/work/dosbox-0.70/src/gui/midi_alsa.h:166: undefined reference to `snd_seq_connect_to' /var/tmp/portage/games-emulation/dosbox-0.70/work/dosbox-0.70/src/gui/midi_alsa.h:159: undefined reference to `snd_seq_close' /var/tmp/portage/games-emulation/dosbox-0.70/work/dosbox-0.70/src/gui/midi_alsa.h:167: undefined reference to `snd_seq_close' gui/libgui.a(midi.o): In function `MidiHandler_alsa::send_event(int)': /var/tmp/portage/games-emulation/dosbox-0.70/work/dosbox-0.70/src/gui/midi_alsa.h:48: undefined reference to `snd_seq_event_output' /var/tmp/portage/games-emulation/dosbox-0.70/work/dosbox-0.70/src/gui/midi_alsa.h:48: undefined reference to `snd_seq_event_output' /var/tmp/portage/games-emulation/dosbox-0.70/work/dosbox-0.70/src/gui/midi_alsa.h:50: undefined reference to `snd_seq_drain_output' I'm attaching an ebuild patch for 0.70 that adds the (almost standard now) check for the midi useflag on alsa-lib. Thanks, Diego
Created attachment 112005 [details, diff] alsa-lib midi check patch
in portage. thanks for the bug report and patch.