QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 902|回复: 1

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

[复制链接]
发表于 2004-12-19 16:47:48 | 显示全部楼层 |阅读模式
安装完了 安装之前内核源码包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[1]: Entering directory `/usr/src/linux-2.6.8-24-obj/i386/default'
make[1]: “scripts”是最新的。
make -C ../../../linux-2.6.8-24 O=../linux-2.6.8-24-obj/i386/default scripts_basic
make[1]: “include/linux/version.h”是最新的。
make[1]: 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[1]: 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 [M] /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[4]: *** [/usr/lib/oss/kbuild/osslinux.o] 错误 1
make[3]: *** [_module_/usr/lib/oss/kbuild] 错误 2
make[2]: *** [modules] 错误 2
make[1]: *** [modules] 错误 2
make[1]: Leaving directory `/usr/src/linux-2.6.8-24-obj/i386/default'
make: *** [ossbuild] 错误 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.       
发表于 2004-12-19 17:27:00 | 显示全部楼层
驱动没装好,我认为是的......
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-24 14:02 , Processed in 0.037141 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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