[질문]임베디드 리눅스 크로스 컴파일시 에러입니다.

blue39의 이미지

안녕하세요~~

지금 레드햇 9.0 환경에서 MIPS Brecis MSP2007 에 부트로더를 올리기위해

크로스 컴파일 작업을 하고 있습니다. 그런데 처음 컴파일 시에 에러가 나오는

데 이게 도대체 무엇때문인지 모르겠습니다. 아래는 에러 코드입니다.

gcc -Wall -O2 gcc-uClibc.c -o mips-uclibc-gcc
which: no mips-ld in (/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11R6/bin:/root/bin)
chmod a+x mips-uclibc-ld
make[2]: 나감 `/home/blue39/mnt/cdrom/uClinux/uclibc/extra/gcc-uClibc' 디렉토리
make[1]: 나감 `/home/blue39/mnt/cdrom/uClinux/uclibc/extra' 디렉토리
make -C  libc
make[1]: 들어감 `/home/blue39/mnt/cdrom/uClinux/uclibc/libc' 디렉토리
make -C  misc
make[2]: 들어감 `/home/blue39/mnt/cdrom/uClinux/uclibc/libc/misc' 디렉토리
make -C  assert
make[3]: 들어감 `/home/blue39/mnt/cdrom/uClinux/uclibc/libc/misc/assert' 디렉토리
mips-ar r ../../../libc/libc.a __assert.o
make[3]: mips-ar: 명령을 찾지 못했음
make[3]: *** [ar-target] 오류 127
make[3]: 나감 `/home/blue39/mnt/cdrom/uClinux/uclibc/libc/misc/assert' 디렉토리
make[2]: *** [_dir_assert] 오류 2
make[2]: 나감 `/home/blue39/mnt/cdrom/uClinux/uclibc/libc/misc' 디렉토리
make[1]: *** [_dir_misc] 오류 2
make[1]: 나감 `/home/blue39/mnt/cdrom/uClinux/uclibc/libc' 디렉토리
make: *** [_dir_libc] 오류 2

이렇게 에러가 발생합니다. 무엇이 문제인지 도와주세요~
cinsk의 이미지

mips-ar, mips-ld가 없네요.
설치하세요.

blue39의 이미지

원래는 Brecis라는 보드를 컴파일 하기위해 그 회사에서 제공하는 체인 툴을 컴파일 하다 에러가 나서 부분 적으로 해보다 질문을 드렸는데요. 밑에 내용이 제일 처음 생긴 에러 입니다.

mips-gcc -Wall -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -Os -fno-schedule-insns2  -fno-builtin -nostdinc  -I../../../include -iwithprefix include -I. -D_LIBC -Werror -D__UCLIBC_USE_UNIFIED_SYSCALL__ -DNDEBUG  -c __assert.c -o __assert.o
mips-strip -x -R .note -R .comment __assert.o
cannot handle file 'libc.so.6' with TLS data
make[5]: *** [__assert.o] 오류 127
make[5]: 나감 `/home/blue39/mnt/cdrom/uClinux/uclibc/libc/misc/assert' 디렉토리
make[4]: *** [_dir_assert] 오류 2
make[4]: 나감 `/home/blue39/mnt/cdrom/uClinux/uclibc/libc/misc' 디렉토리
make[3]: *** [_dir_misc] 오류 2
make[3]: 나감 `/home/blue39/mnt/cdrom/uClinux/uclibc/libc' 디렉토리
make[2]: *** [_dir_libc] 오류 2
make[2]: 나감 `/home/blue39/mnt/cdrom/uClinux/uclibc' 디렉토리
make[1]: *** [_build_/home/blue39/mnt/cdrom/uClinux/uclibc] 오류 2
make[1]: 나감 `/home/blue39/mnt/cdrom/uClinux/brecis/compilescripts' 디렉토리
make: *** [LINUXALL] 오류 2

이렇게 나오면서 컴파일이 멈춥니다. 왜 그런걸까요...

댓글 달기

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