免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3143 | 回复: 1
打印 上一主题 下一主题

编译 realtek 声卡驱动 的 alsa-driver-1.0.14-4.06 错误 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2008-03-26 21:13 |只看该作者 |倒序浏览
下载了realtek 公司网站上的声卡驱动(地址:ftp://202.65.194.211/pc/audio/realtek-linux-audiopack-4.06a.tar.bz2),放在 /root 目录下, 解压缩后出现三个 压缩文件 分别为 alsa-driver-1.0.14-4.06a.tar.bz2 ,alsa-lib-1.0.14.tar.bz2,alsa-utils-1.0.14.tar.bz2  ,分别进行解压缩 ,进入alsa-driver-1.0.14-4.06a目录下进行编译出错
错误提示如下:
make[2]: Entering directory `/root/realtek-linux-audiopack-4.06a/alsa-driver-1.0.14-4.06a/pci/riptide'
gcc -D__KERNEL__ -DMODULE=1 -I/root/realtek-linux-audiopack-4.06a/alsa-driver-1.0.14-4.06a/include  -I/lib/modules/2.4.20-8/build/include -O2 -mpreferred-stack-boundary=2 -march=i686 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD -nostdinc -iwithprefix include -DMODVERSIONS -include /lib/modules/2.4.20-8/build/include/linux/modversions.h  -DKBUILD_BASENAME=riptide   -c -o riptide.o riptide.c
riptide.c:1282:1: directives may not be used inside a macro argument
riptide.c:1281:68: unterminated argument list invoking macro "request_firmware"
riptide.c: In function `riptide_reset':
riptide.c:1283: `request_firmware' undeclared (first use in this function)
riptide.c:1283: (Each undeclared identifier is reported only once
riptide.c:1283: for each function it appears in.)
riptide.c:1283: parse error before "pci_name"
riptide.c: At top level:
riptide.c:1303: parse error before numeric constant
riptide.c:1304: parse error before numeric constant
riptide.c:1307: parse error before numeric constant
riptide.c:1308: parse error before numeric constant
riptide.c:1309: parse error before numeric constant
riptide.c:1310: parse error before numeric constant
riptide.c:1311: parse error before numeric constant
riptide.c:1313: parse error before numeric constant
riptide.c:1313: warning: type defaults to `int' in declaration of `writearm'
riptide.c:1313: warning: function declaration isn't a prototype
riptide.c:1313: warning: data definition has no type or storage class
riptide.c:1314: parse error before numeric constant
riptide.c:1314: warning: type defaults to `int' in declaration of `writearm'
riptide.c:1314: warning: function declaration isn't a prototype
riptide.c:1314: warning: data definition has no type or storage class
riptide.c:1317: parse error before numeric constant
riptide.c:1318: parse error before numeric constant
riptide.c:1318: warning: type defaults to `int' in declaration of `setmixer'
riptide.c:1318: warning: function declaration isn't a prototype
riptide.c:1318: warning: data definition has no type or storage class
riptide.c:1319: parse error before '(' token
riptide.c:1322: parse error before numeric constant
riptide.c:1323: parse error before numeric constant
riptide.c:1323: warning: type defaults to `int' in declaration of `setmixer'
riptide.c:1323: warning: function declaration isn't a prototype
riptide.c:1323: warning: data definition has no type or storage class
riptide.c:1324: parse error before numeric constant
riptide.c:1324: warning: type defaults to `int' in declaration of `writearm'
riptide.c:1324: warning: function declaration isn't a prototype
riptide.c:1324: warning: data definition has no type or storage class
riptide.c:1325: parse error before numeric constant
riptide.c:1325: warning: type defaults to `int' in declaration of `writearm'
riptide.c:1325: warning: function declaration isn't a prototype
riptide.c:1325: warning: data definition has no type or storage class
riptide.c:1326: parse error before numeric constant
riptide.c:1326: warning: type defaults to `int' in declaration of `writearm'
riptide.c:1326: warning: function declaration isn't a prototype
riptide.c:1326: warning: data definition has no type or storage class
riptide.c:1327: parse error before '(' token
riptide.c:1331: parse error before numeric constant
riptide.c:1333: parse error before numeric constant
riptide.c:1334: parse error before numeric constant
riptide.c:1335: parse error before '(' token
riptide.c:1336: parse error before '(' token
riptide.c:1337: parse error before '(' token
riptide.c:1339: parse error before '(' token
riptide.c:1340: parse error before '(' token
riptide.c:1341: parse error before '(' token
riptide.c:595: warning: `lbus_play_opl3' defined but not used
riptide.c:598: warning: `lbus_play_modem' defined but not used
riptide.c:601: warning: `lbus_play_i2s' defined but not used
riptide.c:604: warning: `lbus_play_out' defined but not used
riptide.c:607: warning: `lbus_play_outhp' defined but not used
riptide.c:836: warning: `writearm' defined but not used
make[2]: *** [riptide.o] Error 1
make[2]: Leaving directory `/root/realtek-linux-audiopack-4.06a/alsa-driver-1.0.14-4.06a/pci/riptide'
make[1]: *** [_modsubdir_riptide] Error 2
make[1]: Leaving directory `/root/realtek-linux-audiopack-4.06a/alsa-driver-1.0.14-4.06a/pci'
make: *** [compile] Error 1


我的环境为redhat9.0 内核为redhat9.0标准内核2.4.20-8,编译器和链接库等都是redhat9.0自带的编译器 版本为3.2.2-5

希望有高手指教!先谢谢了!

论坛徽章:
0
2 [报告]
发表于 2008-04-13 16:14 |只看该作者
试试更新的版本,我在realtek上下的版本是realtek-linux-audiopack-5.01.tar.bz2,如果还不行,升级你的alsa到更新版本,许多都是1.0.16了,我就是这样搞的。安装最终还是报错,但使用正常。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP