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

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
번호 제목 글쓴이 날짜 조회 수

사용자 로그인