LinuxSir.cn,穿越时空的Linuxsir!

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

debian下编译2.6.8内核出错

[复制链接]
发表于 2005-7-31 10:32:25 | 显示全部楼层 |阅读模式
我在编译的时候总是出错,请大家帮忙:
debian 3.1
gcc version 2.95.4 20011002
Make version 3.80

  1. debian-locca:/usr/src/kernel-source-2.6.8-2.6.8# make mrproper
  2.   CLEAN   scripts/package
  3. debian-locca:/usr/src/kernel-source-2.6.8-2.6.8# make menuconfig
  4.   HOSTCC  scripts/basic/fixdep
  5. scripts/basic/fixdep.c:97: sys/types.h: No such file or directory
  6. scripts/basic/fixdep.c:98: sys/stat.h: No such file or directory
  7. scripts/basic/fixdep.c:99: sys/mman.h: No such file or directory
  8. scripts/basic/fixdep.c:100: unistd.h: No such file or directory
  9. scripts/basic/fixdep.c:101: fcntl.h: No such file or directory
  10. scripts/basic/fixdep.c:102: string.h: No such file or directory
  11. scripts/basic/fixdep.c:103: stdlib.h: No such file or directory
  12. scripts/basic/fixdep.c:104: stdio.h: No such file or directory
  13. In file included from /usr/lib/gcc-lib/i386-linux/2.95.4/include/syslimits.h:7,
  14.                  from /usr/lib/gcc-lib/i386-linux/2.95.4/include/limits.h:11,
  15.                  from scripts/basic/fixdep.c:105:
  16. /usr/lib/gcc-lib/i386-linux/2.95.4/include/limits.h:117: limits.h: No such file                     or directory
  17. scripts/basic/fixdep.c:106: ctype.h: No such file or directory
  18. scripts/basic/fixdep.c:107: netinet/in.h: No such file or directory
  19. make[1]: *** [scripts/basic/fixdep] Error 1
  20. make: *** [scripts_basic] Error 2
复制代码


请高手指点。
发表于 2005-7-31 10:57:19 | 显示全部楼层
apt-get install libc6-dev
缺少glibc的头文件
回复 支持 反对

使用道具 举报

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

本版积分规则

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