LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1013|回复: 3

编译alsa出错

[复制链接]
发表于 2005-6-24 01:53:37 | 显示全部楼层 |阅读模式
2.6.11的内核和1.09b的alsa
直接
./configure
make
出现下面的错误:(alsa放在/disk2/program里)
.................
...............
  CC [M]  /disk2/program/alsa-driver-1.0.9b/i2c/other/ak4114.o
In file included from /disk2/program/alsa-driver-1.0.9b/i2c/other/ak4114.c:1:
/disk2/program/alsa-driver-1.0.9b/i2c/other/../../alsa-kernel/i2c/other/ak4114.c:109:49: macro "create_workqueue" requires 2 arguments, but only 1 given
In file included from /disk2/program/alsa-driver-1.0.9b/i2c/other/ak4114.c:1:
/disk2/program/alsa-driver-1.0.9b/i2c/other/../../alsa-kernel/i2c/other/ak4114.c: In function `snd_ak4114_create':
/disk2/program/alsa-driver-1.0.9b/i2c/other/../../alsa-kernel/i2c/other/ak4114.c:109: error: `create_workqueue' undeclared (first use in this function)
/disk2/program/alsa-driver-1.0.9b/i2c/other/../../alsa-kernel/i2c/other/ak4114.c:109: error: (Each undeclared identifier is reported only once
/disk2/program/alsa-driver-1.0.9b/i2c/other/../../alsa-kernel/i2c/other/ak4114.c:109: error: for each function it appears in.)

找了一下精华区,没找到原因
哪位知道帮忙一下,编译了好几次了
发表于 2005-6-25 06:07:06 | 显示全部楼层
linux下根本用不着装这个,主要的声卡驱动都是现成的
回复 支持 反对

使用道具 举报

发表于 2005-6-25 10:13:31 | 显示全部楼层
Post by mascot
linux下根本用不着装这个,主要的声卡驱动都是现成的

内核里就有是没错,不过自己DIY新版本的ALSA驱动也是很有成就感的:P
楼主换个GCC版本试试
回复 支持 反对

使用道具 举报

发表于 2005-6-26 12:33:05 | 显示全部楼层
alsa的安装是分几部分的吧。以前的就是这样。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表