LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
123
返回列表 发新帖
楼主: johnlight

Why cannot my Host System compile source code completely?

[复制链接]
发表于 2006-3-5 13:47:07 | 显示全部楼层
我是问  你的 binutils 是第几次装的?。

我没有用过 VPC,不知道怎样。还有,最好用原来的iso,不要转成 bin。不知道里边会不会有什么问题。。。
回复 支持 反对

使用道具 举报

发表于 2006-3-5 13:49:56 | 显示全部楼层
binutils第一次
我用mkreiserfs -h r5 /dev/hda2,格式化的.
回复 支持 反对

使用道具 举报

发表于 2006-3-5 14:24:45 | 显示全部楼层
最好还是用VMWare来试试,VPC上面没有做过,不知道是否是虚拟机自身产生的问题.
回复 支持 反对

使用道具 举报

发表于 2006-3-5 14:32:49 | 显示全部楼层
Post by youbest
最好还是用VMWare来试试,VPC上面没有做过,不知道是否是虚拟机自身产生的问题.


用binutils-2.15.94.0.2.2.tar.bz2 也有同样的问题。看来只有换vmware试试了。

binutils-2.15.94.0.2.2 的config.log:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:595: checking host system type
configure:616: checking target system type
configure:634: checking build system type
configure:689: checking for a BSD compatible install
configure:742: checking whether ln works
configure:766: checking whether ln -s works
configure:1798: checking for gcc
configure:1911: checking whether the C compiler (gcc  ) works
configure:1927: gcc -o conftest    conftest.c  1>&5
configure:1953: checking whether the C compiler (gcc  ) is a cross-compiler
configure:1958: checking whether we are using GNU C
configure:1967: gcc -E conftest.c
configure:1986: checking whether gcc accepts -g
configure:2053: checking for gnatbind
configure:2118: checking whether compiler driver understands Ada
configure:2151: checking how to compare bootstrapped objects
configure:2249: checking for correct version of gmp.h
configure:2262: gcc -c -g -O2   conftest.c 1>&5
configure:2252:17: gmp.h: No such file or directory
configure: In function `main':
configure:2256: error: `choke' undeclared (first use in this function)
configure:2256: error: (Each undeclared identifier is reported only once
configure:2256: error: for each function it appears in.)
configure:2256: error: parse error before "me"
configure: failed program was:
#line 2251 "configure"
#include "confdefs.h"
#include "gmp.h"
int main() {

#if __GNU_MP_VERSION < 3
choke me
#endif

; return 0; }
configure:2775: checking for bison
configure:2810: checking for bison
configure:2845: checking for gm4
configure:2845: checking for gnum4
configure:2845: checking for m4
configure:2880: checking for flex
configure:2915: checking for flex
configure:2950: checking for makeinfo
configure:3596: checking for i686-pc-linux-gnu-ar
configure:3629: checking for ar
configure:3668: checking for i686-pc-linux-gnu-as
configure:3701: checking for as
configure:3740: checking for i686-pc-linux-gnu-dlltool
configure:3773: checking for dlltool
configure:3812: checking for i686-pc-linux-gnu-ld
configure:3845: checking for ld
configure:3884: checking for i686-pc-linux-gnu-nm
configure:3917: checking for nm
configure:3956: checking for i686-pc-linux-gnu-ranlib
configure:3989: checking for ranlib
configure:4028: checking for i686-pc-linux-gnu-windres
configure:4061: checking for windres
configure:4100: checking for i686-pc-linux-gnu-objcopy
configure:4133: checking for objcopy
configure:4172: checking for i686-pc-linux-gnu-objdump
configure:4205: checking for objdump
configure:4251: checking for i686-pc-linux-gnu-ar
configure:4284: checking for ar
configure:4323: checking for i686-pc-linux-gnu-as
configure:4356: checking for as
configure:4395: checking for i686-pc-linux-gnu-dlltool
configure:4428: checking for dlltool
configure:4467: checking for i686-pc-linux-gnu-ld
configure:4500: checking for ld
configure:4539: checking for i686-pc-linux-gnu-nm
configure:4572: checking for nm
configure:4611: checking for i686-pc-linux-gnu-ranlib
configure:4644: checking for ranlib
configure:4683: checking for i686-pc-linux-gnu-windres
configure:4716: checking for windres
configure:4801: checking whether to enable maintainer-specific portions of Makefiles
configure:4848: checking if symbolic links between directories work
回复 支持 反对

使用道具 举报

发表于 2006-3-5 16:01:09 | 显示全部楼层
谢谢楼上俩位斑主的帮助。
  
  果然跟我的VPC有关,现在换了VMWARE就正常了。不知道大家用VPC的有没有遇到这样的问题 。如果有,youbest斑主最好能在文章里说明一下。
回复 支持 反对

使用道具 举报

发表于 2006-3-5 17:00:26 | 显示全部楼层
谢谢反馈。
我已经加入 FAQ 了。
回复 支持 反对

使用道具 举报

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

本版积分规则

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