I get this error when trying to build timidity++2.11.1-r2: Seems to be ALSA related. i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../timidity -I../libarc -I../utils -I/usr/local/include -I/usr/X11R6/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -DENABLE_SHERRY -DAU_OSS -DAU_ALSA -DAU_VORBIS -I/usr/include -DSHARED_LIB_EXT=\".so\" -DSHLIB_DIR=\"/usr/lib/timidity\" -DSUPPORT_SOCKET -DSUPPORT_SOUNDSPEC -DWRDT_X -DPKGDATADIR=\"/usr/share/timidity\" -DPKGLIBDIR=\"/usr/lib/timidity\" -DDEFAULT_PATH=\"/usr/share/timidity\" -DTIMIDITY_OUTPUT_ID=\"s\" -march=i686 -O3 -pipe -c `test -f alsaseq_c.c || echo './'`alsaseq_c.c In file included from alsaseq_c.c:124: /usr/include/sys/asoundlib.h:1: warning: #warning This header is deprecated, use <alsa/asoundlib.h> instead. alsaseq_c.c: In function `ctl_pass_playing_list': alsaseq_c.c:262: storage size of `pinfo' isn't known alsaseq_c.c:273: `SND_SEQ_OPEN' undeclared (first use in this function) alsaseq_c.c:273: (Each undeclared identifier is reported only once alsaseq_c.c:273: for each function it appears in.) alsaseq_c.c:273: too few arguments to function `snd_seq_open' alsaseq_c.c:282: storage size of `pinfo' isn't known alsaseq_c.c:287: `SND_SEQ_GROUP_DEVICE' undeclared (first use in this function) alsaseq_c.c: In function `do_sequencer': alsaseq_c.c:467: `SND_SEQ_EVENT_PORT_USED' undeclared (first use in this function) alsaseq_c.c:481: `SND_SEQ_EVENT_PORT_UNUSED' undeclared (first use in this function) make[3]: *** [alsaseq_c.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/timidity++-2.11.1-r2/work/TiMidity++-2.11.1/interface' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/timidity++-2.11.1-r2/work/TiMidity++-2.11.1/interface' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/timidity++-2.11.1-r2/work/TiMidity++-2.11.1' make: *** [all] Error 2 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 57, Exitcode 2 !!! (no error message) !!! emerge aborting on /usr/portage/media-sound/timidity++/timidity++-2.11.1-r2.ebuild .
*** This bug has been marked as a duplicate of 2802 ***