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

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 - 6410 보드를 쓰고 있습니다 [2] 우르멜 2011-05-06 471
167 aesop 1차용 2.4.20 kernel 다운로드가 안되네요.. [1] 김병윤 2009-12-03 470
166 serial console 을 enable 하는 방법? [1] 손가락 2010-05-31 470
165 이솝 210 에 사용되는 안드로이드 froyo 소스는 어디 있나요? [1] 윤병진 2010-10-22 470
164 [Q] How to measure execution time [1] No.7 2011-03-24 470
163 2.6.28에서의 RAMFS설정 문의 [1] 심모 2009-11-21 469
162 lx800에 안드로이드 포팅? [1] MrAhn 2009-12-29 469
161 odroid회로도를 요청드립니다 [1] liky 2010-09-01 469
160 오드로이드 7 [1] 마테우쓰 2010-12-14 469
159 이솝프로젝트의 aesop v210 kernel 2.6.32-1026 버전관련 질문.. [1] 하얀전구 2011-04-08 469
158 6410보드에 사운드가 안됩니다. [1] 김명준 2011-06-02 469
157 문의 드립니다. [3] ALEX 2010-02-24 468
156 커널패닉을 LCD에 출력하기 질문.. k0cool 2011-07-01 468
155 Kernel이 사용하는 memory [1] 박영호 2010-04-13 467
154 오드로이드 커널 2.6.32.9 와 해당 U-Boot 버전 문의 [1] 이종문 2010-08-10 467
153 이솝6410을 쓰고있습니다 u-boot에서 [1] 다크썩흘 2011-03-25 467
152 안드로이드 루트 권한 관련 문의 [3] 지누 2018-06-26 467
151 JNI 에서 V4L2를 사용할수 있나요? [5] biokk 2015-12-17 466
150 터치관련 질문입니다. [2] 현쓰 2009-11-23 462
149 임베디드 안드로이드, 스마트폰 안드로이드 동작이 많이 다른가요? [3] ice179 2015-05-26 461

사용자 로그인