[kk@localhost dosbox-0.60]$ ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make sets $(MAKE)... (cached) yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.2.0... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking if environ can be included... no
checking if environ can be linked... yes
checking if compiler allows __attribute__... yes
checking for ALSA CFLAGS...
checking for ALSA LDFLAGS... -lasound -lm -ldl -lpthread
checking for libasound headers version >= 0.9.0... found.
checking for snd_ctl_open in -lasound... yes
checking whether byte ordering is bigendian... no
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for png_check_sig in -lpng... yes
checking SDL/SDL_net.h usability... yes
checking SDL/SDL_net.h presence... yes
checking for SDL/SDL_net.h... yes
checking for SDLNet_Init in -lSDL_net... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/cpu/Makefile
config.status: creating src/cpu/core_16/Makefile
config.status: creating src/cpu/core_full/Makefile
config.status: creating src/cpu/core_normal/Makefile
config.status: creating src/debug/Makefile
config.status: creating src/dos/Makefile
config.status: creating src/fpu/Makefile
config.status: creating src/gui/Makefile
config.status: creating src/hardware/Makefile
config.status: creating src/ints/Makefile
config.status: creating src/misc/Makefile
config.status: creating src/shell/Makefile
config.status: creating src/platform/Makefile
config.status: creating src/platform/visualc/Makefile
config.status: creating visualc/Makefile
config.status: creating include/Makefile
config.status: creating docs/Makefile
config.status: creating config.h
config.status: executing depfiles commands
下面是make的出错信息:
In file included from midi.cpp:91:
midi_alsa.h: In member function `void MidiHandler_alsa::send_event(int)':
midi_alsa.h:46: `snd_seq_flush_output' undeclared (first use this function)
midi_alsa.h:46: (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: `SND_SEQ_OPEN' undeclared (first use this function)
midi_alsa.h:150: `snd_seq_set_client_group' undeclared (first use this
function)
make[3]: *** [midi.o] Error 1
make[3]: Leaving directory `/kk/dosbox-0.60/src/gui'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/kk/dosbox-0.60/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/kk/dosbox-0.60'
make: *** [all] Error 2
我的linux的确不能播放midi,那要怎么解决啊?是声卡驱动的问题吗?
rh9 alsa1.0.3 vt8235
好了!装了rpm包,提示缺少alsa-lib奇怪,我装的是alsa1.0.3啊。找到了一alsa-lib_0.9.8-1.fr_i386.rpm
装上以后rpm包可以安装了,每次启动时提示ALSA:Can't subscribe to MIDI port (65:0)
MIDI:Opened device:none
试了一下dos版的仙剑一,声音没问题