Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35522 - dosbox compilation fails when using -alsa (alsa 1.0)
Summary: dosbox compilation fails when using -alsa (alsa 1.0)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on: 35412
Blocks:
  Show dependency tree
 
Reported: 2003-12-10 05:57 UTC by Andrej Kacian (RETIRED)
Modified: 2003-12-12 07:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrej Kacian (RETIRED) gentoo-dev 2003-12-10 05:57:37 UTC
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
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2003-12-10 10:43:04 UTC

*** This bug has been marked as a duplicate of 35412 ***
Comment 2 SpanKY gentoo-dev 2003-12-10 12:16:25 UTC
make a patchz0r
Comment 3 SpanKY gentoo-dev 2003-12-11 22:08:32 UTC
fixed in cvsz0r