크로스 컴파일 환경 구축 중 gcc 초기 컴파일중 에러가 납니다.

wen21의 이미지

에러 내용은..
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 용 교차개발환경 구축중인데 에러가 나서 넘어가질 못하네요.

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.