[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]$