|
发表于 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)
编译仍然出错。有人知道怎么做吗? |
|