LinuxSir.cn,穿越时空的Linuxsir!

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

编译内核时"没有那个文件或目录"?

[复制链接]
发表于 2005-3-16 02:33:30 | 显示全部楼层 |阅读模式
编译内核时出现这样的错...

[root@tayp linux-2.6.11.3]# make xconfig
  HOSTCC  scripts/basic/fixdep
In file included from /usr/include/bits/posix1_lim.h:126,
                 from /usr/include/limits.h:144,
                 from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/limits.h:132,
                 from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/syslimits.h:7,
                 from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include/limits.h:11,
                 from scripts/basic/fixdep.c:113:
/usr/include/bits/local_lim.h:36:26: linux/limits.h: 没有那个文件或目录
In file included from /usr/include/netinet/in.h:212,
                 from /usr/include/arpa/inet.h:23,
                 from scripts/basic/fixdep.c:115:
/usr/include/bits/socket.h:305:24: asm/socket.h: 没有那个文件或目录
scripts/basic/fixdep.c: In function `use_config':
scripts/basic/fixdep.c:201: `PATH_MAX' undeclared (first use in this function)
scripts/basic/fixdep.c:201: (Each undeclared identifier is reported only once
scripts/basic/fixdep.c:201: for each function it appears in.)
scripts/basic/fixdep.c:201: warning: unused variable `s'
scripts/basic/fixdep.c: In function `parse_dep_file':
scripts/basic/fixdep.c:297: `PATH_MAX' undeclared (first use in this function)
scripts/basic/fixdep.c:297: warning: unused variable `s'
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2
[root@tayp linux-2.6.11.3]#

是什么文件没安装?那些文件在哪里?怎么装?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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