我原来用的是Fedora 7,安装完后,声卡没有问题,后来不知道怎么回事,声音就没了,我还以为线不问题,回到Windows下则没有问题,最近装了个Fedora 9 ,安装完后声卡就有问题,从来就没有发过声。
在www.alsa-project.org下载了alsa-driver-1.0.16等软件包,在安装第一个包时alsa-driver-1.0.16时就出错了,不知道是什么原因,以下就是出错的信息。
[luoping@localhost alsa]$ cd alsa-driver-1.0.16
[luoping@localhost alsa-driver-1.0.16]$ ./configure
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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... /var/tmp/alsa/alsa-driver-1.0.16
checking cross compile...
checking for directory with kernel source... /lib/modules/2.6.25.3-18.fc9.i686/source
checking for directory with kernel build... /lib/modules/2.6.25.3-18.fc9.i686/build
checking for kernel linux/version.h... no
The file /lib/modules/2.6.25.3-18.fc9.i686/source/include/linux/version.h does not exist.
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.25.3-18.fc9.i686/source).
[luoping@localhost alsa-driver-1.0.16]$ make install
if [ -L /include/sound ]; then \
rm -f /include/sound; \
ln -sf /var/tmp/alsa/alsa-driver-1.0.16/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
rm: 无法删除目录“/include/sound”: 权限不够
install: 无法 stat “include/sound/*.h”: 没有那个文件或目录
make: *** [install-headers] 错误 1
[luoping@localhost alsa-driver-1.0.16]$
使用ROOT登录时安装也是这样的现象。
出现这些现象后,打开系统下的“音效”窗口,点击任何一个测试按钮,弹出以下信息:
audiotestsrc wave=sine freq=512 ! audioconvert ! audioresample ! gconfaudiosink profile=chat: Failed to connect stream: Invalid argument


fengabriel 于 2008-09-04 18:41:22发表:
顶,遇到同样问题。。。
deepwhite 于 2008-05-24 13:11:23发表:
看起来应该是kernel源码没有安装,可以安装一个kernel的源码,或者kernel-header。安装方法可以看看精华区里面的Fedora 8安装指南里面的内核那部分。
peter.hao 于 2008-05-24 08:44:35发表:
关注学习之,我原来装FEDORA的时候也是如此。