- 论坛徽章:
- 0
|
装得centos 6.2没有声音,于是上网查了一下,按照人家的提示alsa,偶是新手,按布就班来前面都搞定了,但到了make install这一步就不行了,也上网查了一下,确实有人问过,但貌似最后都是不了了之,请问哪位大牛知道这到底是怎么了?该怎么办??一下是执行的代码,大家看看:
[root@localhost alsa-driver-1.0.25]# ./configure --with-kernel=/usr/src/kernels/2.6.32-220.239.1.el6.x86_64/
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for current directory... /usr/src/alsa/alsa-driver-1.0.25
checking cross compile...
checking for directory with ALSA kernel sources... /usr/src/alsa/alsa-driver-1.0.25/alsa-kernel
checking for directory with kernel source... Please install the package with full kernel sources for your distribution
or use --with-kernel=dir option to specify another directory with kernel
sources (default is /lib/modules/2.6.32-220.23.1.el6.x86_64/source).
[root@localhost alsa-driver-1.0.25]# make
make all-deps
make[1]: Entering directory `/usr/src/alsa/alsa-driver-1.0.25'
make[1]: Nothing to be done for `all-deps'.
make[1]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.25'
Please, run the configure script as first...
[root@localhost alsa-driver-1.0.25]# make install
if [ -L /include/sound ]; then \
rm -f /include/sound; \
ln -sf /usr/src/alsa/alsa-driver-1.0.25/include/sound /include/sound; \
else \
rm -rf /include/sound; \
install -d -m 755 -g root -o root /include/sound; \
for f in include/sound/*.h; do \
install -m 644 -g root -o root $f /include/sound; \
done \
fi
install: 无法获取"include/sound/*.h" 的文件状态(stat): 没有那个文件或目录
make: *** [install-headers] 错误 1
[root@localhost alsa-driver-1.0.25]#
|
|