|

楼主 |
发表于 2002-12-18 09:20:09
|
显示全部楼层
我试过。
我从gnome网站上下载了最新的2。0。3的源代码包,在编译esound-0.2.29这个包的时候,configure通过,在make的时候,报如下错误:
In file included from audio.c:25:
audio_alsa.c:23: parse error before "alsa_pinfo"
audio_alsa.c:23: warning: data definition has no type or storage class
audio_alsa.c:24: `SND_PCM_OPEN_PLAYBACK' undeclared here (not in a function)
audio_alsa.c:25: `SND_PCM_MODE_BLOCK' undeclared here (not in a function)
audio_alsa.c:26: `SND_PCM_CHANNEL_PLAYBACK' undeclared here (not in a function)
audio_alsa.c: In function `esd_audio_open':
audio_alsa.c:67: storage size of `hw_info' isn't known
audio_alsa.c:77: `snd_pcm_channel_params_t' undeclared (first use in this functi on)
audio_alsa.c:77: (Each undeclared identifier is reported only once
audio_alsa.c:77: for each function it appears in.)
audio_alsa.c:77: parse error before "params"
audio_alsa.c:78: `snd_pcm_channel_setup_t' undeclared (first use in this functio n)
audio_alsa.c:93: `SND_PCM_OPEN_DUPLEX' undeclared (first use in this function)
audio_alsa.c:136: warning: passing arg 2 of `snd_ctl_open' makes pointer from in teger without a cast
audio_alsa.c:136: too few arguments to function `snd_ctl_open'
audio_alsa.c:163: warning: passing arg 2 of `snd_pcm_open' makes pointer from in teger without a cast
audio_alsa.c:201: `params' undeclared (first use in this function)
audio_alsa.c:207: `SND_PCM_START_FULL' undeclared (first use in this function)
audio_alsa.c:208: `SND_PCM_STOP_STOP' undeclared (first use in this function)
audio_alsa.c:214: request for member `format' in something not a structure or un ion
audio_alsa.c:215: `SND_PCM_SFMT_S16' undeclared (first use in this function)audio_alsa.c:215: `SND_PCM_SFMT_U8' undeclared (first use in this function)
audio_alsa.c:216: request for member `rate' in something not a structure or unio n
audio_alsa.c:219: request for member `voices' in something not a structure or un ion
audio_alsa.c:223: request for member `flags' in something not a structure or uni on
audio_alsa.c:223: `SND_PCM_CHNINFO_INTERLEAVE' undeclared (first use in this fun ction)
audio_alsa.c:224: request for member `interleave' in something not a structure o r union
audio_alsa.c:227: request for member `flags' in something not a structure or uni on
audio_alsa.c:227: `SND_PCM_CHNINFO_NONINTERLEAVE' undeclared (first use in this function)
audio_alsa.c:228: request for member `interleave' in something not a structure o r union
audio_alsa.c:249: `setup' undeclared (first use in this function)
audio_alsa.c: In function `esd_audio_write':
audio_alsa.c:349: `snd_pcm_channel_status_t' undeclared (first use in this funct ion)
audio_alsa.c:349: parse error before "status"
audio_alsa.c:361: `status' undeclared (first use in this function)
audio_alsa.c:361: `SND_PCM_CHANNEL_PLAYBACK' undeclared (first use in this funct ion)
make[2]: *** [audio.lo] Error 1
make[2]: Leaving directory `/root/soft/gnome/esound-0.2.29'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/soft/gnome/esound-0.2.29'
make: *** [all-recursive-am] Error 2
不知道是怎么回事,是不是gnome包的安装的先后顺序也有关系? |
|