|
发表于 2004-10-18 00:27:42
|
显示全部楼层
你好,我用FC2,sony笔记本,编译到make得时候出现如下错误:
make[1]: Entering directory `/lib/modules/2.6.5-1.358/build'
CC [M] /root/driver/alsa-driver-1.0.7rc2/kbuild/../drivers/portman2x4.o
In file included from /root/driver/alsa-driver-1.0.7rc2/drivers/portman2x4.c:1:
/root/driver/alsa-driver-1.0.7rc2/drivers/portman2x4-kernel.c:60: error: syntax error before "int"
/root/driver/alsa-driver-1.0.7rc2/drivers/portman2x4-kernel.c:60: warning: type defaults to `int' in declaration of `module_param_array'
/root/driver/alsa-driver-1.0.7rc2/drivers/portman2x4-kernel.c:60: warning: function declaration isn't a prototype
/root/driver/alsa-driver-1.0.7rc2/drivers/portman2x4-kernel.c:60: warning: data definition has no type or storage class
/root/driver/alsa-driver-1.0.7rc2/drivers/portman2x4-kernel.c:62: error: syntax error before numeric constant
/root/driver/alsa-driver-1.0.7rc2/drivers/portman2x4-kernel.c:62: warning: type defaults to `int' in declaration of `module_param_array'
/root/driver/alsa-driver-1.0.7rc2/drivers/portman2x4-kernel.c:62: warning: function declaration isn't a prototype
/root/driver/alsa-driver-1.0.7rc2/drivers/portman2x4-kernel.c:62: warning: data definition has no type or storage class
/root/driver/alsa-driver-1.0.7rc2/drivers/portman2x4-kernel.c:64: error: syntax error before numeric constant
/root/driver/alsa-driver-1.0.7rc2/drivers/portman2x4-kernel.c:64: warning: type defaults to `int' in declaration of `module_param_array'
/root/driver/alsa-driver-1.0.7rc2/drivers/portman2x4-kernel.c:64: warning: function declaration isn't a prototype
/root/driver/alsa-driver-1.0.7rc2/drivers/portman2x4-kernel.c:64: warning: data definition has no type or storage class
/root/driver/alsa-driver-1.0.7rc2/drivers/portman2x4-kernel.c:58: warning: `boot_devs' defined but not used
make[3]: *** [/root/driver/alsa-driver-1.0.7rc2/kbuild/../drivers/portman2x4.o] ?? 1
make[2]: *** [/root/driver/alsa-driver-1.0.7rc2/kbuild/../drivers] ?? 2
make[1]: *** [/root/driver/alsa-driver-1.0.7rc2/kbuild] 错误 2
make[1]: Leaving directory `/lib/modules/2.6.5-1.358/build'
make: *** [compile] 错误 2
然后make install就出现如下错误
find /lib/modules/2.6.5-1.358/kernel/sound -name 'snd*.*o' | xargs rm -f
make[1]: Entering directory `/root/driver/alsa-driver-1.0.7rc2/acore'
mkdir -p /lib/modules/2.6.5-1.358/kernel/sound/acore
cp snd-hwdep.ko snd-page-alloc.ko snd-pcm.ko snd-rawmidi.ko snd-rtctimer.ko snd-timer.ko snd.ko /lib/modules/2.6.5-1.358/kernel/sound/acore
cp: stat‘snd-hwdep.ko’失败: 没有那个文件或目录
cp: stat‘snd-page-alloc.ko’失败: 没有那个文件或目录
cp: stat‘snd-pcm.ko’失败: 没有那个文件或目录
cp: stat‘snd-rawmidi.ko’失败: 没有那个文件或目录
cp: stat‘snd-rtctimer.ko’失败: 没有那个文件或目录
cp: stat‘snd-timer.ko’失败: 没有那个文件或目录
cp: stat‘snd.ko’失败: 没有那个文件或目录
make[1]: *** [modules_install] 错误 1
make[1]: Leaving directory `/root/driver/alsa-driver-1.0.7rc2/acore'
make: *** [install-modules] 错误 1
因此我现在无法运行alsaconfig,请问怎么解决呢?谢谢! |
|