cheyo 发表于 2003-3-9 09:57:37

"make install"失败 -

我的声卡是Realtek alc202A.系统是Red Hat 8.0.我在安装驱动前已经安装了内核文件,并把/usr/src/下面的linux-2.4*** 的文件夹 改名为 linux[据高手所说,这叫编译].
安装驱动的过程有 1.   ./Configure
                        2.   make install
                        3.   ./snddevicex
                        4.   修改modules.conf

但我在make install时,出错了,提示如下:
# 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: *** Error 1
#


请问如何解决?3x先~

pjc5520 发表于 2003-3-10 09:26:50

我觉得你的问题是因为权限问题.可能你对是驱动源文件所在的目录没有写权限.试一下把整个目录拷贝到/root下.(如果你使用root登陆的话.)
/usr/src下的东西不用动.保持原样就行,把你的改动该回来.

cheyo 发表于 2003-3-12 18:02:34

谢谢pjc5520兄回复.
我重装了系统,把驱动复制到/tmp/下进行安装.果然make install时所改进.
但还是有问题,提示如下:

# 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: Entering directory `/tmp/sound/alsa-driver-0.9.0rc5'
make: Entering directory `/tmp/sound/alsa-driver-0.9.0rc5/acore'
make-C ioctl32 fastdep
make: 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_BUILDhwdep32.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: *** Error 1
make: Leaving directory `/tmp/sound/alsa-driver-0.9.0rc5/acore/ioctl32'
make: *** Error 2
make: Leaving directory `/tmp/sound/alsa-driver-0.9.0rc5/acore'
make: *** Error 1
make: Leaving directory `/tmp/sound/alsa-driver-0.9.0rc5'
make: *** Error 2
#

pjc5520 发表于 2003-3-13 14:30:51

重新安装内核

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

cheyo 发表于 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还是出错。这次的提示是:

# 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: Entering directory `/root/alsa-driver-0.9.0rc5'
make: 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: *** No rule to make target `/alsa-kernel/core/Makefile'.Stop.
make: Leaving directory `/root/alsa-driver-0.9.0rc5/acore'
make: *** Error 1
make: Leaving directory `/root/alsa-driver-0.9.0rc5'
make: *** Error 2
#

pjc5520 发表于 2003-3-13 22:33:15

不要改名,那个连接的名字就叫linux-2.4。
你执行./configure是成功了吗,可信息好像是没生成MakeFile文件。去alsa-diver目录下看一看有没有这个文件。

cheyo 发表于 2003-3-15 02:03:07

回pjc5520兄,有MakeFile这个文件。:

# ls
acinclude.m4copying   install-sh      readme         toplevel.config.in
aclocal.m4    cvscompileisa               Rules.make       usb
acore         doc         Makefile          snddevices       utils
alsa-kernel   drivers   Makefile.conf.insnddevices.in    version
arm         faq         modules         support          version.in
CARDS-STATUShal2      parisc            synth            warning
config.log    i2c         pci               test
configure   include   pcmcia            todo
configure.ininstall   ppc               toplevel.config
# make install
make dep
make: Entering directory `/tmp/sound'
make: 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: *** No rule to make target `/Rules.make'.Stop.
make: Leaving directory `/tmp/sound/acore'
make: *** Error 1
make: Leaving directory `/tmp/sound'
make: *** Error 2
#

pjc5520 发表于 2003-3-15 16:42:36

你看到的那个MakeFile是原有的,不是你运行./configure生成的。你把liunx改回linux-2.4后。重新运行./configure    make install,
然后运行./snddevices,在去alsa-driver/utils下运行./alsaconf就行了。

seaaide 发表于 2003-3-16 12:00:12

alc201a
偶在make install时也出错
于是把那个linux改回linux-2.4.18-3,并在里面加入alsa-driver-0.9.0rc3整个文件夹,再make install又出错,如下:
# make install
make dep
make: Entering directory `/root/temp/sound/201a/alsa-driver-0.9.0rc3'
make: Entering directory `/root/temp/sound/201a/alsa-driver-0.9.0rc3/acore'
make-C ioctl32 fastdep
make: 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 -pipehwdep32.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: *** Error 1
make: Leaving directory `/root/temp/sound/201a/alsa-driver-0.9.0rc3/acore/ioctl32'
make: *** Error 2
make: Leaving directory `/root/temp/sound/201a/alsa-driver-0.9.0rc3/acore'
make: *** Error 1
make: Leaving directory `/root/temp/sound/201a/alsa-driver-0.9.0rc3'
make: *** Error 2
#
不知那个fastdep,_sfddep_ioctl32,dep是什么文件(夹),偶找过了,没有!

pjc5520 发表于 2003-3-16 23:13:24

seaaide

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

seaaide 发表于 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?

pjc5520 发表于 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就行了。

seaaide 发表于 2003-3-17 19:32:03


你必须再安装alsa-lib和alsa-utils,注意顺序。然后你去alsa-driver/utils下运行./alsaconf就行了。

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

cwwhy 发表于 2003-3-17 21:51:35

郁闷,我的alsa总不成功.我的是via8233的芯片, 后来去威盛下的驱动for rh8.0的里面就alsaconf,audnmute两个文件,不知道是什么东西啊,也不知道怎么用. 烦死了!

dalin 发表于 2003-3-17 23:27:15

郁闷,我的alsa总不成功.我的是via8233的芯片, 后来去威盛下的驱动for rh8.0的里面就alsaconf,audnmute两个文件,不知道是什么东西啊,也不知道怎么用. 烦死了!
威盛现在的所谓驱动其实只是一些教你怎么安装alsa的文档而已了。
上面的错误看来是缺少相应的头文件导致的。
页: [1] 2
查看完整版本: "make install"失败 -