QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2189|回复: 27

"make install"失败 -

[复制链接]
发表于 2003-3-9 09:57:37 | 显示全部楼层 |阅读模式
我的声卡是Realtek alc202A.系统是Red Hat 8.0.我在安装驱动前已经安装了内核文件,并把/usr/src/下面的linux-2.4*** 的文件夹 改名为 linux[据高手所说,这叫编译].
安装驱动的过程有 1.   ./Configure
                          2.   make install
                          3.   ./snddevicex
                          4.   修改modules.conf

但我在make install时,出错了,提示如下:
[root@samsung alsa-driver-0.9.0rc5]# make install
if [ ! -d include/sound -a ! -L include/sound ]; then \
  ln -sf ../alsa-kernel/include include/sound ; \
fi
ln: creating symbolic link `include/sound' to `../alsa-kernel/include': Operation not permitted
make: *** [include/sound/version.h] Error 1
[root@samsung alsa-driver-0.9.0rc5]#


请问如何解决?3x先~
发表于 2003-3-10 09:26:50 | 显示全部楼层
我觉得你的问题是因为权限问题.可能你对是驱动源文件所在的目录没有写权限.试一下把整个目录拷贝到/root下.(如果你使用root登陆的话.)
/usr/src下的东西不用动.保持原样就行,把你的改动该回来.
回复

使用道具 举报

 楼主| 发表于 2003-3-12 18:02:34 | 显示全部楼层
谢谢pjc5520兄回复.
我重装了系统,把驱动复制到/tmp/下进行安装.果然make install时所改进.
但还是有问题,提示如下:

[root@Samsung alsa-driver-0.9.0rc5]# make install
if [ ! -d include/sound -a ! -L include/sound ]; then \
  ln -sf ../alsa-kernel/include include/sound ; \
fi
cp -auvf include/version.h include/sound/version.h
make dep
make[1]: Entering directory `/tmp/sound/alsa-driver-0.9.0rc5'
make[2]: Entering directory `/tmp/sound/alsa-driver-0.9.0rc5/acore'
make  -C ioctl32 fastdep
make[3]: Entering directory `/tmp/sound/alsa-driver-0.9.0rc5/acore/ioctl32'
/tmp/sound/alsa-driver-0.9.0rc5/include/sndversions.h was updated
gcc -M -D__KERNEL__ -DMODULE=1 -I/tmp/sound/alsa-driver-0.9.0rc5/include -I/lib/modules/2.4.18-14/build/include -O2 -mpreferred-stack-boundary=2 -march=i686 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -pipe -DALSA_BUILD  hwdep32.c ioctl32.c pcm32.c rawmidi32.c seq32.c timer32.c > .depend
In file included from /usr/include/linux/fs.h:23,
                 from /tmp/sound/alsa-driver-0.9.0rc5/include/adriver.h:109,
                 from /tmp/sound/alsa-driver-0.9.0rc5/include/sound/driver.h:43,
                 from ../../alsa-kernel/core/ioctl32/hwdep32.c:21,
                 from hwdep32.c:2:
/usr/include/linux/string.h:8:2: warning: #warning Using kernel header in userland!
In file included from /usr/include/linux/interrupt.h:10,
                 from /tmp/sound/alsa-driver-0.9.0rc5/include/adriver.h:162,
                 from /tmp/sound/alsa-driver-0.9.0rc5/include/sound/driver.h:43,
                 from ../../alsa-kernel/core/ioctl32/hwdep32.c:21,
                 from hwdep32.c:2:
/usr/include/asm/bitops.h:333:2: warning: #warning This includefile is not available on all architectures.
/usr/include/asm/bitops.h:334:2: warning: #warning Using kernel headers in userspace.
In file included from /tmp/sound/alsa-driver-0.9.0rc5/include/adriver.h:162,
                 from /tmp/sound/alsa-driver-0.9.0rc5/include/sound/driver.h:43,
                 from ../../alsa-kernel/core/ioctl32/hwdep32.c:21,
                 from hwdep32.c:2:
/usr/include/linux/interrupt.h:44:25: asm/hardirq.h: No such file or directory
/usr/include/linux/interrupt.h:45:25: asm/softirq.h: No such file or directory
In file included from hwdep32.c:2:
../../alsa-kernel/core/ioctl32/hwdep32.c:25:25: asm/uaccess.h: No such file or directory
In file included from /usr/include/linux/fs.h:23,
                 from /tmp/sound/alsa-driver-0.9.0rc5/include/adriver.h:109,
                 from /tmp/sound/alsa-driver-0.9.0rc5/include/sound/driver.h:43,
                 from ../../alsa-kernel/core/ioctl32/ioctl32.c:21,
                 from ioctl32.c:2:
/usr/include/linux/string.h:8:2: warning: #warning Using kernel header in userland!
In file included from /usr/include/linux/interrupt.h:10,
                 from /tmp/sound/alsa-driver-0.9.0rc5/include/adriver.h:162,
                 from /tmp/sound/alsa-driver-0.9.0rc5/include/sound/driver.h:43,
                 from ../../alsa-kernel/core/ioctl32/ioctl32.c:21,
                 from ioctl32.c:2:
/usr/include/asm/bitops.h:333:2: warning: #warning This includefile is not available on all architectures.
/usr/include/asm/bitops.h:334:2: warning: #warning Using kernel headers in userspace.
In file included from /tmp/sound/alsa-driver-0.9.0rc5/include/adriver.h:162,
                 from /tmp/sound/alsa-driver-0.9.0rc5/include/sound/driver.h:43,
                 from ../../alsa-kernel/core/ioctl32/ioctl32.c:21,
                 from ioctl32.c:2:
/usr/include/linux/interrupt.h:44:25: asm/hardirq.h: No such file or directory
/usr/include/linux/interrupt.h:45:25: asm/softirq.h: No such file or directory
In file included from ioctl32.c:2:
../../alsa-kernel/core/ioctl32/ioctl32.c:30:25: asm/uaccess.h: No such file or directory
In file included from /usr/include/linux/fs.h:23,
                 from /tmp/sound/alsa-driver-0.9.0rc5/include/adriver.h:109,
                 from /tmp/sound/alsa-driver-0.9.0rc5/include/sound/driver.h:43,
                 from ../../alsa-kernel/core/ioctl32/pcm32.c:21,
                 from pcm32.c:2:
/usr/include/linux/string.h:8:2: warning: #warning Using kernel header in userland!
In file included from /usr/include/linux/interrupt.h:10,
                 from /tmp/sound/alsa-driver-0.9.0rc5/include/adriver.h:162,
                 from /tmp/sound/alsa-driver-0.9.0rc5/include/sound/driver.h:43,
                 from ../../alsa-kernel/core/ioctl32/pcm32.c:21,
                 from pcm32.c:2:
/usr/include/asm/bitops.h:333:2: warning: #warning This includefile is not available on all architectures.
/usr/include/asm/bitops.h:334:2: warning: #warning Using kernel headers in userspace.
In file included from /tmp/sound/alsa-driver-0.9.0rc5/include/adriver.h:162,
                 from /tmp/sound/alsa-driver-0.9.0rc5/include/sound/driver.h:43,
                 from ../../alsa-kernel/core/ioctl32/pcm32.c:21,
                 from pcm32.c:2:
/usr/include/linux/interrupt.h:44:25: asm/hardirq.h: No such file or directory
/usr/include/linux/interrupt.h:45:25: asm/softirq.h: No such file or directory
In file included from /usr/include/linux/fs.h:23,
                 from /tmp/sound/alsa-driver-0.9.0rc5/include/adriver.h:109,
                 from /tmp/sound/alsa-driver-0.9.0rc5/include/sound/driver.h:43,
                 from ../../alsa-kernel/core/ioctl32/rawmidi32.c:21,
                 from rawmidi32.c:2:
/usr/include/linux/string.h:8:2: warning: #warning Using kernel header in userland!
In file included from /usr/include/linux/interrupt.h:10,
                 from /tmp/sound/alsa-driver-0.9.0rc5/include/adriver.h:162,
                 from /tmp/sound/alsa-driver-0.9.0rc5/include/sound/driver.h:43,
                 from ../../alsa-kernel/core/ioctl32/rawmidi32.c:21,
                 from rawmidi32.c:2:
/usr/include/asm/bitops.h:333:2: warning: #warning This includefile is not available on all architectures.
/usr/include/asm/bitops.h:334:2: warning: #warning Using kernel headers in userspace.
In file included from /tmp/sound/alsa-driver-0.9.0rc5/include/adriver.h:162,
                 from /tmp/sound/alsa-driver-0.9.0rc5/include/sound/driver.h:43,
                 from ../../alsa-kernel/core/ioctl32/rawmidi32.c:21,
                 from rawmidi32.c:2:
/usr/include/linux/interrupt.h:44:25: asm/hardirq.h: No such file or directory
/usr/include/linux/interrupt.h:45:25: asm/softirq.h: No such file or directory
In file included from rawmidi32.c:2:
../../alsa-kernel/core/ioctl32/rawmidi32.c:25:25: asm/uaccess.h: No such file or directory
In file included from /usr/include/linux/fs.h:23,
                 from /tmp/sound/alsa-driver-0.9.0rc5/include/adriver.h:109,
                 from /tmp/sound/alsa-driver-0.9.0rc5/include/sound/driver.h:43,
                 from ../../alsa-kernel/core/ioctl32/seq32.c:21,
                 from seq32.c:2:
/usr/include/linux/string.h:8:2: warning: #warning Using kernel header in userland!
In file included from /usr/include/linux/interrupt.h:10,
                 from /tmp/sound/alsa-driver-0.9.0rc5/include/adriver.h:162,
                 from /tmp/sound/alsa-driver-0.9.0rc5/include/sound/driver.h:43,
                 from ../../alsa-kernel/core/ioctl32/seq32.c:21,
                 from seq32.c:2:
/usr/include/asm/bitops.h:333:2: warning: #warning This includefile is not available on all architectures.
/usr/include/asm/bitops.h:334:2: warning: #warning Using kernel headers in userspace.
In file included from /tmp/sound/alsa-driver-0.9.0rc5/include/adriver.h:162,
                 from /tmp/sound/alsa-driver-0.9.0rc5/include/sound/driver.h:43,
                 from ../../alsa-kernel/core/ioctl32/seq32.c:21,
                 from seq32.c:2:
/usr/include/linux/interrupt.h:44:25: asm/hardirq.h: No such file or directory
/usr/include/linux/interrupt.h:45:25: asm/softirq.h: No such file or directory
In file included from seq32.c:2:
../../alsa-kernel/core/ioctl32/seq32.c:25:25: asm/uaccess.h: No such file or directory
In file included from /usr/include/linux/fs.h:23,
                 from /tmp/sound/alsa-driver-0.9.0rc5/include/adriver.h:109,
                 from /tmp/sound/alsa-driver-0.9.0rc5/include/sound/driver.h:43,
                 from ../../alsa-kernel/core/ioctl32/timer32.c:21,
                 from timer32.c:2:
/usr/include/linux/string.h:8:2: warning: #warning Using kernel header in userland!
In file included from /usr/include/linux/interrupt.h:10,
                 from /tmp/sound/alsa-driver-0.9.0rc5/include/adriver.h:162,
                 from /tmp/sound/alsa-driver-0.9.0rc5/include/sound/driver.h:43,
                 from ../../alsa-kernel/core/ioctl32/timer32.c:21,
                 from timer32.c:2:
/usr/include/asm/bitops.h:333:2: warning: #warning This includefile is not available on all architectures.
/usr/include/asm/bitops.h:334:2: warning: #warning Using kernel headers in userspace.
In file included from /tmp/sound/alsa-driver-0.9.0rc5/include/adriver.h:162,
                 from /tmp/sound/alsa-driver-0.9.0rc5/include/sound/driver.h:43,
                 from ../../alsa-kernel/core/ioctl32/timer32.c:21,
                 from timer32.c:2:
/usr/include/linux/interrupt.h:44:25: asm/hardirq.h: No such file or directory
/usr/include/linux/interrupt.h:45:25: asm/softirq.h: No such file or directory
In file included from timer32.c:2:
../../alsa-kernel/core/ioctl32/timer32.c:25:25: asm/uaccess.h: No such file or directory
make[3]: *** [fastdep] Error 1
make[3]: Leaving directory `/tmp/sound/alsa-driver-0.9.0rc5/acore/ioctl32'
make[2]: *** [_sfdep_ioctl32] Error 2
make[2]: Leaving directory `/tmp/sound/alsa-driver-0.9.0rc5/acore'
make[1]: *** [dep] Error 1
make[1]: Leaving directory `/tmp/sound/alsa-driver-0.9.0rc5'
make: *** [include/sndversions.h] Error 2
[root@Samsung alsa-driver-0.9.0rc5]#
回复

使用道具 举报

发表于 2003-3-13 14:30:51 | 显示全部楼层

重新安装内核

把现有的内核卸载,然后再重新安装,用RPM包管理。安装驱动时make clean一下。
回复

使用道具 举报

 楼主| 发表于 2003-3-13 22:03:27 | 显示全部楼层
我重装又失败了。
1.内核卸载了,然后又装上。
2.进入/usr/src 把文件夹linux-2.4.18-14改名为linux
3.进入/usr/src/linux    执行#make clean
4.把驱动解压到/root//root/alsa-driver-0.9.0rc5
5.#./configure
6.#make install
make install还是出错。这次的提示是:

[root@Samsung alsa-driver-0.9.0rc5]# make install
if [ ! -d include/sound -a ! -L include/sound ]; then \
  ln -sf ../alsa-kernel/include include/sound ; \
fi
cp -auvf include/version.h include/sound/version.h
`include/version.h' -> `include/sound/version.h'
make dep
make[1]: Entering directory `/root/alsa-driver-0.9.0rc5'
make[2]: Entering directory `/root/alsa-driver-0.9.0rc5/acore'
Makefile:4: ../Makefile.conf: No such file or directory
Makefile:11: /alsa-kernel/core/Makefile: No such file or directory
make[2]: *** No rule to make target `/alsa-kernel/core/Makefile'.  Stop.
make[2]: Leaving directory `/root/alsa-driver-0.9.0rc5/acore'
make[1]: *** [dep] Error 1
make[1]: Leaving directory `/root/alsa-driver-0.9.0rc5'
make: *** [include/sndversions.h] Error 2
[root@Samsung alsa-driver-0.9.0rc5]#
回复

使用道具 举报

发表于 2003-3-13 22:33:15 | 显示全部楼层
不要改名,那个连接的名字就叫linux-2.4。
你执行./configure是成功了吗,可信息好像是没生成MakeFile文件。去alsa-diver目录下看一看有没有这个文件。
回复

使用道具 举报

 楼主| 发表于 2003-3-15 02:03:07 | 显示全部楼层
回pjc5520兄,有MakeFile这个文件。:

[root@Samsung sound]# ls
acinclude.m4  copying     install-sh        readme           toplevel.config.in
aclocal.m4    cvscompile  isa               Rules.make       usb
acore         doc         Makefile          snddevices       utils
alsa-kernel   drivers     Makefile.conf.in  snddevices.in    version
arm           faq         modules           support          version.in
CARDS-STATUS  hal2        parisc            synth            warning
config.log    i2c         pci               test
configure     include     pcmcia            todo
configure.in  install     ppc               toplevel.config
[root@Samsung sound]# make install
make dep
make[1]: Entering directory `/tmp/sound'
make[2]: Entering directory `/tmp/sound/acore'
Makefile:4: ../Makefile.conf: No such file or directory
Makefile:18: /alsa-kernel/core/Makefile: No such file or directory
Makefile:20: /Rules.make: No such file or directory
make[2]: *** No rule to make target `/Rules.make'.  Stop.
make[2]: Leaving directory `/tmp/sound/acore'
make[1]: *** [dep] Error 1
make[1]: Leaving directory `/tmp/sound'
make: *** [include/sndversions.h] Error 2
[root@Samsung sound]#
回复

使用道具 举报

发表于 2003-3-15 16:42:36 | 显示全部楼层
你看到的那个MakeFile是原有的,不是你运行./configure生成的。你把liunx改回linux-2.4后。重新运行./configure    make install,
然后运行./snddevices,在去alsa-driver/utils下运行./alsaconf就行了。
回复

使用道具 举报

发表于 2003-3-16 12:00:12 | 显示全部楼层
alc201a
偶在make install时也出错
于是把那个linux改回linux-2.4.18-3,并在里面加入alsa-driver-0.9.0rc3整个文件夹,再make install又出错,如下:
[root@K3641SS alsa-driver-0.9.0rc3]# make install
make dep
make[1]: Entering directory `/root/temp/sound/201a/alsa-driver-0.9.0rc3'
make[2]: Entering directory `/root/temp/sound/201a/alsa-driver-0.9.0rc3/acore'
make  -C ioctl32 fastdep
make[3]: Entering directory `/root/temp/sound/201a/alsa-driver-0.9.0rc3/acore/ioctl32'
/usr/src/linux-2.4.18-3/alsa-driver-0.9.0rc3/include/sndversions.h was not updated
gcc -E -M -DALSA_BUILD -D__KERNEL__ -DMODULE=1 -I/usr/src/linux-2.4.18-3/alsa-driver-0.9.0rc3/include -I/lib/modules/2.4.18-3/build/include -O2 -mpreferred-stack-boundary=2 -march=i686 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -pipe  hwdep32.c ioctl32.c pcm32.c rawmidi32.c seq32.c timer32.c > .depend
In file included from /usr/include/linux/fs.h:23,
                 from /usr/src/linux-2.4.18-3/alsa-driver-0.9.0rc3/include/adriver.h:109,
                 from /usr/src/linux-2.4.18-3/alsa-driver-0.9.0rc3/include/sound/driver.h:43,
                 from ../../alsa-kernel/core/ioctl32/hwdep32.c:21,
                 from hwdep32.c:2:
/usr/include/linux/string.h:8:2: warning: #warning Using kernel header in userland!
In file included from /usr/include/linux/interrupt.h:10,
                 from /usr/src/linux-2.4.18-3/alsa-driver-0.9.0rc3/include/adriver.h:161,
                 from /usr/src/linux-2.4.18-3/alsa-driver-0.9.0rc3/include/sound/driver.h:43,
                 from ../../alsa-kernel/core/ioctl32/hwdep32.c:21,
                 from hwdep32.c:2:
/usr/include/asm/bitops.h:333:2: warning: #warning This includefile is not available on all architectures.
/usr/include/asm/bitops.h:334:2: warning: #warning Using kernel headers in userspace.
In file included from /usr/src/linux-2.4.18-3/alsa-driver-0.9.0rc3/include/adriver.h:161,
                 from /usr/src/linux-2.4.18-3/alsa-driver-0.9.0rc3/include/sound/driver.h:43,
                 from ../../alsa-kernel/core/ioctl32/hwdep32.c:21,
                 from hwdep32.c:2:
/usr/include/linux/interrupt.h:44:25: asm/hardirq.h: No such file or directory
/usr/include/linux/interrupt.h:45:25: asm/softirq.h: No such file or directory
In file included from hwdep32.c:2:
../../alsa-kernel/core/ioctl32/hwdep32.c:25:25: asm/uaccess.h: No such file or directory
In file included from /usr/include/linux/fs.h:23,
                 from /usr/src/linux-2.4.18-3/alsa-driver-0.9.0rc3/include/adriver.h:109,
                 from /usr/src/linux-2.4.18-3/alsa-driver-0.9.0rc3/include/sound/driver.h:43,
                 from ../../alsa-kernel/core/ioctl32/ioctl32.c:21,
                 from ioctl32.c:2:
/usr/include/linux/string.h:8:2: warning: #warning Using kernel header in userland!
In file included from /usr/include/linux/interrupt.h:10,
                 from /usr/src/linux-2.4.18-3/alsa-driver-0.9.0rc3/include/adriver.h:161,
                 from /usr/src/linux-2.4.18-3/alsa-driver-0.9.0rc3/include/sound/driver.h:43,
                 from ../../alsa-kernel/core/ioctl32/ioctl32.c:21,
                 from ioctl32.c:2:
/usr/include/asm/bitops.h:333:2: warning: #warning This includefile is not available on all architectures.
/usr/include/asm/bitops.h:334:2: warning: #warning Using kernel headers in userspace.
In file included from /usr/src/linux-2.4.18-3/alsa-driver-0.9.0rc3/include/adriver.h:161,
                 from /usr/src/linux-2.4.18-3/alsa-driver-0.9.0rc3/include/sound/driver.h:43,
                 from ../../alsa-kernel/core/ioctl32/ioctl32.c:21,
                 from ioctl32.c:2:
/usr/include/linux/interrupt.h:44:25: asm/hardirq.h: No such file or directory
/usr/include/linux/interrupt.h:45:25: asm/softirq.h: No such file or directory
In file included from ioctl32.c:2:
../../alsa-kernel/core/ioctl32/ioctl32.c:29:25: asm/uaccess.h: No such file or directory
In file included from /usr/include/linux/fs.h:23,
                 from /usr/src/linux-2.4.18-3/alsa-driver-0.9.0rc3/include/adriver.h:109,
                 from /usr/src/linux-2.4.18-3/alsa-driver-0.9.0rc3/include/sound/driver.h:43,
                 from ../../alsa-kernel/core/ioctl32/pcm32.c:21,
                 from pcm32.c:2:
/usr/include/linux/string.h:8:2: warning: #warning Using kernel header in userland!
In file included from /usr/include/linux/interrupt.h:10,
                 from /usr/src/linux-2.4.18-3/alsa-driver-0.9.0rc3/include/adriver.h:161,
                 from /usr/src/linux-2.4.18-3/alsa-driver-0.9.0rc3/include/sound/driver.h:43,
                 from ../../alsa-kernel/core/ioctl32/pcm32.c:21,
                 from pcm32.c:2:
/usr/include/asm/bitops.h:333:2: warning: #warning This includefile is not available on all architectures.
/usr/include/asm/bitops.h:334:2: warning: #warning Using kernel headers in userspace.
In file included from /usr/src/linux-2.4.18-3/alsa-driver-0.9.0rc3/include/adriver.h:161,
                 from /usr/src/linux-2.4.18-3/alsa-driver-0.9.0rc3/include/sound/driver.h:43,
                 from ../../alsa-kernel/core/ioctl32/pcm32.c:21,
                 from pcm32.c:2:
/usr/include/linux/interrupt.h:44:25: asm/hardirq.h: No such file or directory
/usr/include/linux/interrupt.h:45:25: asm/softirq.h: No such file or directory
In file included from /usr/include/linux/fs.h:23,
                 from /usr/src/linux-2.4.18-3/alsa-driver-0.9.0rc3/include/adriver.h:109,
                 from /usr/src/linux-2.4.18-3/alsa-driver-0.9.0rc3/include/sound/driver.h:43,
                 from ../../alsa-kernel/core/ioctl32/rawmidi32.c:21,
                 from rawmidi32.c:2:
/usr/include/linux/string.h:8:2: warning: #warning Using kernel header in userland!
In file included from /usr/include/linux/interrupt.h:10,
                 from /usr/src/linux-2.4.18-3/alsa-driver-0.9.0rc3/include/adriver.h:161,
                 from /usr/src/linux-2.4.18-3/alsa-driver-0.9.0rc3/include/sound/driver.h:43,
                 from ../../alsa-kernel/core/ioctl32/rawmidi32.c:21,
                 from rawmidi32.c:2:
/usr/include/asm/bitops.h:333:2: warning: #warning This includefile is not available on all architectures.
/usr/include/asm/bitops.h:334:2: warning: #warning Using kernel headers in userspace.
In file included from /usr/src/linux-2.4.18-3/alsa-driver-0.9.0rc3/include/adriver.h:161,
                 from /usr/src/linux-2.4.18-3/alsa-driver-0.9.0rc3/include/sound/driver.h:43,
                 from ../../alsa-kernel/core/ioctl32/rawmidi32.c:21,
                 from rawmidi32.c:2:
/usr/include/linux/interrupt.h:44:25: asm/hardirq.h: No such file or directory
/usr/include/linux/interrupt.h:45:25: asm/softirq.h: No such file or directory
In file included from rawmidi32.c:2:
../../alsa-kernel/core/ioctl32/rawmidi32.c:25:25: asm/uaccess.h: No such file or directory
In file included from /usr/include/linux/fs.h:23,
                 from /usr/src/linux-2.4.18-3/alsa-driver-0.9.0rc3/include/adriver.h:109,
                 from /usr/src/linux-2.4.18-3/alsa-driver-0.9.0rc3/include/sound/driver.h:43,
                 from ../../alsa-kernel/core/ioctl32/seq32.c:21,
                 from seq32.c:2:
/usr/include/linux/string.h:8:2: warning: #warning Using kernel header in userland!
In file included from /usr/include/linux/interrupt.h:10,
                 from /usr/src/linux-2.4.18-3/alsa-driver-0.9.0rc3/include/adriver.h:161,
                 from /usr/src/linux-2.4.18-3/alsa-driver-0.9.0rc3/include/sound/driver.h:43,
                 from ../../alsa-kernel/core/ioctl32/seq32.c:21,
                 from seq32.c:2:
/usr/include/asm/bitops.h:333:2: warning: #warning This includefile is not available on all architectures.
/usr/include/asm/bitops.h:334:2: warning: #warning Using kernel headers in userspace.
In file included from /usr/src/linux-2.4.18-3/alsa-driver-0.9.0rc3/include/adriver.h:161,
                 from /usr/src/linux-2.4.18-3/alsa-driver-0.9.0rc3/include/sound/driver.h:43,
                 from ../../alsa-kernel/core/ioctl32/seq32.c:21,
                 from seq32.c:2:
/usr/include/linux/interrupt.h:44:25: asm/hardirq.h: No such file or directory
/usr/include/linux/interrupt.h:45:25: asm/softirq.h: No such file or directory
In file included from seq32.c:2:
../../alsa-kernel/core/ioctl32/seq32.c:25:25: asm/uaccess.h: No such file or directory
In file included from /usr/include/linux/fs.h:23,
                 from /usr/src/linux-2.4.18-3/alsa-driver-0.9.0rc3/include/adriver.h:109,
                 from /usr/src/linux-2.4.18-3/alsa-driver-0.9.0rc3/include/sound/driver.h:43,
                 from ../../alsa-kernel/core/ioctl32/timer32.c:21,
                 from timer32.c:2:
/usr/include/linux/string.h:8:2: warning: #warning Using kernel header in userland!
In file included from /usr/include/linux/interrupt.h:10,
                 from /usr/src/linux-2.4.18-3/alsa-driver-0.9.0rc3/include/adriver.h:161,
                 from /usr/src/linux-2.4.18-3/alsa-driver-0.9.0rc3/include/sound/driver.h:43,
                 from ../../alsa-kernel/core/ioctl32/timer32.c:21,
                 from timer32.c:2:
/usr/include/asm/bitops.h:333:2: warning: #warning This includefile is not available on all architectures.
/usr/include/asm/bitops.h:334:2: warning: #warning Using kernel headers in userspace.
In file included from /usr/src/linux-2.4.18-3/alsa-driver-0.9.0rc3/include/adriver.h:161,
                 from /usr/src/linux-2.4.18-3/alsa-driver-0.9.0rc3/include/sound/driver.h:43,
                 from ../../alsa-kernel/core/ioctl32/timer32.c:21,
                 from timer32.c:2:
/usr/include/linux/interrupt.h:44:25: asm/hardirq.h: No such file or directory
/usr/include/linux/interrupt.h:45:25: asm/softirq.h: No such file or directory
In file included from timer32.c:2:
../../alsa-kernel/core/ioctl32/timer32.c:25:25: asm/uaccess.h: No such file or directory
make[3]: *** [fastdep] Error 1
make[3]: Leaving directory `/root/temp/sound/201a/alsa-driver-0.9.0rc3/acore/ioctl32'
make[2]: *** [_sfdep_ioctl32] Error 2
make[2]: Leaving directory `/root/temp/sound/201a/alsa-driver-0.9.0rc3/acore'
make[1]: *** [dep] Error 1
make[1]: Leaving directory `/root/temp/sound/201a/alsa-driver-0.9.0rc3'
make: *** [include/sndversions.h] Error 2
[root@K3641SS alsa-driver-0.9.0rc3]#

不知那个fastdep,_sfddep_ioctl32,dep是什么文件(夹),偶找过了,没有!
回复

使用道具 举报

发表于 2003-3-16 23:13:24 | 显示全部楼层
seaaide

不知道你有没有试过把内核重新安装一边,安装完成以后,不要改动任何文件夹的名字。在编译alsa。
回复

使用道具 举报

发表于 2003-3-17 13:44:09 | 显示全部楼层
非常感谢pjc5520兄,的回帖
我在make install的最后,系统提示:
WARNING!!! The mixer channels for the ALSA driver are muted by default!!!
**************************************************************************
You would use some ALSA or OSS mixer to set the appropriate volume.
于是./snddevices
.................................
ALSA loader devices
Creating /dev/aload?... done
Creating /dev/aloadSEQ... done
modules.conf也修改过了
但开机后也没有提示声卡的问题了
在声卡检测后也是没有声音,why?
回复

使用道具 举报

发表于 2003-3-17 16:05:56 | 显示全部楼层
WARNING!!! The mixer channels for the ALSA driver are muted by default!!!
**************************************************************************
You would use some ALSA or OSS mixer to set the appropriate volume.

显示这段话,表示你的alsa编译成功了。但它默认是在静音状态。你必须再安装alsa-lib和alsa-utils,注意顺序。然后你去alsa-driver/utils下运行./alsaconf就行了。
回复

使用道具 举报

发表于 2003-3-17 19:32:03 | 显示全部楼层
你必须再安装alsa-lib和alsa-utils,注意顺序。然后你去alsa-driver/utils下运行./alsaconf就行了。

谢谢pjc5520的回帖,我现在可以听mp3了,但是我没有装 alsa-lib和alsa-utils
请问是否还有必要在装上去?
回复

使用道具 举报

发表于 2003-3-17 21:51:35 | 显示全部楼层
郁闷,我的alsa总不成功.我的是via8233的芯片, 后来去威盛下的驱动for rh8.0的  里面就alsaconf,audnmute两个文件,不知道是什么东西啊,也不知道怎么用. 烦死了!
回复

使用道具 举报

发表于 2003-3-17 23:27:15 | 显示全部楼层
[quote:70e79cb1a6="cwwhy"]郁闷,我的alsa总不成功.我的是via8233的芯片, 后来去威盛下的驱动for rh8.0的  里面就alsaconf,audnmute两个文件,不知道是什么东西啊,也不知道怎么用. 烦死了![/quote]
威盛现在的所谓驱动其实只是一些教你怎么安装alsa的文档而已了。
上面的错误看来是缺少相应的头文件导致的。
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-2 16:29 , Processed in 0.045829 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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