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

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
번호 제목 글쓴이 날짜 조회 수
168 초보적인 Toolchain 문제 [1] 서영태 2008-01-16 1172
167 2G SD카드 인식문제 [9] 문철민 2008-01-12 3176
166 bootloader 에서 usb device 인식( usb ethernet adator ) [3] 황기천 2008-01-10 1502
165 2차 보드와 3차 보드의 차이점을 알고 싶습니다. [1] 김영수 2008-01-07 1143
164 [질문] 하나의 텍스트 파일안에 utf8 과 euc-kr 이 섞여 있을때의... [6] 유형목 2008-01-06 1291
163 [완료]공유기 없이 VMware network 환경 설정 [7] 최재혁 2007-12-24 3694
162 sd card 질문입니다. [7] 박진우 2007-12-21 1273
161 [완료] 프로세서가 먹통되었을 때 리셋버튼 눌러도 반응이 없는 경... [3] 오주열 2007-12-18 1386
160 [완료] 삼성 NAND Flash 제어 질문입니다. ^^ [4] 김태현 2007-12-10 1649
159 [완료]LCD - framebuffer 관련 질문 이요 ^^; [1] 박준영 2007-12-09 1693
158 nfs서버 질문입니다. [2] 문철민 2007-12-04 1424
157 [질문]페도라의 ntsysv 와 같은 역활의 명령어 Slackware11에 어떤게... [5] 조준동 2007-11-30 1313
156 회사의 다른컴에서 aesop-embedded.org 접속이 안됩니다. [5] 조준동 2007-11-28 1546
155 nand bad 관련 의문점 [2] 문철민 2007-11-27 1288
154 nand erase error입니다 도움 부탁합니다. [2] 문철민 2007-11-24 2780
153 [완료]레드햇9 리눅스 부팅에러입니다. [2] 문철민 2007-11-21 1789
152 [완료]NAND Flash 제어할때 주소구성이 어떻게 되는지 궁금합니다... [4] 임종환 2007-11-18 2068
151 삼성 2440 I/O Speed [1] 전철웅 2007-11-17 2759
» [완료]SDL 기본 화면 뛰우기 [3] 윤치호 2007-11-15 2731
149 [완료]QTE vs TinyX+QT/X11 [2] 박준영 2007-11-13 1978

사용자 로그인