[질문] toolchain 구축 문제

ikeda의 이미지

arm용 toolchain을 만들려고 합니다.

binutils 2.18
gcc 4.3.0
glibc 2.7
linux kernel 2.6.25.9

를 사용하고 있고요 문제점은 다음과 같습니다.

glibc를 configure할 때 특별한 오류없이 make파일이 생성이 되었습니다.
하지만 make를 실행시키면 다음과 같은 오류가 발생합니다.
--------------------------------------------------------------
glibc-build>make
.............................중략..............................

In file included from /usr/local/arm-linux/include/asm/page.h:178,
from ../ports/sysdeps/unix/sysv/linux/arm/ioperm.c:48:
/usr/local/arm-linux/include/asm/memory.h:191: error: expected '=', ',', ';', 'asm' or '__attribute' before 'unsigned'
/usr/local/arm-linux/include/asm/memory.h:196: error: expected '=', ',', ';', 'asm' or '__attribute' before 'void'
make[2]: ***[/usr/local/toolchain/glibc-build/misc/ioperm.o] 오류 1
make[2]: Leaving directory '/usr/local/toolchain/glibc-2.7/misc'
make[1]: ***[misc/subdir_lib] 오류 2
make[1]: Leving directory '/usr/local/toolchain/glibc-2.7'
make ***[all] 오류 2
---------------------------------------------------------------

구글링을 해보았으나 이 오류에 대한 명확한 답을 못 찾겠더군요...;;
혹시나 해서 configure했을 때 출력을 확인해보았습니다.

---------------------------------------------------------------
glibc-build>CC=arm-linux-gcc CXX=arm-linux-c++ ../glibc-2.7/configure arm-linux --prefix=/usr/local/arm-linux
--enable-add-ons --with-headers=/usr/local/arm-linux/include --enable-languages=c,c++

configure: WARNING: you should use --build --host --target
checking build system type... arm-unkown-linux-gnu
checking host system type... arm-unkown-linux-gnu
configure: running configure fragment for add-on libidn
configure: running configure fragment for add-on linuxthreads
linuxthreads disabled because nptl add-on is also in use
configure: running configure fragment for add-on nptl
checking add-on ports for preconfigure fragments... am33 arm hppa m68k mips
checking sysdep dir... ports/sysdeps/arm/elf ports/sysdeps/unix/sysv/linux/arm/nptl ports/sysdeps/
.................................................중략.............................................
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for arm-linux-gcc... arm-linux-gcc
checking for suffix of object files... 0
checking whether we are using the GNU C compiler... yes
checking whether arm-linux-gcc accepts -g... yes
checking for arm-linux-gcc option to accept -g... yes
checking how to run the C preprocessor... arm-linux-gcc -E
checking whether we are using the GNU C++compiler... yes
checking whether arm-linux-c++ accepts -g... yes
..................................................중략..............................................
checking for ANSI C header files... no
checking for sys/types.h... no
checking for sys/stat.h... no
checking for stdlib.h... no
checking for string.h... no
checking for strings.h... no
checking for inttypes.h... no
checking for stdint.h... no
checking for unistd.h... no
checking for long double... no
checking size of long double... 0
...................................................중략..............................................
중간에 보니 ANSI C headers checking이 no라고 뜨더군요.
이것이 의심이 되기는 한데 이것도 해결방안을 모르겠어요..

혹시나 해결방안을 아신다면 도움을 부탁드리겠습니다... 굽신굽신...(__)

댓글 달기

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
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.