免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 2201 | 回复: 10
打印 上一主题 下一主题

gentoo编译时出错? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-11-23 13:03 |只看该作者 |倒序浏览
livecd linux # make dep && make vmlinux image modules modules_install
*** Warning: make dep is unnecessary now.
  CHK     include/linux/version.h
make[1]: Warning: File `/usr/include/sys/types.h' has modification time 3.5e+07 s in the future
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/split-include
  HOSTCC  scripts/basic/docproc
make[1]: warning:  Clock skew detected.  Your build may be incomplete.
  SPLIT   include/linux/autoconf.h -> include/config/*
  CC      arch/sparc64/kernel/asm-offsets.s
  GEN     include/asm-sparc64/asm-offsets.h
make[2]: Warning: File `/usr/include/stdio.h' has modification time 3.5e+07 s in the future
  HOSTCC  scripts/genksyms/genksyms.o
  SHIPPED scripts/genksyms/lex.c
  SHIPPED scripts/genksyms/parse.h
  SHIPPED scripts/genksyms/keywords.c
  HOSTCC  scripts/genksyms/lex.o
  SHIPPED scripts/genksyms/parse.c
  HOSTCC  scripts/genksyms/parse.o
  HOSTLD  scripts/genksyms/genksyms
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
  CC      scripts/mod/empty.o
make[2]: Warning: File `/usr/include/stdio.h' has modification time 3.5e+07 s in the future
  HOSTCC  scripts/mod/mk_elfconfig
  MKELF   scripts/mod/elfconfig.h
  HOSTCC  scripts/mod/file2alias.o
  HOSTCC  scripts/mod/modpost.o
  HOSTCC  scripts/mod/sumversion.o
  HOSTLD  scripts/mod/modpost
make[2]: warning:  Clock skew detected.  Your build may be incomplete.
make[1]: Warning: File `/usr/include/stdio.h' has modification time 3.5e+07 s in the future
  HOSTCC  scripts/kallsyms
  HOSTCC  scripts/pnmtologo
  HOSTCC  scripts/conmakehash
  HOSTCC  scripts/bin2c
make[1]: warning:  Clock skew detected.  Your build may be incomplete.
  CC      init/main.o
In file included from include/linux/gfp.h:4,
                 from include/linux/slab.h:15,
                 from include/linux/percpu.h:4,
                 from include/linux/rcupdate.h:41,
                 from include/linux/pid.h:4,
                 from include/linux/sched.h:33,
                 from include/linux/module.h:10,
                 from init/main.c:16:
include/linux/mmzone.h:500:2: #error Allocator MAX_ORDER exceeds SECTION_SIZE
make[1]: *** [init/main.o] Error 1
make: *** [init] Error 2
在编译gentoo2.6.17出现以上错误?
请帮忙看看,如何解决?

论坛徽章:
0
2 [报告]
发表于 2006-11-23 15:41 |只看该作者
原帖由 phpasp 于 2006-11-23 13:03 发表
livecd linux # make dep && make vmlinux image modules modules_install
...
在编译gentoo2.6.17出现以上错误?...

用的命令都不对,请仔细看文档:
http://www.gentoo.org/doc/zh_tw/handbook/handbook-x86.xml?part=1&chap=7#compiling

论坛徽章:
0
3 [报告]
发表于 2006-11-23 16:15 |只看该作者
用make && make modules_install ?
但结果还是一样的错误呀

我的设备是sparc 64的SUN  UltraSPARC 5的机器,内存为256M 硬盘为HDD 9G

论坛徽章:
0
4 [报告]
发表于 2006-11-23 17:14 |只看该作者
。。。
我的设备是sparc 64的SUN  UltraSPARC 5的机器,内存为256M 硬盘为HDD 9G

你装的什么source?看看这个:
http://www.gentoo.org/doc/en/handbook/handbook-sparc.xml?part=1&chap=7#doc_chap2

论坛徽章:
0
5 [报告]
发表于 2006-11-24 08:41 |只看该作者
我这样下载: USE="-doc symlink" emerge sparc-sources
版本为2.4.32
USE="-doc symlink" emerge gentoo-sources   版本为2.6.17

但是这两个我都试过了,在
make 时,都是出同样的错误呀?

论坛徽章:
0
6 [报告]
发表于 2006-11-26 12:51 |只看该作者
自己来看看,
大伙儿来想想啊

论坛徽章:
0
7 [报告]
发表于 2006-11-26 20:51 |只看该作者
试试vanilla-sources。手册里提到的内核选项都选了吗?

论坛徽章:
0
8 [报告]
发表于 2006-11-27 09:42 |只看该作者
看你的时钟怎么回事?

论坛徽章:
0
9 [报告]
发表于 2006-11-27 14:21 |只看该作者
原帖由 hxliang 于 2006-11-27 09:42 发表
看你的时钟怎么回事?

对,调整一下系统时间看看。

论坛徽章:
0
10 [报告]
发表于 2006-12-23 10:51 |只看该作者
时钟是正确的呀
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP