기존 이솝 임베디드 포럼의 지식인 서비스가 게시판 형태로 변경되었습니다.

지난 주 부터 임베디드 리눅스 콤파일 환경을 구축을 하지 못 하고

게속 헤메고 있습니다.


고수님들의 도움을 부탁 드립니다.



팀의 다른 사람들은 콤파일 하는데 문제가 없는데 저만 유독 문제가 발생을 합니다.


OS 는 CentOS 6.0 이고 발생하는 compile error 는 다음과 같습니다.


---------------------------------------------------------------------


updateimage.c:5:21: error: stropts.h: No such file or directory
make[3]: *** [updateimage.o] Error 1
scripts/mod/sumversion.c: In function ‘get_src_version’:
scripts/mod/sumversion.c:384: error: ‘PATH_MAX’ undeclared (first use in this function)
scripts/mod/sumversion.c:384: error: (Each undeclared identifier is reported only once
scripts/mod/sumversion.c:384: error: for each function it appears in.)
scripts/mod/sumversion.c:384: warning: unused variable ‘filelist’
make[3]: *** [scripts/mod/sumversion.o] Error 1
make[2]: *** [scripts/mod] Error 2
make[1]: *** [scripts] Error 2
scripts/mod/sumversion.c: In function ‘get_src_version’:
scripts/mod/sumversion.c:384: error: ‘PATH_MAX’ undeclared (first use in this function)
scripts/mod/sumversion.c:384: error: (Each undeclared identifier is reported only once
scripts/mod/sumversion.c:384: error: for each function it appears in.)
scripts/mod/sumversion.c:384: warning: unused variable ‘filelist’
make[3]: *** [scripts/mod/sumversion.o] Error 1
make[2]: *** [scripts/mod] Error 2
make[1]: *** [scripts] Error 2
scripts/mod/sumversion.c: In function ‘get_src_version’:
scripts/mod/sumversion.c:384: error: ‘PATH_MAX’ undeclared (first use in this function)
scripts/mod/sumversion.c:384: error: (Each undeclared identifier is reported only once
scripts/mod/sumversion.c:384: error: for each function it appears in.)
scripts/mod/sumversion.c:384: warning: unused variable ‘filelist’
make[3]: *** [scripts/mod/sumversion.o] Error 1
make[2]: *** [scripts/mod] Error 2
make[1]: *** [scripts] Error 2
/bin/sh: scripts/mod/modpost: No such file or directory
make[6]: *** [__modpost] Error 127
make[5]: *** [modules] Error 2
make[4]: *** [all] Error 2
make[3]: *** [mdin270] Error 2
make[2]: *** [i2c] Error 2
make[1]: *** [modules-install] Error 2
----------------------------------------------------------------------------------------------------------------------


김택기

2011.08.08 20:16:30
*.244.221.2

아마도 툴체인 버전 문제였던 것으로 기억이 됩니다만...

scripts/mod/sumversion.c 파일 내에 #include <limits.h> 혹은 #include <linux/limits.h>

이렇게 추가하시면 아마도 해결이 될 겁니다.

List of Articles
번호 제목 글쓴이 날짜sort 조회 수
1548 안드로이드 터치 상하좌우 반전현상 [1] 나영찬 2011-08-03 1696
1547 NAND bad block 관련 질문 ( 2st bad block ) [2] 박영기1 2011-08-03 2357
1546 s5pc210보드에 arm ubuntu를 포팅하고 싶은데요.. [1] 앞에그만가지 2011-08-03 952
1545 ffmpeg을 ARM 컴파일해보시고 사용해보신분?? [2] 아토아밥통 2011-08-04 1031
1544 u-boot 초기 개발 어떻게 하시나요? [1] 박영기1 2011-08-05 1036
1543 V310 보드에 점퍼 띄울려고 하는데요. [1] 훌러덩 2011-08-05 855
1542 V310 uboot build error [2] 훌러덩 2011-08-05 1547
1541 fs/buffer.c에서 get_block error 난 경우 [1] 만봉부인 2011-08-06 919
1540 버추얼박스에서 tftp네트워크 설정 문제.. [1] 준히오빠 2011-08-06 1347
1539 system.img내에 특정 so 파일 변경 관련 문의 드립니다. [1] 나나리 2011-08-08 916
» 임베디드 리눅스 콤파일 문제 [1] blue0sky 2011-08-08 1161
1537 우분투에서 이미 사용중인 파티션을 분할 할 수 있나요? 물고기 2011-08-08 1072
1536 aesop-c100 동영상 올려보기 [1] 이솝우와 2011-08-08 710
1535 CentOS 6.0 에서 tftp 데몬이 시작하자 않는 문제점 [2] blue0sky 2011-08-09 977
1534 V310 터치 관련 [1] 훌러덩 2011-08-09 846
1533 이더넷포트와 스위칭허브IC간의 MII연결 질문 [1] Happycpu 2011-08-09 1543
1532 alsa에서 어플의 write 명령 [2] 이정화 2011-08-10 906
1531 리눅스 어플리케이션 생성 및 ADB Sell에서 실행 [1] 정호정호 2011-08-10 946
1530 How to fall into "init 1" state in Android??? [2] Simba444 2011-08-10 775
1529 AESOP-6410의 TOUCH PANEL은 어디것을 적용하였나요 [1] 천해 2011-08-10 587

사용자 로그인