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

S3C24X0 PDS에 있는 20051008__[1]__surface.tar.gz (1.2 KB)을 다운 받아서
MP2530F에서 컴파일후 테스트를 하려하는데 잘 안되서 질문드립니다.

먼저 cross-sdl-config 를

prefix=/korea-dokdo/aesoptool/gcc-4.0.2-glibc-2.3.6/arm-linux/arm-linux 로 수정후
usr/bin에 복사 했습니다.

그다음 make를 실행하면

root@godori:~/20051008__[1]__surface/20051008--[1]--surface# make
make: Warning: File `Makefile' has modification time 1.2e+09 s in the future
arm-linux-gcc -c  `cross-sdl-config --cflags`   -I. -o  surface.o surface.c
/bin/sh: cross-sdl-config: not found
In file included from exe.h:5,
                 from surface.c:1:
SDL.h:28:22: error: SDL_main.h: No such file or directory
SDL.h:29:24: error: SDL_stdinc.h: No such file or directory
SDL.h:30:23: error: SDL_audio.h: No such file or directory
SDL.h:31:23: error: SDL_cdrom.h: No such file or directory
SDL.h:32:25: error: SDL_cpuinfo.h: No such file or directory
SDL.h:33:24: error: SDL_endian.h: No such file or directory
SDL.h:34:23: error: SDL_error.h: No such file or directory
SDL.h:35:24: error: SDL_events.h: No such file or directory
SDL.h:36:24: error: SDL_loadso.h: No such file or directory
SDL.h:37:23: error: SDL_mutex.h: No such file or directory
SDL.h:38:23: error: SDL_rwops.h: No such file or directory
SDL.h:39:24: error: SDL_thread.h: No such file or directory
SDL.h:40:23: error: SDL_timer.h: No such file or directory
SDL.h:41:23: error: SDL_video.h: No such file or directory
SDL.h:42:25: error: SDL_version.h: No such file or directory
SDL.h:44:24: error: begin_code.h: No such file or directory
In file included from exe.h:5,
                 from surface.c:1:
SDL.h:69: error: syntax error before ?.int?.
SDL.h:69: error: syntax error before ?.flags?.
SDL.h:69: warning: data definition has no type or storage class
SDL.h:72: error: syntax error before ?.int?.
SDL.h:72: error: syntax error before ?.flags?.
SDL.h:72: warning: data definition has no type or storage class
SDL.h:75: error: syntax error before ?.void?.
SDL.h:75: error: syntax error before ?.flags?.
SDL.h:75: warning: data definition has no type or storage class
SDL.h:81: error: syntax error before ?.Uint32?.
SDL.h:81: error: syntax error before ?.flags?.
SDL.h:81: warning: data definition has no type or storage class
SDL.h:86: error: syntax error before ?.void?.
SDL.h:86: warning: data definition has no type or storage class
SDL.h:88: error: syntax error before ?.int?.
SDL.h:94:24: error: close_code.h: No such file or directory
surface.c:9: error: syntax error before ?.*?. token
surface.c:9: warning: data definition has no type or storage class
surface.c: In function ?.main?.:
surface.c:21: warning: passing argument 1 of ?.atexit?. from incompatible poie
surface.c:24: error: ?.SDL_SWSURFACE?. undeclared (first use in this function)
surface.c:24: error: (Each undeclared identifier is reported only once
surface.c:24: error: for each function it appears in.)
surface.c:24: warning: assignment makes pointer from integer without a cast
make: *** [surface.o] Error 1

메시지를 보면 cross-sdl-config부터 찾지 못하는거 같은데 도움 부탁드립니다.



* 고도리님에 의해서 게시물 이동되었습니다 (2007-11-14 23:09)

고현철

2007.11.15 08:08:40
*.187.47.245

cross-sdl-config는 toolchain's/arm-linux/bin/sdl-config 를
/usr/bin/cross-sdl-config 로 symbolic link를 건 것입니다.

고도리

2007.11.15 08:09:54
*.187.47.245

게시물이 PDS에 있어어 여기가 나은 듯 하여 옮겼습니다.

윤치호

2007.11.19 09:13:08
*.46.155.63

ln -s toolchain's/arm-linux/bin/sdl-config /usr/bin/cross-sdl-config
를 빼먹어서 나온 문제 였네요.답변 감사합니다.
List of Articles
번호 제목 글쓴이 날짜sort 조회 수
168 AESOP-2440 DVD 받을 곳 없나요? [완료] [6] 강민석 2006-09-20 1074
167 터치 스크린.. [3] 이재철 2006-09-16 2667
166 폰트 관련 질문입니다..[완료] [3] 김대영 2006-09-15 1162
165 간단한 어플리케이션 프로그램 문제입니다. <== 완료 [7] 박영학 2006-09-14 919
164 MPlayer 관련 질문 좀 드립니다. <= 완료 [8] 한승혁 2006-09-14 1340
163 crosstool 질문입니다. <= [완료] [9] 신재곤 2006-09-14 1101
162 [질문] u-boot에 있는 nand write, nand read cmd시에 배드블럭... [5] 김경호 2006-09-13 2050
161 블루투스 포팅해보신분?[미해결] [2] 오용석 2006-09-12 999
160 [질문] kill 에 관해서.. 느닷없이 궁금해서요. [2] 이재훈 2006-09-12 1059
159 바이너리파일을 아스키파일로 변환하는걸 도와주세요 ... [8] 장석원 2006-09-09 1611
158 [질문] cannot execute "/etc/rc.d/rc.S" 에 관한 질문입니다. [3] 이재훈 2006-09-05 1164
157 nand flash bad eraseblock 납니다....[미해결] [2] 오용석 2006-09-02 1282
156 삼바 linking 문제 입니다.<==완료 [1] 윤현승 2006-09-02 971
155 [질문] u-boot에서 2440 USB OHCI의 성능 <= 완료 [4] 김정호 2006-09-01 1535
154 제 2410보드 동작 시험결과입니다. ^^ [1] 한지훈 2006-09-01 1191
153 [질문] Nand Flash Memory 인식에 관한 질문입니다. [3] 이재훈 2006-08-30 1488
152 외부영역의 Address를 배열처럼 쓸려면 어떻게 지정해야 할까요?[완... [2] 조준동 2006-08-28 932
151 aESOP 가지고놀기 라는 PDF 자료중 yaffs 관련 문의 입니다.-&gt... [1] 공경준 2006-08-28 2685
150 yaffs file의 repack???? <== 완료 [1] 박현진 2006-08-26 922
149 이솝보드를 휴대해서 다니고 싶어요 [2] 최지훈 2006-08-25 1048

사용자 로그인