URC410主板(ATI芯片组),用的是ALC655的声音芯片,查询可以用ALSA的驱动,编译出错

CPU/显卡/打印机/USB设备等硬件问题
回复
shengyiping
帖子: 20
注册时间: 2009-03-22 12:12

URC410主板(ATI芯片组),用的是ALC655的声音芯片,查询可以用ALSA的驱动,编译出错

#1

帖子 shengyiping » 2009-03-22 12:24

UBUNTU8.10装好后不能检测到声卡,于是到ALSA主页下载最新的.19驱动,编译出错,哪位大虾帮我看看以下编译错误。
编译drive和lib时都没问题,就是在编译utils时出错来,以下是出错信息。郁闷,搞了一个月了都没搞定。

ss@ubuntu:~/桌面/downloads/alsa-utils-1.0.19$ sudo make
Making all in include
make[1]: Entering directory `/home/ss/桌面/downloads/alsa-utils-1.0.19/include'
make all-am
make[2]: Entering directory `/home/ss/桌面/downloads/alsa-utils-1.0.19/include'
make[2]: Leaving directory `/home/ss/桌面/downloads/alsa-utils-1.0.19/include'
make[1]: Leaving directory `/home/ss/桌面/downloads/alsa-utils-1.0.19/include'
Making all in alsactl
make[1]: Entering directory `/home/ss/桌面/downloads/alsa-utils-1.0.19/alsactl'
Making all in init
make[2]: Entering directory `/home/ss/桌面/downloads/alsa-utils-1.0.19/alsactl/init'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/ss/桌面/downloads/alsa-utils-1.0.19/alsactl/init'
make[2]: Entering directory `/home/ss/桌面/downloads/alsa-utils-1.0.19/alsactl'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/ss/桌面/downloads/alsa-utils-1.0.19/alsactl'
make[1]: Leaving directory `/home/ss/桌面/downloads/alsa-utils-1.0.19/alsactl'
Making all in alsaconf
make[1]: Entering directory `/home/ss/桌面/downloads/alsa-utils-1.0.19/alsaconf'
Making all in po
make[2]: Entering directory `/home/ss/桌面/downloads/alsa-utils-1.0.19/alsaconf/po'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/ss/桌面/downloads/alsa-utils-1.0.19/alsaconf/po'
make[2]: Entering directory `/home/ss/桌面/downloads/alsa-utils-1.0.19/alsaconf'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/ss/桌面/downloads/alsa-utils-1.0.19/alsaconf'
make[1]: Leaving directory `/home/ss/桌面/downloads/alsa-utils-1.0.19/alsaconf'
Making all in alsamixer
make[1]: Entering directory `/home/ss/桌面/downloads/alsa-utils-1.0.19/alsamixer'
if gcc -DHAVE_CONFIG_H -I. -I. -I../include -I/usr/include/ncurses -DCURSESINC="<ncurses.h>" -g -O2 -MT alsamixer.o -MD -MP -MF ".deps/alsamixer.Tpo" -c -o alsamixer.o alsamixer.c; \
then mv -f ".deps/alsamixer.Tpo" ".deps/alsamixer.Po"; else rm -f ".deps/alsamixer.Tpo"; exit 1; fi
alsamixer.c:122:19: error: ncurses.h: No such file or directory
alsamixer.c:180: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
alsamixer.c: In function ‘mixer_init_draw_contexts’:
alsamixer.c:343: error: ‘COLOR_WHITE’ undeclared (first use in this function)
alsamixer.c:343: error: (Each undeclared identifier is reported only once
alsamixer.c:343: error: for each function it appears in.)
alsamixer.c:343: error: ‘A_BOLD’ undeclared (first use in this function)
alsamixer.c:343: error: ‘COLOR_BLACK’ undeclared (first use in this function)
alsamixer.c:343: error: ‘A_NORMAL’ undeclared (first use in this function)
alsamixer.c:344: error: ‘COLOR_YELLOW’ undeclared (first use in this function)
alsamixer.c:345: error: ‘COLOR_CYAN’ undeclared (first use in this function)
alsamixer.c:348: error: ‘COLOR_GREEN’ undeclared (first use in this function)
alsamixer.c:349: error: ‘COLOR_RED’ undeclared (first use in this function)
alsamixer.c:351: error: ‘A_DIM’ undeclared (first use in this function)
alsamixer.c:352: error: ‘COLOR_BLUE’ undeclared (first use in this function)
alsamixer.c:352: error: ‘A_REVERSE’ undeclared (first use in this function)
alsamixer.c:355: error: ‘ACS_CKBOARD’ undeclared (first use in this function)
alsamixer.c: In function ‘mixer_clear’:
alsamixer.c:394: error: ‘mixer_window’ undeclared (first use in this function)
alsamixer.c:394: error: ‘TRUE’ undeclared (first use in this function)
alsamixer.c: In function ‘mixer_abort’:
alsamixer.c:409: error: ‘mixer_window’ undeclared (first use in this function)
alsamixer.c:411: error: ‘TRUE’ undeclared (first use in this function)
alsamixer.c:413: error: ‘FALSE’ undeclared (first use in this function)
alsamixer.c: In function ‘mixer_cbar_get_pos’:
alsamixer.c:463: error: ‘FALSE’ undeclared (first use in this function)
alsamixer.c:481: error: ‘TRUE’ undeclared (first use in this function)
alsamixer.c: In function ‘draw_volume_bar’:
alsamixer.c:825: error: ‘ACS_LTEE’ undeclared (first use in this function)
alsamixer.c:826: error: ‘ACS_RTEE’ undeclared (first use in this function)
alsamixer.c:828: error: ‘ACS_LLCORNER’ undeclared (first use in this function)
alsamixer.c:829: error: ‘ACS_HLINE’ undeclared (first use in this function)
alsamixer.c:831: error: ‘ACS_LRCORNER’ undeclared (first use in this function)
alsamixer.c:837: error: ‘ACS_VLINE’ undeclared (first use in this function)
alsamixer.c:855: error: ‘ACS_ULCORNER’ undeclared (first use in this function)
alsamixer.c:858: error: ‘ACS_URCORNER’ undeclared (first use in this function)
alsamixer.c: In function ‘draw_playback_switch’:
alsamixer.c:866: error: ‘ACS_LLCORNER’ undeclared (first use in this function)
alsamixer.c:867: error: ‘ACS_HLINE’ undeclared (first use in this function)
alsamixer.c:869: error: ‘ACS_LRCORNER’ undeclared (first use in this function)
alsamixer.c:871: error: ‘ACS_VLINE’ undeclared (first use in this function)
alsamixer.c:874: error: ‘ACS_ULCORNER’ undeclared (first use in this function)
alsamixer.c:877: error: ‘ACS_URCORNER’ undeclared (first use in this function)
alsamixer.c: In function ‘mixer_draw_frame’:
alsamixer.c:1209: error: ‘ACS_VLINE’ undeclared (first use in this function)
alsamixer.c:1214: error: ‘ACS_HLINE’ undeclared (first use in this function)
alsamixer.c:1220: error: ‘ACS_ULCORNER’ undeclared (first use in this function)
alsamixer.c:1221: error: ‘ACS_URCORNER’ undeclared (first use in this function)
alsamixer.c:1222: error: ‘ACS_LLCORNER’ undeclared (first use in this function)
alsamixer.c:1224: error: ‘ACS_LRCORNER’ undeclared (first use in this function)
alsamixer.c: In function ‘mixer_show_text’:
alsamixer.c:1418: error: ‘ACS_LRCORNER’ undeclared (first use in this function)
alsamixer.c:1419: error: ‘ACS_LLCORNER’ undeclared (first use in this function)
alsamixer.c:1420: error: ‘ACS_ULCORNER’ undeclared (first use in this function)
alsamixer.c:1421: error: ‘ACS_URCORNER’ undeclared (first use in this function)
alsamixer.c:1426: error: ‘ACS_VLINE’ undeclared (first use in this function)
alsamixer.c:1428: error: ‘ACS_HLINE’ undeclared (first use in this function)
alsamixer.c:1445: error: ‘ACS_CKBOARD’ undeclared (first use in this function)
alsamixer.c:1446: error: ‘ACS_BLOCK’ undeclared (first use in this function)
alsamixer.c:1447: error: ‘ACS_BOARD’ undeclared (first use in this function)
alsamixer.c: In function ‘recalc_screen_size’:
alsamixer.c:1650: error: ‘mixer_window’ undeclared (first use in this function)
alsamixer.c: In function ‘mixer_init_window’:
alsamixer.c:1854: error: ‘mixer_window’ undeclared (first use in this function)
alsamixer.c:1867: error: ‘TRUE’ undeclared (first use in this function)
alsamixer.c: In function ‘mixer_resize’:
alsamixer.c:1886: error: ‘mixer_window’ undeclared (first use in this function)
alsamixer.c:1886: error: ‘FALSE’ undeclared (first use in this function)
alsamixer.c: In function ‘mixer_iteration’:
alsamixer.c:2010: error: case label does not reduce to an integer constant
alsamixer.c:2026: error: case label does not reduce to an integer constant
alsamixer.c:2031: error: case label does not reduce to an integer constant
alsamixer.c:2035: error: case label does not reduce to an integer constant
alsamixer.c:2037: error: ‘FALSE’ undeclared (first use in this function)
alsamixer.c:2045: error: case label does not reduce to an integer constant
alsamixer.c:2055: error: case label does not reduce to an integer constant
alsamixer.c:2077: error: ‘TRUE’ undeclared (first use in this function)
alsamixer.c:2088: error: ‘KEY_BTAB’ undeclared (first use in this function)
alsamixer.c:2091: error: ‘KEY_A1’ undeclared (first use in this function)
alsamixer.c:2095: error: ‘KEY_A3’ undeclared (first use in this function)
alsamixer.c:2099: error: ‘KEY_C1’ undeclared (first use in this function)
alsamixer.c:2103: error: ‘KEY_C3’ undeclared (first use in this function)
alsamixer.c:2107: error: ‘KEY_RIGHT’ undeclared (first use in this function)
alsamixer.c:2111: error: ‘KEY_LEFT’ undeclared (first use in this function)
alsamixer.c:2115: error: ‘KEY_UP’ undeclared (first use in this function)
alsamixer.c:2120: error: ‘KEY_DOWN’ undeclared (first use in this function)
alsamixer.c:2125: error: ‘KEY_PPAGE’ undeclared (first use in this function)
alsamixer.c:2130: error: ‘KEY_NPAGE’ undeclared (first use in this function)
alsamixer.c:2134: error: ‘KEY_BEG’ undeclared (first use in this function)
alsamixer.c:2135: error: ‘KEY_HOME’ undeclared (first use in this function)
alsamixer.c:2138: error: ‘KEY_LL’ undeclared (first use in this function)
alsamixer.c:2139: error: ‘KEY_END’ undeclared (first use in this function)
alsamixer.c:2246: error: ‘KEY_IC’ undeclared (first use in this function)
alsamixer.c:2251: error: ‘KEY_DC’ undeclared (first use in this function)
make[1]: *** [alsamixer.o] Error 1
make[1]: Leaving directory `/home/ss/桌面/downloads/alsa-utils-1.0.19/alsamixer'
make: *** [all-recursive] Error 1
shengyiping
帖子: 20
注册时间: 2009-03-22 12:12

Re: URC410主板(ATI芯片组),用的是ALC655的声音芯片,查询可以用ALSA的驱动,编译出错

#2

帖子 shengyiping » 2009-03-22 12:27

集成ALC655声效芯片。查询ALSA支持列表,属于ATIIXP SB400系列,可以支持,就是装不上。
ydw1209
帖子: 50
注册时间: 2006-11-03 15:49

Re: URC410主板(ATI芯片组),用的是ALC655的声音芯片,查询可以用ALSA的驱动,编译出错

#3

帖子 ydw1209 » 2009-03-23 16:03

解决办法:
sudo gedit /etc/modprobe.d/options
后面加上
# for soundchip snd_atiixp
options snd-atiixp ac97_codec=0
ydw1209
帖子: 50
注册时间: 2006-11-03 15:49

Re: URC410主板(ATI芯片组),用的是ALC655的声音芯片,查询可以用ALSA的驱动,编译出错

#4

帖子 ydw1209 » 2009-03-23 16:06

主要是因为声卡驱动默认成了 SB400 而不是 AC'97
所以我们所做的就是把SB400驱动屏蔽掉 这样就解决了声卡的问题 我的问题就这样解决了
shengyiping
帖子: 20
注册时间: 2009-03-22 12:12

Re: URC410主板(ATI芯片组),用的是ALC655的声音芯片,查询可以用ALSA的驱动,编译出错

#5

帖子 shengyiping » 2009-03-25 9:14

这几天没时间搞,不过先谢谢各位,有空试验下。utils这个包不能编译到底是怎么回事啊?我基本上所有需要的库都装全来啊。
shengyiping
帖子: 20
注册时间: 2009-03-22 12:12

Re: URC410主板(ATI芯片组),用的是ALC655的声音芯片,查询可以用ALSA的驱动,编译出错

#6

帖子 shengyiping » 2009-03-25 19:17

谢谢ydw,没有编译,现在搞定了,听见了久违的声音了。看了英文的技术文档,8.10版已经不需要/etc/modprob.d/sound 和/etc/modprob.conf这两个配置文件了,也用不到alsaconf这个配置工具了,没看仔细,好像8.04也不需要上述的了。
回复