LinuxSir.cn,穿越时空的Linuxsir!

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

代码模式 ‘kernel’ 在 32 位模式下不受支持,Compiling has gong wrong....(已解决

[复制链接]
发表于 2008-4-6 18:39:16 | 显示全部楼层 |阅读模式
Now,I'm usr the livecd of ubuntu to install the gentoo 2008 beta.
But.whatever I do(use make menuconfig OR genkernel --menuconfig all),it aways show the messegs below.

arch/x86/kernel/asm-offsets.c:1: 错误:代码模式 ‘kernel’ 在 32 位模式下不受支持
arch/x86/kernel/asm-offsets.c:1: 对不起,尚未实现:未编译入对 64 位模式的支持
make[1]: *** [arch/x86/kernel/asm-offsets.s] 错误 1
make: *** [prepare0] 错误 2


    I'm wating for the anwser on line,thank you!

This is my .config file:

http://rafb.net/p/PMsUUi48.html
发表于 2008-4-6 19:04:01 | 显示全部楼层
you won't get a quick answer just because of you are waiting online.
Thanks!
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-4-6 19:36:45 | 显示全部楼层
呵呵,可能吧,用google 找了些资料,还是没解决,到论坛问问。


另外,向大家推荐一个在线拼音输入法网站:
http://dict.cn/ime.html
我现在就用着,没输入法的时候应急很不8错。
回复 支持 反对

使用道具 举报

发表于 2008-4-6 20:24:14 | 显示全部楼层
btw, i suggest you 'export LC_ALL=en_US.utf8'
then compile it again, then search the English error msg.
回复 支持 反对

使用道具 举报

发表于 2008-4-6 23:07:40 | 显示全部楼层
你是什么CPU?
你的config说明你要编译64位内核
CONFIG_X86_64=y
请明确你自己想要的是什么?
你用的ubutuCD是64位的?
那你的stage3下载的是64位的吗?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-4-7 10:01:37 | 显示全部楼层
哦,我的livecd 是64位的,stage3是i686  32位的
问题在这里??!!  我cpu类型是选的althon,改下试试.....   

谢谢!
回复 支持 反对

使用道具 举报

发表于 2008-4-7 10:22:02 | 显示全部楼层
在问口逛的时候就猜到可能是你 64位跟32位的问题
解决后修改标题吧,
回复 支持 反对

使用道具 举报

发表于 2008-4-7 10:33:42 | 显示全部楼层
如果你用64位liveCD来安装32位系统,请用
linux32 chroot ...
回复 支持 反对

使用道具 举报

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

本版积分规则

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