我用Mandrake 9.2 , 声卡 cmi8738 , 安装时 #./configure --with-kernel=/usr 成功 , 接着运行 #make如下 , "cc1: error: code model `kernel' not supported in the 32 bit mode"什么意思 , 如何解决呢 ? 先行谢过了.
[root@localhost alsa-driver-1.0.0rc2]# make
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/tmp/alsa-driver-1.0.0rc2'
make[2]: Entering directory `/root/tmp/alsa-driver-1.0.0rc2/acore'
make -C ioctl32 fastdep
make[3]: Entering directory `/root/tmp/alsa-driver-1.0.0rc2/acore/ioctl32'
gcc -M -D__KERNEL__ -D__isapnp_now__ -DMODULE=1 -I/root/tmp/alsa-driver-1.0.0rc2/include -I/usr/include -O2 -mno-red-zone -mcmodel=kernel -fno-reorder-blocks -fno-strength-reduce -finline-limit=2000 -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD ioctl32.c pcm32.c rawmidi32.c timer32.c hwdep32.c seq32.c > .depend
cc1: error: code model `kernel' not supported in the 32 bit mode
cc1: error: code model `kernel' not supported in the 32 bit mode
cc1: error: code model `kernel' not supported in the 32 bit mode
cc1: error: code model `kernel' not supported in the 32 bit mode
cc1: error: code model `kernel' not supported in the 32 bit mode
cc1: error: code model `kernel' not supported in the 32 bit mode
make[3]: *** [fastdep] 错误 1
make[3]: Leaving directory `/root/tmp/alsa-driver-1.0.0rc2/acore/ioctl32'
make[2]: *** [_sfdep_ioctl32] 错误 2
make[2]: Leaving directory `/root/tmp/alsa-driver-1.0.0rc2/acore'
make[1]: *** [dep] 错误 1
make[1]: Leaving directory `/root/tmp/alsa-driver-1.0.0rc2'
make: *** [include/sndversions.h] 错误 2