LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 798|回复: 6

关于猫的驱动问题?

[复制链接]
发表于 2004-8-13 08:21:11 | 显示全部楼层 |阅读模式
http://www.linuxfans.org/nuke/mo ... op=view&sid=973
我的猫和这里提的一样  在Turbolinux7.0 和Redhat9.0(Redhat AS3.0)下都能正常安装来使用
现在我改用Turbolinux10后,在编译make ham处出错  不知道为什么  
是不是GCC版本的问题呀  各位高手给点意见好吗?
发表于 2004-8-13 22:05:13 | 显示全部楼层
不妨把完整的出错信息贴出来让大家看看.
 楼主| 发表于 2004-8-14 14:02:25 | 显示全部楼层
[root@localhost Intel-v92ham-453]# make clean
cd coredrv; make clean
make[1]: Entering directory `/root/程序/Intel-v92ham-453/coredrv'
rm -f *.o *~ core
make[1]: Leaving directory `/root/程序/Intel-v92ham-453/coredrv'
cd serialdrv;  make clean
make[1]: Entering directory `/root/程序/Intel-v92ham-453/serialdrv'
rm -f *.o *~ core
make[1]: Leaving directory `/root/程序/Intel-v92ham-453/serialdrv'
rm -f *.o
rm -f *.o
[root@localhost Intel-v92ham-453]# make ham
   Module precompile check
   Current running kernel is: 2.6.0-6
   /lib/modules...   autoconf.h exists
diff: /boot/vmlinuz.autoconf.h: 没有那个文件或目录
   autoconf.h matches running kernel
diff: /boot/vmlinuz.version.h: 没有那个文件或目录
   version.h matches running kernel
cd coredrv; make \
       "STN_DEF=-DTARGET_HAM -DDSP_CODE_800_SERIES -DTARGET_LINUX -DLINUX" \
       ham;
make[1]: Entering directory `/root/程序/Intel-v92ham-453/coredrv'
cc -DTARGET_HAM -DDSP_CODE_800_SERIES -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I../inc    -c -o coredrv.o coredrv.c
/bin/sh: cc: command not found
make[1]: *** [coredrv.o] 错误 127
make[1]: Leaving directory `/root/程序/Intel-v92ham-453/coredrv'
make: *** [ham] 错误 2
[root@localhost Intel-v92ham-453]#
发表于 2004-8-14 14:46:20 | 显示全部楼层
监察内核开发的相关安装包有没有装全,驱动的说明有没有说支持2.6的内核?有没有新的版本。
 楼主| 发表于 2004-8-14 15:24:30 | 显示全部楼层
没有呀  没有支持2.6内核的驱动   有没有其他方法解决我上网的问题呀  

我看了很多书上都提过软猫的  

但方法都太不清楚了  都是一些原理什么的
 楼主| 发表于 2004-8-14 15:48:32 | 显示全部楼层
这个跟GCC的版本有关系吗?
发表于 2004-8-15 09:51:05 | 显示全部楼层
可能会有关系,但具体要看驱动的说明要求,如果说支持2。4的内核没说支持2。6的,也许就不一定能用。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表