Kathy Wills wrote:
I get the following error when trying to build TiMidity++:
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_ESD -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=pentium3 -O2 -funroll-loops -pipe -c `test -f alsaseq_c.c ||
echo './'`alsaseq_c.c
In file included from alsaseq_c.c:48:
/usr/include/sys/asoundlib.h:1:2: warning: #warning This header is
deprecated, use <alsa/asoundlib.h> instead.
alsaseq_c.c: In function `alsa_seq_open':
alsaseq_c.c:117: error: `SND_SEQ_OPEN_IN' undeclared (first use in
this function)
alsaseq_c.c:117: error: (Each undeclared identifier is reported only once
alsaseq_c.c:117: error: for each function it appears in.)
alsaseq_c.c:117: error: too few arguments to function `snd_seq_open'
alsaseq_c.c: In function `alsa_create_port':
alsaseq_c.c:122: error: storage size of `pinfo' isn't known
alsaseq_c.c:128: error: `SND_SEQ_GROUP_DEVICE' undeclared (first use
in this function)
alsaseq_c.c: In function `do_sequencer':
alsaseq_c.c:565: error: `SND_SEQ_EVENT_PORT_USED' undeclared (first
use in this function)
alsaseq_c.c:575: error: `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.12.0-r3/work/TiMidity++-2.12.0-pre1/interface'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/timidity++-2.12.0-r3/work/TiMidity++-2.12.0-pre1/interface'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/timidity++-2.12.0-r3/work/TiMidity++-2.12.0-pre1'
make: *** [all] Error 2
!!! ERROR: media-sound/timidity++-2.12.0-r3 failed.
!!! Function src_compile, Line 75, Exitcode 2
!!! (no error message)
According to gentoo bug #35457 the latest cvs of timidity will build
and install. I emerged cvs and got the cvs version of timidity. I've
never used cvs before and I'm not understanding how to emerge the cvs
version. Do I need to create an ebuild for the cvs version before it
will use the cvs version? I tried creating a tar.bz2 out of the cvs of
timidity. Emerge still wants to use the one that does not build. I'm
not sure what I'm doing wrong.
Never mind. I got it working by creating a new ebuild for it in my
portage overlay directory. It compiled and installed just fine.
--
Kathy Wills
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Genealogy Web Site: http://www.brannanorwills.com +
+ +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
--
[EMAIL PROTECTED] mailing list