LinuxSir.cn,穿越时空的Linuxsir!

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

对内核编译驱动出错!求高人指点!

[复制链接]
发表于 2006-8-19 13:32:51 | 显示全部楼层 |阅读模式
在安装vtune时,针对内核编译驱动,出现错误。/lib/modules/2.6.15-1.2054_FC5/build文件图标上有红色的圆圈,其属性无法修改。/usr/src/redhat目录下面的文件夹都是空的。具体的信息如下:
No pre-built driver for x32 up kernel 2.6.15-1.2054_FC5
was found in directory "/opt/intel/vtune/vdk" .

Proceed with building a driver for this kernel? (Yes/No) [Yes]

C compiler to use: [ /usr/bin/gcc ]

Make command to use: [ /usr/bin/make ]

ERROR: unable to access "/lib/modules/2.6.15-1.2054_FC5/build" !

Note: this directory must be accessible by user "root"
      and point to configured kernel sources appropriate for
      kernel version 2.6.15-1.2054_FC5 .

      Try symlinking this directory to the kernel source
      directory, e.g.,

        ln -s /usr/src/linux-2.6.15-1.2054_FC5 /lib/modules/2.6.15-1.2054_FC5/build

      and then re-run the ./build-driver script.
发表于 2006-8-19 13:40:28 | 显示全部楼层
yum install kernel-devel

论坛里有很多很多很多了,你先搜索一下
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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