|
|
发表于 2006-3-5 10:52:19
|
显示全部楼层
谢谢大家
Post by youbest
好象是一开始就出错,难道主系统上没有安装gcc?
是用LiveCD做的吗?
我用的是 liveCD 6.1.4,binutils2.16.1.tar.bz2
Post by 终极幻想
把 config.log 中间错误的那一段贴出来。。不然我们猜也擦不出什么?
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:1809: checking for gcc
configure:1922: checking whether the C compiler (gcc ) works
configure:1938: gcc -o conftest conftest.c 1>&5
configure:1964: checking whether the C compiler (gcc ) is a cross-compiler
configure:1969: checking whether we are using GNU C
configure:1978: gcc -E conftest.c
configure:1997: checking whether gcc accepts -g
configure:2064: checking for gnatbind
configure:2129: checking whether compiler driver understands Ada
configure:2162: checking how to compare bootstrapped objects
configure:2260: checking for correct version of gmp.h
configure:2273: gcc -c -g -O2 conftest.c 1>&5
configure:2263:17: gmp.h: No such file or directory
configure: In function `main':
configure:2267: error: `choke' undeclared (first use in this function)
configure:2267: error: (Each undeclared identifier is reported only once
configure:2267: error: for each function it appears in.)
configure:2267: error: parse error before "me"
configure: failed program was:
#line 2262 "configure"
#include "confdefs.h"
#include "gmp.h"
int main() {
#if __GNU_MP_VERSION < 3
choke me
#endif
; return 0; }
configure:2786: checking for bison
configure:2821: checking for bison
configure:2856: checking for gm4
configure:2856: checking for gnum4
configure:2856: checking for m4
configure:2891: checking for flex
configure:2926: checking for flex
configure:2961: checking for makeinfo
configure:3607: checking for i686-pc-linux-gnu-ar
configure:3640: checking for ar
configure:3679: checking for i686-pc-linux-gnu-as
configure:3712: checking for as
configure:3751: checking for i686-pc-linux-gnu-dlltool
configure:3784: checking for dlltool
configure:3823: checking for i686-pc-linux-gnu-ld
configure:3856: checking for ld
configure:3895: checking for i686-pc-linux-gnu-nm
configure:3928: checking for nm
configure:3967: checking for i686-pc-linux-gnu-ranlib
configure:4000: checking for ranlib
configure:4039: checking for i686-pc-linux-gnu-windres
configure:4072: checking for windres
configure:4111: checking for i686-pc-linux-gnu-objcopy
configure:4144: checking for objcopy
configure:4183: checking for i686-pc-linux-gnu-objdump
configure:4216: checking for objdump
configure:4262: checking for i686-pc-linux-gnu-ar
configure:4295: checking for ar
configure:4334: checking for i686-pc-linux-gnu-as
configure:4367: checking for as
configure:4406: checking for i686-pc-linux-gnu-dlltool
configure:4439: checking for dlltool
configure:4478: checking for i686-pc-linux-gnu-ld
configure:4511: checking for ld
configure:4550: checking for i686-pc-linux-gnu-nm
configure:4583: checking for nm
configure:4622: checking for i686-pc-linux-gnu-ranlib
configure:4655: checking for ranlib
configure:4694: checking for i686-pc-linux-gnu-windres
configure:4727: checking for windres
configure:4812: checking whether to enable maintainer-specific portions of Makefiles
configure:4859: checking if symbolic links between directories work |
|