rabbit_045 发表于 2004-12-19 16:47:48

OSS安装失败 大哥们帮帮我 附错误信息

安装完了 安装之前内核源码包kernel-source也安了
#soundconf
OSS/Linux kernel module not available. Cannot continue.
Please try to install OSS again.

# soundon
Building the OSS kernel module - please wait...
Building the OSS/Linux module failed.
Please see /usr/lib/oss/logs/soundon.log for details.

soundon.log:

OSS version: 3.99.1i
OSS build: 200411250832
Kernel version: Linux Cleopatra 2.6.8-24-default #1 Wed Oct 6 09:16:23 UTC 2004 i686 athlon i386 GNU/Linux
Kernel vermagic: 2.6.8-24-default 586 REGPARM gcc-3.3
Modutils version: 3.1-pre5
4:40pm up 13:08, 3 users, load average: 0.91, 0.80, 0.83
=== Running /usr/lib/oss/bin/soundon ===
Install directory: /usr/lib/oss
Will use /usr/bin/ld for linking.
make -C /lib/modules/`uname -r`/source scripts scripts_basic include/linux/version.h
make: Entering directory `/usr/src/linux-2.6.8-24-obj/i386/default'
make: “scripts”是最新的。
make -C ../../../linux-2.6.8-24 O=../linux-2.6.8-24-obj/i386/default scripts_basic
make: “include/linux/version.h”是最新的。
make: Leaving directory `/usr/src/linux-2.6.8-24-obj/i386/default'
make -C /lib/modules/`uname -r`/source SUBDIRS=/usr/lib/oss/kbuild CC="gcc" modules
make: Entering directory `/usr/src/linux-2.6.8-24-obj/i386/default'
make -C ../../../linux-2.6.8-24 O=../linux-2.6.8-24-obj/i386/default modules
CC /usr/lib/oss/kbuild/osslinux.o
In file included from /usr/src/linux-2.6.8-24/include/linux/irq.h:20,
from include2/asm/hardirq.h:6,
from /usr/src/linux-2.6.8-24/include/linux/hardirq.h:8,
from /usr/src/linux-2.6.8-24/include/linux/interrupt.h:11,
from /usr/lib/oss/kbuild/osslinux.c:101:
include2/asm/irq.h:16:25: irq_vectors.h: 没有那个文件或目录
make: *** 错误 1
make: *** 错误 2
make: *** 错误 2
make: *** 错误 2
make: Leaving directory `/usr/src/linux-2.6.8-24-obj/i386/default'
make: *** 错误 2

Trying to compile using INCLUDE=/lib/modules/2.6.8-24-default/build/include
In file included from /usr/include/linux/list.h:7,
from /usr/include/linux/wait.h:14,
from /usr/include/asm/semaphore.h:41,
from /usr/include/linux/sched.h:18,
from /usr/include/linux/module.h:9,
from src/sndshield.c:49:
/usr/include/linux/prefetch.h: In function `prefetch_range':
/usr/include/linux/prefetch.h:64: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared (first use in this function)
/usr/include/linux/prefetch.h:64: error: (Each undeclared identifier is reported only once
/usr/include/linux/prefetch.h:64: error: for each function it appears in.)
In file included from /usr/include/linux/module.h:22,
from src/sndshield.c:49:
/usr/include/asm/module.h:56:2: #error unknown processor family
In file included from /usr/include/asm/hardirq.h:6,
from /usr/include/linux/interrupt.h:12,
from src/sndshield.c:101:
/usr/include/linux/irq.h: At top level:
/usr/include/linux/irq.h:68: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/linux/irq.h:68: error: requested alignment is not a constant
In file included from /usr/include/linux/interrupt.h:12,
from src/sndshield.c:101:
/usr/include/asm/hardirq.h:13: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function)
/usr/include/asm/hardirq.h:13: error: requested alignment is not a constant
src/sndshield.c:109: error: parse error before "MODULE_PROC_FAMILY"
src/sndshield.c:130:17: #error You have downloaded the wrong version of OSS. Please download the NONREGPARM version.
src/sndshield.c:2042: error: variable `__this_module' has initializer but incomplete type
src/sndshield.c:2043: error: unknown field `name' specified in initializer
src/sndshield.c:2043: warning: excess elements in struct initializer
src/sndshield.c:2043: warning: (near initialization for `__this_module')
src/sndshield.c:2044: error: unknown field `init' specified in initializer
src/sndshield.c:2044: warning: excess elements in struct initializer
src/sndshield.c:2044: warning: (near initialization for `__this_module')
src/sndshield.c:2042: error: storage size of `__this_module' isn't known
Compile failed with -I/lib/modules/2.6.8-24-default/build/include
/usr/src/linux-2.6.8-24-default/include/linux/version.h does not exist

**** Failed to compile the sndshield module ****

No sndshield module available.
Building the OSS/Linux module failed. :cry::cry::cry::cry:

huyongzs 发表于 2004-12-19 17:27:00

驱动没装好,我认为是的......
页: [1]
查看完整版本: OSS安装失败 大哥们帮帮我 附错误信息