크로스 컴파일 환경 구축 중 gcc 초기 컴파일중 에러가 납니다.
에러 내용은..
gcc 초기 컴파일중..
checking for C compiler default output file name... configure: error : C compiler cannot create executables
See'config.log' for more details.
make: *** [configure-target-libmudflap] Error 1
...
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:1808: checking for gcc
configure:1921: checking whether the C compiler (gcc ) works
configure:1937: gcc -o conftest conftest.c 1>&5
configure:1963: checking whether the C compiler (gcc ) is a cross-compiler
configure:1968: checking whether we are using GNU C
configure:1977: gcc -E conftest.c
configure:1996: checking whether gcc accepts -g
configure:2063: checking for gnatbind
configure:2128: checking whether compiler driver understands Ada
configure:2160: checking how to compare bootstrapped objects
configure:2258: checking for correct version of gmp.h
configure:2271: gcc -c -g -O2 conftest.c 1>&5
configure:2261:17: error: gmp.h: No such file or directory
configure: In function 'main':
configure:2265: error: 'choke' undeclared (first use in this function)
configure:2265: error: (Each undeclared identifier is reported only once
configure:2265: error: for each function it appears in.)
configure:2265: error: syntax error before 'me'
configure: failed program was:
#line 2260 "configure"
#include "confdefs.h"
#include "gmp.h"
int main() {
#if __GNU_MP_VERSION < 3
choke me
#endif
; return 0; }
configure:2793: checking for bison
configure:2828: checking for bison
configure:2863: checking for gm4
configure:2863: checking for gnum4
configure:2863: checking for m4
configure:2898: checking for flex
configure:2933: checking for flex
configure:2968: checking for makeinfo
configure:3615: checking for i686-pc-linux-gnu-ar
configure:3648: checking for ar
configure:3687: checking for i686-pc-linux-gnu-as
configure:3720: checking for as
configure:3759: checking for i686-pc-linux-gnu-dlltool
configure:3792: checking for dlltool
configure:3831: checking for i686-pc-linux-gnu-ld
configure:3903: checking for i686-pc-linux-gnu-nm
configure:3936: checking for nm
configure:3975: checking for i686-pc-linux-gnu-ranlib
configure:4008: checking for ranlib
configure:4047: checking for i686-pc-linux-gnu-windres
configure:4080: checking for windres
configure:4119: checking for i686-pc-linux-gnu-objcopy
configure:4152: checking for objcopy
configure:4191: checking for i686-pc-linux-gnu-objdump
configure:4224: checking for objdump
configure:4270: checking for arm-linux-ar
configure:4342: checking for arm-linux-as
configure:4414: checking for arm-linux-dlltool
configure:4486: checking for arm-linux-ld
configure:4558: checking for arm-linux-nm
configure:4630: checking for arm-linux-ranlib
configure:4702: checking for arm-linux-windres
configure:4820: checking whether to enable maintainer-specific portions of Makefiles
configure:4867: checking if symbolic links between directories work
환경은 suse 10 에서 gcc-4.0.2 교차개발용 리눅스 커널은
2.6.15.6을 사용했습니다.
arm 용 교차개발환경 구축중인데 에러가 나서 넘어가질 못하네요.
댓글 달기