2 hanyutiannan hanyutiannan 于 2014.07.03 11:51 提问

ubuntu14.04 32位 编译展讯8810平台版本amixer.c的问题

看第一条error是说没有找到 alsa/asoundlib.h头文件,但是从别的文件夹拷贝过来放在alsa下编译还是出现同样的错误 请大神帮忙分析下是什么原因?谢谢

external/sprd/alsa/alsa-utils/amixer/amixer.c:30:28: error: alsa/asoundlib.h: No such file or directory
external/sprd/alsa/alsa-utils/amixer/amixer.c: In function 'info':
external/sprd/alsa/alsa-utils/amixer/amixer.c:86: error: 'snd_ctl_t' undeclared (first use in this function)
external/sprd/alsa/alsa-utils/amiexternal/sprd/alsa/alsa-utils/amixer/amixer.c:30:28: error: alsa/asoundlib.h: No such file or directory
external/sprd/alsa/alsa-utils/amixer/amixer.c: In function 'info':
external/sprd/alsa/alsa-utils/amixer/amixer.c:86: error: 'snd_ctl_t' undeclared (first use in this function)
external/sprd/alsa/alsa-utils/amixer/amixer.c:86: error: (Each undeclared identifier is reported only once
external/sprd/alsa/alsa-utils/amixer/amixer.c:86: error: for each function it appears in.)
external/sprd/alsa/alsa-utils/amixer/amixer.c:86: error: 'handle' undeclared (first use in this function)
external/sprd/alsa/alsa-utils/amixer/amixer.c:87: error: 'snd_mixer_t' undeclared (first use in this function)
external/sprd/alsa/alsa-utils/amixer/amixer.c:87: error: 'mhandle' undeclared (first use in this function)xer/amixer.c:86: error: (Each undeclared identifier is reported only once
external/sprd/alsa/alsa-utils/amixer/amixer.c:86: error: for each function it appears in.)
external/sprd/alsa/alsa-utils/amixer/amixer.c:86: error: 'handle' undeclared (first use in this function)
external/sprd/alsa/alsa-utils/amixer/amixer.c:87: error: 'snd_mixer_t' undeclared (first use in this function)
external/sprd/alsa/alsa-utils/amixer/amixer.c:87: error: 'mhandle' undeclared (first use in this function)
省略。。。。。

Csdn user default icon
上传中...
上传图片
插入图片
准确详细的回答,更有利于被提问者采纳,从而获得C币。复制、灌水、广告等回答会被删除,是时候展现真正的技术了!