LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: whz81

aureal声卡8820,在magiclinux1.1,rh9下安装方法

[复制链接]
发表于 2003-7-17 08:03:52 | 显示全部楼层
这个问题可能是出在兄弟没有改文章上所说的配制文件.
如果安装起来有困难.建议用一下OSS来试试看.

http://www.linuxsir.cn/forum.php?mod=viewthread&tid=24578
发表于 2003-7-19 20:40:38 | 显示全部楼层
谢谢北南!
  1.上面的编译错误就是在改完配置文件编译时出现的。
  2.装完OSS-397k后,检测声卡时提示“不支持AU8810”。
  3.编译alsa-0.9.5时提示“未知声卡”。
    我该怎么办呢?
发表于 2003-7-24 20:16:22 | 显示全部楼层
修改Makefile文件
原:MODULE_DIR = /lib/modules/$(KERNEL_VERSION)/drivers/sound
改为:MODULE_DIR = /lib/modules/$(KERNEL_VERSION)/kernel/drivers/sound

[root@localhost aureal]# make
gcc -M -I/lib/modules/2.4.20-8/build/include au_vortex.c > au_vortex.dep
In file included from /lib/modules/2.4.20-8/build/include/linux/sched.h:104,
                 from au_vortex.h:58,
                 from au_vortex.c:81:
/lib/modules/2.4.20-8/build/include/asm/processor.h:267:1: warning: "EISA_bus" r
edefined
In file included from /lib/modules/2.4.20-8/build/include/linux/modversions.h:13
2,
                 from au_vortex.h:50,
                 from au_vortex.c:81:
/lib/modules/2.4.20-8/build/include/linux/modules/i386_ksyms.ver:92:1: warning:
this is the location of the previous definition
gcc -M -I/lib/modules/2.4.20-8/build/include au_vortex.c | sed s/\\.o/.dep/ >> a
u_vortex.dep
In file included from /lib/modules/2.4.20-8/build/include/linux/sched.h:104,
                 from au_vortex.h:58,
                 from au_vortex.c:81:
/lib/modules/2.4.20-8/build/include/asm/processor.h:267:1: warning: "EISA_bus" r
edefined
In file included from /lib/modules/2.4.20-8/build/include/linux/modversions.h:13
2,
                 from au_vortex.h:50,
                 from au_vortex.c:81:
/lib/modules/2.4.20-8/build/include/linux/modules/i386_ksyms.ver:92:1: warning:
this is the location of the previous definition
gcc -M -I/lib/modules/2.4.20-8/build/include au_utils.c > au_utils.dep
In file included from /lib/modules/2.4.20-8/build/include/linux/sched.h:104,
                 from au_vortex.h:58,
                 from au_utils.c:40:
/lib/modules/2.4.20-8/build/include/asm/processor.h:267:1: warning: "EISA_bus" r
edefined
In file included from /lib/modules/2.4.20-8/build/include/linux/modversions.h:13
2,
                 from au_vortex.h:50,
                 from au_utils.c:40:
/lib/modules/2.4.20-8/build/include/linux/modules/i386_ksyms.ver:92:1: warning:
this is the location of the previous definition
gcc -M -I/lib/modules/2.4.20-8/build/include au_utils.c | sed s/\\.o/.dep/ >> au
_utils.dep
In file included from /lib/modules/2.4.20-8/build/include/linux/sched.h:104,
                 from au_vortex.h:58,
                 from au_utils.c:40:
/lib/modules/2.4.20-8/build/include/asm/processor.h:267:1: warning: "EISA_bus" r
edefined
In file included from /lib/modules/2.4.20-8/build/include/linux/modversions.h:13
2,
                 from au_vortex.h:50,
                 from au_utils.c:40:
/lib/modules/2.4.20-8/build/include/linux/modules/i386_ksyms.ver:92:1: warning:
this is the location of the previous definition
gcc -M -I/lib/modules/2.4.20-8/build/include au_sndstat.c > au_sndstat.dep
In file included from /lib/modules/2.4.20-8/build/include/linux/sched.h:104,
                 from au_vortex.h:58,
                 from au_sndstat.c:37:
/lib/modules/2.4.20-8/build/include/asm/processor.h:267:1: warning: "EISA_bus" r
edefined
In file included from /lib/modules/2.4.20-8/build/include/linux/modversions.h:13
2,
                 from au_vortex.h:50,
                 from au_sndstat.c:37:
/lib/modules/2.4.20-8/build/include/linux/modules/i386_ksyms.ver:92:1: warning:
this is the location of the previous definition
gcc -M -I/lib/modules/2.4.20-8/build/include au_sndstat.c | sed s/\\.o/.dep/ >>
au_sndstat.dep
In file included from /lib/modules/2.4.20-8/build/include/linux/sched.h:104,
                 from au_vortex.h:58,
                 from au_sndstat.c:37:
/lib/modules/2.4.20-8/build/include/asm/processor.h:267:1: warning: "EISA_bus" r
edefined
In file included from /lib/modules/2.4.20-8/build/include/linux/modversions.h:13
2,
                 from au_vortex.h:50,
                 from au_sndstat.c:37:
/lib/modules/2.4.20-8/build/include/linux/modules/i386_ksyms.ver:92:1: warning:
this is the location of the previous definition
gcc -M -I/lib/modules/2.4.20-8/build/include au_mixer.c > au_mixer.dep
In file included from /lib/modules/2.4.20-8/build/include/linux/sched.h:104,
                 from au_vortex.h:58,
                 from au_mixer.c:45:
/lib/modules/2.4.20-8/build/include/asm/processor.h:267:1: warning: "EISA_bus" r
edefined
In file included from /lib/modules/2.4.20-8/build/include/linux/modversions.h:13
2,
                 from au_vortex.h:50,
                 from au_mixer.c:45:
/lib/modules/2.4.20-8/build/include/linux/modules/i386_ksyms.ver:92:1: warning:
this is the location of the previous definition
gcc -M -I/lib/modules/2.4.20-8/build/include au_mixer.c | sed s/\\.o/.dep/ >> au
_mixer.dep
In file included from /lib/modules/2.4.20-8/build/include/linux/sched.h:104,
                 from au_vortex.h:58,
                 from au_mixer.c:45:
/lib/modules/2.4.20-8/build/include/asm/processor.h:267:1: warning: "EISA_bus" r
edefined
In file included from /lib/modules/2.4.20-8/build/include/linux/modversions.h:13
2,
                 from au_vortex.h:50,
                 from au_mixer.c:45:
/lib/modules/2.4.20-8/build/include/linux/modules/i386_ksyms.ver:92:1: warning:
this is the location of the previous definition
gcc -M -I/lib/modules/2.4.20-8/build/include au_midi.c > au_midi.dep
In file included from /lib/modules/2.4.20-8/build/include/linux/sched.h:104,
                 from au_vortex.h:58,
                 from au_midi.c:37:
/lib/modules/2.4.20-8/build/include/asm/processor.h:267:1: warning: "EISA_bus" r
edefined
In file included from /lib/modules/2.4.20-8/build/include/linux/modversions.h:13
2,
                 from au_vortex.h:50,
                 from au_midi.c:37:
/lib/modules/2.4.20-8/build/include/linux/modules/i386_ksyms.ver:92:1: warning:
this is the location of the previous definition
gcc -M -I/lib/modules/2.4.20-8/build/include au_midi.c | sed s/\\.o/.dep/ >> au_
midi.dep
In file included from /lib/modules/2.4.20-8/build/include/linux/sched.h:104,
                 from au_vortex.h:58,
                 from au_midi.c:37:
/lib/modules/2.4.20-8/build/include/asm/processor.h:267:1: warning: "EISA_bus" r
edefined
In file included from /lib/modules/2.4.20-8/build/include/linux/modversions.h:13
2,
                 from au_vortex.h:50,
                 from au_midi.c:37:
/lib/modules/2.4.20-8/build/include/linux/modules/i386_ksyms.ver:92:1: warning:
this is the location of the previous definition
gcc -M -I/lib/modules/2.4.20-8/build/include au_core.c > au_core.dep
In file included from /lib/modules/2.4.20-8/build/include/linux/sched.h:104,
                 from au_vortex.h:58,
                 from au_core.c:40:
/lib/modules/2.4.20-8/build/include/asm/processor.h:267:1: warning: "EISA_bus" r
edefined
In file included from /lib/modules/2.4.20-8/build/include/linux/modversions.h:13
2,
                 from au_vortex.h:50,
                 from au_core.c:40:
/lib/modules/2.4.20-8/build/include/linux/modules/i386_ksyms.ver:92:1: warning:
this is the location of the previous definition
gcc -M -I/lib/modules/2.4.20-8/build/include au_core.c | sed s/\\.o/.dep/ >> au_
core.dep
In file included from /lib/modules/2.4.20-8/build/include/linux/sched.h:104,
                 from au_vortex.h:58,
                 from au_core.c:40:
/lib/modules/2.4.20-8/build/include/asm/processor.h:267:1: warning: "EISA_bus" r
edefined
In file included from /lib/modules/2.4.20-8/build/include/linux/modversions.h:13
2,
                 from au_vortex.h:50,
                 from au_core.c:40:
/lib/modules/2.4.20-8/build/include/linux/modules/i386_ksyms.ver:92:1: warning:
this is the location of the previous definition
gcc -M -I/lib/modules/2.4.20-8/build/include au_audio.c > au_audio.dep
In file included from /lib/modules/2.4.20-8/build/include/linux/sched.h:104,
                 from au_vortex.h:58,
                 from au_audio.c:49:
/lib/modules/2.4.20-8/build/include/asm/processor.h:267:1: warning: "EISA_bus" r
edefined
In file included from /lib/modules/2.4.20-8/build/include/linux/modversions.h:13
2,
                 from au_vortex.h:50,
                 from au_audio.c:49:
/lib/modules/2.4.20-8/build/include/linux/modules/i386_ksyms.ver:92:1: warning:
this is the location of the previous definition
gcc -M -I/lib/modules/2.4.20-8/build/include au_audio.c | sed s/\\.o/.dep/ >> au
_audio.dep
In file included from /lib/modules/2.4.20-8/build/include/linux/sched.h:104,
                 from au_vortex.h:58,
                 from au_audio.c:49:
/lib/modules/2.4.20-8/build/include/asm/processor.h:267:1: warning: "EISA_bus" r
edefined
In file included from /lib/modules/2.4.20-8/build/include/linux/modversions.h:13
2,
                 from au_vortex.h:50,
                 from au_audio.c:49:
/lib/modules/2.4.20-8/build/include/linux/modules/i386_ksyms.ver:92:1: warning:
this is the location of the previous definition
gcc -D__KERNEL__ -DMODULE -DAU8810  -mpentiumpro -O6 -fomit-frame-pointer  -Wall
-pipe -I/lib/modules/2.4.20-8/build/include  -c -o au_audio.o au_audio.c
`-mpentiumpro' is deprecated. Use `-march=pentiumpro' or `-mcpu=pentiumpro' inst
ead.
In file included from /lib/modules/2.4.20-8/build/include/linux/prefetch.h:13,
                 from /lib/modules/2.4.20-8/build/include/linux/list.h:6,
                 from /lib/modules/2.4.20-8/build/include/linux/module.h:12,
                 from au_vortex.h:54,
                 from au_audio.c:49:
/lib/modules/2.4.20-8/build/include/asm/processor.h:267:1: warning: "EISA_bus" r
edefined
In file included from /lib/modules/2.4.20-8/build/include/linux/modversions.h:13
2,
                 from au_vortex.h:50,
                 from au_audio.c:49:
/lib/modules/2.4.20-8/build/include/linux/modules/i386_ksyms.ver:92:1: warning:
this is the location of the previous definition
gcc -D__KERNEL__ -DMODULE -DAU8810  -mpentiumpro -O6 -fomit-frame-pointer  -Wall
-pipe -I/lib/modules/2.4.20-8/build/include  -c -o au_core.o au_core.c
`-mpentiumpro' is deprecated. Use `-march=pentiumpro' or `-mcpu=pentiumpro' inst
ead.
In file included from /lib/modules/2.4.20-8/build/include/linux/prefetch.h:13,
                 from /lib/modules/2.4.20-8/build/include/linux/list.h:6,
                 from /lib/modules/2.4.20-8/build/include/linux/module.h:12,
                 from au_vortex.h:54,
                 from au_core.c:40:
/lib/modules/2.4.20-8/build/include/asm/processor.h:267:1: warning: "EISA_bus" r
edefined
In file included from /lib/modules/2.4.20-8/build/include/linux/modversions.h:13
2,
                 from au_vortex.h:50,
                 from au_core.c:40:
/lib/modules/2.4.20-8/build/include/linux/modules/i386_ksyms.ver:92:1: warning:
this is the location of the previous definition
gcc -D__KERNEL__ -DMODULE -DAU8810  -mpentiumpro -O6 -fomit-frame-pointer  -Wall
-pipe -I/lib/modules/2.4.20-8/build/include  -c -o au_midi.o au_midi.c
`-mpentiumpro' is deprecated. Use `-march=pentiumpro' or `-mcpu=pentiumpro' inst
ead.
In file included from /lib/modules/2.4.20-8/build/include/linux/prefetch.h:13,
                 from /lib/modules/2.4.20-8/build/include/linux/list.h:6,
                 from /lib/modules/2.4.20-8/build/include/linux/module.h:12,
                 from au_vortex.h:54,
                 from au_midi.c:37:
/lib/modules/2.4.20-8/build/include/asm/processor.h:267:1: warning: "EISA_bus" r
edefined
In file included from /lib/modules/2.4.20-8/build/include/linux/modversions.h:13
2,
                 from au_vortex.h:50,
                 from au_midi.c:37:
/lib/modules/2.4.20-8/build/include/linux/modules/i386_ksyms.ver:92:1: warning:
this is the location of the previous definition
gcc -D__KERNEL__ -DMODULE -DAU8810  -mpentiumpro -O6 -fomit-frame-pointer  -Wall
-pipe -I/lib/modules/2.4.20-8/build/include  -c -o au_mixer.o au_mixer.c
`-mpentiumpro' is deprecated. Use `-march=pentiumpro' or `-mcpu=pentiumpro' inst
ead.
In file included from /lib/modules/2.4.20-8/build/include/linux/prefetch.h:13,
                 from /lib/modules/2.4.20-8/build/include/linux/list.h:6,
                 from /lib/modules/2.4.20-8/build/include/linux/module.h:12,
                 from au_vortex.h:54,
                 from au_mixer.c:45:
/lib/modules/2.4.20-8/build/include/asm/processor.h:267:1: warning: "EISA_bus" r
edefined
In file included from /lib/modules/2.4.20-8/build/include/linux/modversions.h:13
2,
                 from au_vortex.h:50,
                 from au_mixer.c:45:
/lib/modules/2.4.20-8/build/include/linux/modules/i386_ksyms.ver:92:1: warning:
this is the location of the previous definition
gcc -D__KERNEL__ -DMODULE -DAU8810  -mpentiumpro -O6 -fomit-frame-pointer  -Wall
-pipe -I/lib/modules/2.4.20-8/build/include  -c -o au_sndstat.o au_sndstat.c
`-mpentiumpro' is deprecated. Use `-march=pentiumpro' or `-mcpu=pentiumpro' inst
ead.
In file included from /lib/modules/2.4.20-8/build/include/linux/prefetch.h:13,
                 from /lib/modules/2.4.20-8/build/include/linux/list.h:6,
                 from /lib/modules/2.4.20-8/build/include/linux/module.h:12,
                 from au_vortex.h:54,
                 from au_sndstat.c:37:
/lib/modules/2.4.20-8/build/include/asm/processor.h:267:1: warning: "EISA_bus" r
edefined
In file included from /lib/modules/2.4.20-8/build/include/linux/modversions.h:13
2,
                 from au_vortex.h:50,
                 from au_sndstat.c:37:
/lib/modules/2.4.20-8/build/include/linux/modules/i386_ksyms.ver:92:1: warning:
this is the location of the previous definition
gcc -D__KERNEL__ -DMODULE -DAU8810  -mpentiumpro -O6 -fomit-frame-pointer  -Wall
-pipe -I/lib/modules/2.4.20-8/build/include  -c -o au_utils.o au_utils.c
`-mpentiumpro' is deprecated. Use `-march=pentiumpro' or `-mcpu=pentiumpro' inst
ead.
In file included from /lib/modules/2.4.20-8/build/include/linux/prefetch.h:13,
                 from /lib/modules/2.4.20-8/build/include/linux/list.h:6,
                 from /lib/modules/2.4.20-8/build/include/linux/module.h:12,
                 from au_vortex.h:54,
                 from au_utils.c:40:
/lib/modules/2.4.20-8/build/include/asm/processor.h:267:1: warning: "EISA_bus" r
edefined
In file included from /lib/modules/2.4.20-8/build/include/linux/modversions.h:13
2,
                 from au_vortex.h:50,
                 from au_utils.c:40:
/lib/modules/2.4.20-8/build/include/linux/modules/i386_ksyms.ver:92:1: warning:                              this is the location of the previous definition
gcc -D__KERNEL__ -DMODULE -DAU8810  -mpentiumpro -O6 -fomit-frame-pointer  -Wall                              -pipe -I/lib/modules/2.4.20-8/build/include  -c -o au_vortex.o au_vortex.c
`-mpentiumpro' is deprecated. Use `-march=pentiumpro' or `-mcpu=pentiumpro' inst                             ead.
In file included from /lib/modules/2.4.20-8/build/include/linux/prefetch.h:13,
                 from /lib/modules/2.4.20-8/build/include/linux/list.h:6,
                 from /lib/modules/2.4.20-8/build/include/linux/module.h:12,
                 from au_vortex.h:54,
                 from au_vortex.c:81:
/lib/modules/2.4.20-8/build/include/asm/processor.h:267:1: warning: "EISA_bus" r                             edefined
In file included from /lib/modules/2.4.20-8/build/include/linux/modversions.h:13                             2,
                 from au_vortex.h:50,
                 from au_vortex.c:81:
/lib/modules/2.4.20-8/build/include/linux/modules/i386_ksyms.ver:92:1: warning:                              this is the location of the previous definition
ld -m elf_i386 -r au_audio.o au_core.o au_midi.o au_mixer.o au_sndstat.o au_util                             s.o au_vortex.o asp10.o -o au8810.o
asp10.o: could not read symbols: File truncated
make: *** [compile] Error 1
[root@localhost aureal]#

修改au_vortex.h
原:#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 5, 8)
改为:#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 4, 20)
编译仍然出错。有人知道怎么做吗?
发表于 2003-7-24 20:23:09 | 显示全部楼层
好像看过一些资料,alsa已经支持au8810,你可试一下。尽量用最新版。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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