Jakub Krajcovic wrote:

Hi folks,

I emerged timidity++ and one of the use flags was alsa. I have alsa 1.0.1 installed 
and I get this error when trying to merge:
        
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\"  -O2 
-march=athlon-xp -pipe -msse -mmmx -m3dnow -fomit-frame-pointer -c `test -f server_c.c || echo './'`server_c.c
source='alsaseq_c.c' object='alsaseq_c.o' libtool=no \
depfile='.deps/alsaseq_c.Po' tmpdepfile='.deps/alsaseq_c.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
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\"  -O2 
-march=athlon-xp -pipe -msse -mmmx -m3dnow -fomit-frame-pointer -c `test -f alsaseq_c.c || echo './'`alsaseq_c.c
alsaseq_c.c: In function `alsa_seq_open':
alsaseq_c.c:117: `SND_SEQ_OPEN_IN' undeclared (first use in this function)
alsaseq_c.c:117: (Each undeclared identifier is reported only once
alsaseq_c.c:117: for each function it appears in.)
alsaseq_c.c:117: too few arguments to function `snd_seq_open'
alsaseq_c.c: In function `alsa_create_port':
alsaseq_c.c:122: storage size of `pinfo' isn't known
alsaseq_c.c:128: `SND_SEQ_GROUP_DEVICE' undeclared (first use in this function)
alsaseq_c.c: In function `do_sequencer':
alsaseq_c.c:565: `SND_SEQ_EVENT_PORT_USED' undeclared (first use in this function)
alsaseq_c.c:575: `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)


Now, I mailed this to Jaroslav Kysela (the ALSA maintainer and he pointed me to this link: http://www.mail-archive.com/[EMAIL PROTECTED]/msg09892.html

and in accordance with this mail I added the #define's to my alsa/asoundlib.h file. Doing this actually fixed ALSA compilation error I had with SDL-1.2.6, (that was great) but the timidity++ error is still there...

Does anyone have a clue? To me it looks like an alsa problem... but that'a about all I can say :-(


See http://bugs.gentoo.org/show_bug.cgi?id=35457. I fixed the same problem by getting the cvs of timidity and emerging it. I had to make a tar.bz2 file out of the cvs. It emerged without a problem after changed the ebuild and put it in my portage overlay directory.

--
Kathy Wills

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Genealogy Web Site: http://www.brannanorwills.com               +
+                                                                   +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


-- [EMAIL PROTECTED] mailing list



Reply via email to