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

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
6148 S3C6410 IROM booting [6] 전병환 2009-02-19 2771
6147 오드로이드 SDCARD의 Root FS를 안보이게 하는 방법은... [2] 김영일 2010-08-25 2768
6146 [질문] 이솝보드에 삼성의 DNW(USB/Sireal 다운로더)사용하려면..? [6] 박재흥 2006-08-16 2759
6145 삼성 2440 I/O Speed [1] 전철웅 2007-11-17 2759
6144 [완료] 터치 증상이 이상합니다. [6] 강경완 2007-05-11 2751
6143 가속도 센서 관련하여 문의글 올립니다. [2] 리오살다 2013-04-02 2750
6142 [완료]dm9000a [10] 이진우 2007-09-14 2741
6141 프로젝트 계획 조언부탁드립니다. [5] 시그인트 2014-02-19 2734
6140 Opencore 와 Openmax 그리고 mfc 와의 관계. [11] 임기영 2009-09-04 2732
» [완료]SDL 기본 화면 뛰우기 [3] 윤치호 2007-11-15 2731
6138 [완료] LX800 PDS에 있는 WINCE BSP는 무엇인지요. [6] 오주열 2007-05-26 2731
6137 안드로이더 에 touch cal 값을 어떻게 얻었나요? [3] 이성호 2009-04-06 2717
6136 ubuntu 10.04 오드로이드 타겟 adb 연결 문제 [1] rapel 2010-06-11 2711
6135 yaffs2 포팅(lost+found증상) file 푸르름 2011-12-23 2709
6134 [완료]pci slot확장시 bios수정필요한지? [2] 조성철 2007-06-05 2709
6133 aesop lx800 구입문의 [1] 조정근 2008-09-18 2704
6132 [re] [질문] 동영상 재생 & LCD 잔상 [5] 강덕하 2007-05-22 2703
6131 안드로이드-S 구글맵관련 앱 설치가 안됩니다. [3] 바람돌이0 2010-07-21 2692
6130 LX800 주변기기 추천 부탁드립니다.[완료] [7] 조준동 2007-05-10 2692
6129 만든 앱이 수퍼 유저 권한 획득하려면 에 대한 질문입니다. [7] 프로그램개발자 2014-01-08 2689

사용자 로그인