logo
한국어 Select Language
FF 포럼
포럼지기에게 한 마디
공지사항
뉴스 EZ보드 통합 메뉴얼
FA-VUS 개발환경 !강추! 타켓보드 부팅-HyperTerminal 타켓보드 부팅-Tutty 타켓보드 부팅-minicom Windows환경-타겟 Linux 구동 Linux환경-타겟 Linux 구동 개발 시스템 구축 유형 페도라 설치 CentOS 설치 크로스 컴파일러 설치 TFTP 환경 구축 NFS 파일 시스템 구축 삼바 서버 구축 부트로더 부트로더 쓰기 커널 이미지 제작 및 설치 램디스크 이미지 제작 및 설치
임베디드 제품 사용기 오늘의 영어 휴게실 Appliance
강좌 & 팁
강좌 & 팁 EZ-보드 그래픽 & 멀티미디어 네트워크 프로그래밍 디바이스 드라이버 ImJa 솔루션 임베디드 FLEX 안드로이드 iOS 개발 FAIDE 하드웨어 C/C++ go언어 GNU C 레퍼런스 메뉴얼 ARM 루아 응용 프로젝트 이클립스 지그비 개발자 노트 권장도서 FPGA
VIVADO DSP HSIO Logic Zynq
함수설명
C 라이브러리 함수 커널 API 그래픽 라이브러리 - gxLib
자료실
자료실 FALINUX SDK ARM PC-V210 S3C6410
G100-S3C6410 S100-S3C6410 C221-S3C6410 N200-S3C6410 EZ-S3C6410
S5PV210
G100-S5PV210 S100-S5PV210 N200-S5PV210 C221-S5PV210
EZ-S3C2440 EZ-PXA270 EZ-X5 EZ-S2410 Auto Package
도와주세요
FAQ 도와주세요

  • 회원가입
  • ID/PW 찾기
 
  1. FAQ

  2. 도와주세요


최근 글

  • [특판][성Y인Y용Y품][...
  • 요즘 잘 나가는,,,
  • 요즘은 vmware 말고 ...
  • [docker] buildx 를 ...
  • buildroot 사용 관련
  • GPIO 제어 방법 문의 [1]
  • 임베디드 리눅스 개발...
  • make wandboard_quad ...
  • LCD 초기화 코드 좀 ... [1]
  • 임베디드 리눅스 커널...

최근 댓글

  • 오래 전에 해결법을 터득해서 ...
  • 비트 코인으로 작업하는 것은 ...
  • 10년차 임베 엔지니어 입니다. ...
  • 임베디드쪽이라면 SOC 쪽 displ...
  • 그렇군요 제가 질문이 잘못됬었...
  • 취준생으로서 포트폴리오를 만...
  • 제가 현재 취업준비생입니다. ...
  • 에프에이리눅스 보드는 아래 링...
  • 전체
  • 일반
  • X5
  • S2410
  • ESP-NS
  • S3C2440
  • EP9312
  • 구매
  • 기타

일반 크로스 컴파일러...만드는중인데요..

2005.03.07 08:00

이태구 조회 수:9176

소스 직접 컴파일 해서 써볼려고 하고있는데 아무리 해봐도

계속 에러가 나네요.. 아직 리눅스도 익숙하질 않아서 질문 드립니다.

데비안에서 작업중입니다.

문제는 패치랑 환경설정 다 하고 make하는 부분 입니다.

명령 주고 에러만 따로 저장한겁니다. 2> 요렇게 해서-_-;

binutils의 경우입니다. make명령 주면

==============================================================
./../ylwrap: line 86: -d: command not found
make[3]: *** [arparse.c] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive-am] Error 2
make: *** [all-binutils] Error 2
==============================================================

요렇게 에러 나구요.. 그냥 make install하면

==============================================================
./../ylwrap: line 86: -d: command not found
make[2]: *** [arparse.c] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install-binutils] Error 2
==============================================================

이렇게 되네요.. 거의 똑같은 에러같긴 한데..;;

어쨌든 그러고 그냥 gcc도 컴파일 해봤는데요.. make 하면

==============================================================
/tmp/ccLBF9oi.s: Assembler messages:
/tmp/ccLBF9oi.s:37: Error: junk at end of line, first unrecognized
character is `@'
/tmp/ccLBF9oi.s:38: Error: junk at end of line, first unrecognized
character is `@'
/tmp/ccLBF9oi.s:39: Error: no such instruction: `stmfd sp!,{r4,lr}'
/tmp/ccLBF9oi.s:40: Error: no such instruction: `ldr r3,.L10'
/tmp/ccLBF9oi.s:41: Error: no such instruction: `ldrb r2,[r3,'
/tmp/ccLBF9oi.s:42: Error: expecting operand after ','; got nothing
/tmp/ccLBF9oi.s:43: Error: no such instruction: `bne .L1'
/tmp/ccLBF9oi.s:44: Error: no such instruction: `ldr r4,.L10+4'
/tmp/ccLBF9oi.s:45: Error: no such instruction: `ldr r3,[r4,'
/tmp/ccLBF9oi.s:46: Error: no such instruction: `ldr r2,[r3,'
/tmp/ccLBF9oi.s:47: Error: expecting operand after ','; got nothing
/tmp/ccLBF9oi.s:48: Error: no such instruction: `beq .L9'
/tmp/ccLBF9oi.s:50: Error: too many memory references for `add'
/tmp/ccLBF9oi.s:51: Error: invalid char '[' beginning operand 2 `[r4'
/tmp/ccLBF9oi.s:52: Error: too many memory references for `mov'
/tmp/ccLBF9oi.s:53: Error: too many memory references for `mov'
/tmp/ccLBF9oi.s:54: Error: no such instruction: `ldr r3,[r4,'
/tmp/ccLBF9oi.s:55: Error: no such instruction: `ldr r2,[r3,'
/tmp/ccLBF9oi.s:56: Error: expecting operand after ','; got nothing
/tmp/ccLBF9oi.s:57: Error: no such instruction: `bne .L6'
/tmp/ccLBF9oi.s:59: Error: no such instruction: `ldr r3,.L10+8'
/tmp/ccLBF9oi.s:60: Error: expecting operand after ','; got nothing
/tmp/ccLBF9oi.s:61: Error: no such instruction: `ldrne r0,.L10+12'
/tmp/ccLBF9oi.s:62: Error: no such instruction: `movne lr,pc'
/tmp/ccLBF9oi.s:63: Error: no such instruction: `movne pc,r3'
/tmp/ccLBF9oi.s:65: Error: no such instruction: `ldr r3,.L10'
/tmp/ccLBF9oi.s:66: Error: expecting operand after ','; got nothing
/tmp/ccLBF9oi.s:67: Error: invalid char '[' beginning operand 2 `[r3'
/tmp/ccLBF9oi.s:69: Error: no such instruction: `ldmfd sp!,{r4,pc}'
/tmp/ccLBF9oi.s:80: Error: junk at end of line, first unrecognized
character is `@'
/tmp/ccLBF9oi.s:81: Error: junk at end of line, first unrecognized
character is `@'
/tmp/ccLBF9oi.s:82: Error: invalid char '[' beginning operand 2 `[sp'
/tmp/ccLBF9oi.s:84: Error: no such instruction: `bl
__do_global_dtors_aux'
/tmp/ccLBF9oi.s:86: Error: no such instruction: `ldr pc,[sp],'
/tmp/ccLBF9oi.s:95: Error: junk at end of line, first unrecognized
character is `@'
/tmp/ccLBF9oi.s:96: Error: junk at end of line, first unrecognized
character is `@'
/tmp/ccLBF9oi.s:97: Error: no such instruction: `ldr r3,.L16'
/tmp/ccLBF9oi.s:98: Error: invalid char '[' beginning operand 2 `[sp'
/tmp/ccLBF9oi.s:99: Error: expecting operand after ','; got nothing
/tmp/ccLBF9oi.s:100: Error: no such instruction: `ldr r0,.L16+4'
/tmp/ccLBF9oi.s:101: Error: no such instruction: `ldr r1,.L16+8'
/tmp/ccLBF9oi.s:102: Error: no such instruction: `movne lr,pc'
/tmp/ccLBF9oi.s:103: Error: no such instruction: `movne pc,r3'
/tmp/ccLBF9oi.s:105: Error: no such instruction: `ldr r0,.L16+12'
/tmp/ccLBF9oi.s:106: Error: no such instruction: `ldr r3,[r0,'
/tmp/ccLBF9oi.s:107: Error: expecting operand after ','; got nothing
/tmp/ccLBF9oi.s:108: Error: no such instruction: `ldreq pc,[sp],'
/tmp/ccLBF9oi.s:109: Error: no such instruction: `ldr r3,.L16+16'
/tmp/ccLBF9oi.s:110: Error: expecting operand after ','; got nothing
/tmp/ccLBF9oi.s:111: Error: no such instruction: `ldreq pc,[sp],'
/tmp/ccLBF9oi.s:112: Error: junk at end of line, first unrecognized
character is `@'
/tmp/ccLBF9oi.s:113: Error: no such instruction: `ldr lr,[sp],'
/tmp/ccLBF9oi.s:114: Error: no such instruction: `b _Jv_RegisterClasses'
/tmp/ccLBF9oi.s:126: Error: junk at end of line, first unrecognized
character is `@'
/tmp/ccLBF9oi.s:127: Error: junk at end of line, first unrecognized
character is `@'
/tmp/ccLBF9oi.s:128: Error: invalid char '[' beginning operand 2 `[sp'
/tmp/ccLBF9oi.s:130: Error: no such instruction: `bl frame_dummy'
/tmp/ccLBF9oi.s:132: Error: no such instruction: `ldr pc,[sp],'
make[1]: *** [crtbegin.o] Error 1
make: *** [all-gcc] Error 2
==============================================================

문제가 많은가 보네요..-_-; make install 그냥 해보면..

==============================================================
/tmp/ccPHZoA9.s: Assembler messages:
/tmp/ccPHZoA9.s:37: Error: junk at end of line, first unrecognized
character is `@'
/tmp/ccPHZoA9.s:38: Error: junk at end of line, first unrecognized
character is `@'
/tmp/ccPHZoA9.s:39: Error: no such instruction: `stmfd sp!,{r4,lr}'
/tmp/ccPHZoA9.s:40: Error: no such instruction: `ldr r3,.L10'
/tmp/ccPHZoA9.s:41: Error: no such instruction: `ldrb r2,[r3,'
/tmp/ccPHZoA9.s:42: Error: expecting operand after ','; got nothing
/tmp/ccPHZoA9.s:43: Error: no such instruction: `bne .L1'
/tmp/ccPHZoA9.s:44: Error: no such instruction: `ldr r4,.L10+4'
/tmp/ccPHZoA9.s:45: Error: no such instruction: `ldr r3,[r4,'
/tmp/ccPHZoA9.s:46: Error: no such instruction: `ldr r2,[r3,'
/tmp/ccPHZoA9.s:47: Error: expecting operand after ','; got nothing
/tmp/ccPHZoA9.s:48: Error: no such instruction: `beq .L9'
/tmp/ccPHZoA9.s:50: Error: too many memory references for `add'
/tmp/ccPHZoA9.s:51: Error: invalid char '[' beginning operand 2 `[r4'
/tmp/ccPHZoA9.s:52: Error: too many memory references for `mov'
/tmp/ccPHZoA9.s:53: Error: too many memory references for `mov'
/tmp/ccPHZoA9.s:54: Error: no such instruction: `ldr r3,[r4,'
/tmp/ccPHZoA9.s:55: Error: no such instruction: `ldr r2,[r3,'
/tmp/ccPHZoA9.s:56: Error: expecting operand after ','; got nothing
/tmp/ccPHZoA9.s:57: Error: no such instruction: `bne .L6'
/tmp/ccPHZoA9.s:59: Error: no such instruction: `ldr r3,.L10+8'
/tmp/ccPHZoA9.s:60: Error: expecting operand after ','; got nothing
/tmp/ccPHZoA9.s:61: Error: no such instruction: `ldrne r0,.L10+12'
/tmp/ccPHZoA9.s:62: Error: no such instruction: `movne lr,pc'
/tmp/ccPHZoA9.s:63: Error: no such instruction: `movne pc,r3'
/tmp/ccPHZoA9.s:65: Error: no such instruction: `ldr r3,.L10'
/tmp/ccPHZoA9.s:66: Error: expecting operand after ','; got nothing
/tmp/ccPHZoA9.s:67: Error: invalid char '[' beginning operand 2 `[r3'
/tmp/ccPHZoA9.s:69: Error: no such instruction: `ldmfd sp!,{r4,pc}'
/tmp/ccPHZoA9.s:80: Error: junk at end of line, first unrecognized
character is `@'
/tmp/ccPHZoA9.s:81: Error: junk at end of line, first unrecognized
character is `@'
/tmp/ccPHZoA9.s:82: Error: invalid char '[' beginning operand 2 `[sp'
/tmp/ccPHZoA9.s:84: Error: no such instruction: `bl
__do_global_dtors_aux'
/tmp/ccPHZoA9.s:86: Error: no such instruction: `ldr pc,[sp],'
/tmp/ccPHZoA9.s:95: Error: junk at end of line, first unrecognized
character is `@'
/tmp/ccPHZoA9.s:96: Error: junk at end of line, first unrecognized
character is `@'
/tmp/ccPHZoA9.s:97: Error: no such instruction: `ldr r3,.L16'
/tmp/ccPHZoA9.s:98: Error: invalid char '[' beginning operand 2 `[sp'
/tmp/ccPHZoA9.s:99: Error: expecting operand after ','; got nothing
/tmp/ccPHZoA9.s:100: Error: no such instruction: `ldr r0,.L16+4'
/tmp/ccPHZoA9.s:101: Error: no such instruction: `ldr r1,.L16+8'
/tmp/ccPHZoA9.s:102: Error: no such instruction: `movne lr,pc'
/tmp/ccPHZoA9.s:103: Error: no such instruction: `movne pc,r3'
/tmp/ccPHZoA9.s:105: Error: no such instruction: `ldr r0,.L16+12'
/tmp/ccPHZoA9.s:106: Error: no such instruction: `ldr r3,[r0,'
/tmp/ccPHZoA9.s:107: Error: expecting operand after ','; got nothing
/tmp/ccPHZoA9.s:108: Error: no such instruction: `ldreq pc,[sp],'
/tmp/ccPHZoA9.s:109: Error: no such instruction: `ldr r3,.L16+16'
/tmp/ccPHZoA9.s:110: Error: expecting operand after ','; got nothing
/tmp/ccPHZoA9.s:111: Error: no such instruction: `ldreq pc,[sp],'
/tmp/ccPHZoA9.s:112: Error: junk at end of line, first unrecognized
character is `@'
/tmp/ccPHZoA9.s:113: Error: no such instruction: `ldr lr,[sp],'
/tmp/ccPHZoA9.s:114: Error: no such instruction: `b _Jv_RegisterClasses'
/tmp/ccPHZoA9.s:126: Error: junk at end of line, first unrecognized
character is `@'
/tmp/ccPHZoA9.s:127: Error: junk at end of line, first unrecognized
character is `@'
/tmp/ccPHZoA9.s:128: Error: invalid char '[' beginning operand 2 `[sp'
/tmp/ccPHZoA9.s:130: Error: no such instruction: `bl frame_dummy'
/tmp/ccPHZoA9.s:132: Error: no such instruction: `ldr pc,[sp],'
make[1]: *** [crtbegin.o] Error 1
make: *** [install-gcc] Error 2
==============================================================

이거도 뭐 거의 똑같은거 같지만 일단은..;; 이렇게 에러가 나네요.

파일도 제대로 생성 안되구요. 3일동안 리눅스 설치부터 이거까지를

몇번씩이나 해봤는데 결국은 해결을 못해서요... 답변 부탁드릴께요^^;


아 참 그리고 ex-x5보드로 공부중인데요 부팅하고나서

ctrl-A Z 뭐 요런 키들이 안먹네요. 설정 다시 하고서 해봐도 잘 안되던데

뭐가 문젤까요? 부트로더랑 이미지들 새로 다 올린건데 잘못된건가요?

ezboot에서 FEK FER FEA명령 준다음에 ezflashw 이걸로 부트로더 올리고

그런식으로 한건데 맞게 한건지도 좀..^^; 감사합니다~
이 게시물을
  • Twitter
  • Facebook
  • Delicious
수정 삭제 목록

댓글 0

목록
번호 제목 글쓴이 날짜 조회 수
공지 포럼의 메뉴가 보이지 않아요! 장길석 2014.02.06 957640
공지 [중요 공지]제품 사용 및 기술 문의는 전화 상담을 받지 않습니다. 장길석 2012.11.09 1408535
공지 답글에 대한 공지 사항. falinux 2006.11.20 2424026
10801 [특판][성Y인Y용Y품][비아][시알][여성흥분제] 전부 1+1 vv8282.top 지금 확인해보세요~! dde33 2026.10.15 2
10800 요즘 잘 나가는,,, dde33 2026.09.12 843
10799 buildroot 사용 관련 로즈마리 2021.02.01 38166
10798 GPIO 제어 방법 문의 [1] 단순최고 2021.01.25 51084
10797 임베디드 리눅스 개발 보드 추천 nam 2019.12.06 48863
10796 make wandboard_quad 실행시 문제 gasi 2019.08.27 47084
10795 LCD 초기화 코드 좀 봐주세요 [1] 김용수 2019.07.12 63136
10794 임베디드 리눅스 커널 소스에 관해 질문드립니다 ! ekthatkxkd 2019.06.28 43727
10793 numpy,scipy 를 arm-linux-XXXX 로 크로스컴파일 하여 올릴수 있나요? 초보자 2019.06.24 49287
10792 I2C - deal with arbitration loss 오류가 궁금합니다. [1] S1eepingBeauty 2018.12.10 56770
10791 구형 EM-PXA270 보드 혹시 보유하시분 연락 주시면 감사드릴께요. file 존 2018.11.24 42753
10790 리눅스 GPIO 관련 센서의 단선 또는 고장유무 판별법이 궁금합니다. [2] S1eepingBeauty 2018.11.12 55125
10789 임베디드 리눅스에서 c 언어 디버깅 궁금합니다. [1] 존 2018.09.14 47072
10788 부팅 시간 문의 [1] nam 2018.06.29 45791
10787 fork()의 thread 멈추는 현상 [4] HwangRoy 2018.05.09 58614
10786 실행중 symbol not found 를 발생시키는 u-boot 본적 있으신가요 ? sayyouandme 2017.12.17 57348
10785 NOR Flash 질문! [1] Chanmini 2017.12.11 67068
10784 소스 해석 도와주세요 ... 남바완 2017.10.31 55610
10783 리눅스 드라이버 IRS에 관한 질문드립니다 [1] 김현수 2017.05.07 32388
10782 N200-S5PV210에 리눅스 커널 4.4.52 부팅이 안되네요.. 도와주세요.. [1] 성정기 2017.03.14 29209
첫 페이지 1 2 3 4 5 6 7 8 9 10 끝 페이지
쓰기
태그
부탁드립니다. ^^
  • 글을 작성하시려면 회원으로 가입하시고 로그인 하셔야 합니다.
  • 회원 가입은 주민등록번호가 필요 없으며, 메일 주소만 있으면 간단하게 가입하실 수 있습니다.
  • 본 포럼에 등록된 모든 글의 저작권은 작성하신 분께 있으며, 저작자의 허락 없이 다른 곳에 펌이나 도용하시면 안 됩니다.
  • 또한, 전자우편 수집 프로그램이나 그 밖의 기술적 장치를 이용하여 무단으로 이메일 주소 및 자료 수집되는 것을 거부하며,
  • 이를 위반 시 정보통신망 법에 의해 형사 처벌됨을 유념하시기 바랍니다.
  • FF 포럼
  • 강좌 & 팁
  • 함수설명
  • 자료실
  • 도와주세요