Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1309210
  • 博文数量: 268
  • 博客积分: 10698
  • 博客等级: 上将
  • 技术积分: 2867
  • 用 户 组: 普通用户
  • 注册时间: 2007-07-14 22:21
文章分类

全部博文(268)

文章存档

2012年(19)

2011年(13)

2010年(29)

2009年(26)

2008年(99)

2007年(82)

我的朋友

分类: LINUX

2010-02-09 17:49:31

./configure某软件时出现下面的中断提示:
The file /lib/modules/2.6.33-rc7/source/include/linux/autoconf.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.33-rc7/source).

说autoconf.h文件不存在,按道理不应该出现这种情况,因为/usr/src下面有两套源码:
linux-2.6.31-gentoo-r6       linux-2.6.33-rc7
这两套源码都是经过了make menuconfig 和 make bzImage 的过程,都会使必要的头文件产生,比较典型的是include/linux/version.h,这文件在两套配置好的源码中都有, 然而,2.6.31版中有include/linux/autoconf.h,而2.6.33的include/linux/里面却没有autoconf.h,用slocate一找,居然在这里:
/include/generated/autoconf.h
奇怪,不知道为何存在一个 generated 文件夹。

阅读(3685) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~