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

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 [directFB] 폰트 아웃라인 관련... [2] 프리챌 2014-12-04 892
6147 S5PC110 wince 관련 질문 [4] 고도리 2014-12-01 704
6146 i2c-1 포트로 두개의 슬레이브를 제어하려고합니다 질문좀요 [2] 문철민 2014-11-28 674
6145 full hd 동영상 재생 가능한 리눅스 기반 임베디드 보드가 어떤게 ... [2] 새삶 2014-11-26 871
6144 U-BOOT에 FW 올린 후 Data Abort 문제 질문드려요. [2] 신의발자국 2014-11-20 949
6143 디바이스 드라이버를 배포 하려면 소스상태로만 배포해야 하나요? [1] pedor11 2014-11-14 910
6142 NAND partition과 u-boot [1] 김진희 2014-11-14 915
6141 커널 uvc 드라이버 설정 및 usb캠 드라이버 질문입니다. [1] ice179 2014-11-14 1185
6140 Ramdisk와 initrd [1] 테크 2014-11-13 959
6139 특정 네트워크 인터페이스가 무선인지 유선인지 알수있을까요? [6] xoduddk123 2014-11-11 1187
6138 wifi direct(wifi p2p)에서 채널별 감도 측정 방법 있을까요? [3] 톳끼아빠 2014-11-08 1476
6137 컴파일을 할때마다 Image랑 zImage용량이 바뀌는건 왜 그런것인가요? file [2] xoduddk123 2014-11-07 1236
6136 양산시에 Flash 메모리를 구울 때 [1] 어떤이의꿈 2014-11-05 1287
6135 전원에서 BEAD관련 질문 [1] SpecialCase 2014-11-05 1137
6134 Android touch Event?? [1] Supsupi 2014-11-03 1152
6133 sclk_uart0 ~ 4까지의 clock들의 주파수는 어떻게 알 수 있을까여? [2] 혜민아빠 2014-10-31 1163
6132 요즘… ARM9, ARM11로 개발할 경우는 어떻게 해야 합니까? [3] 오르다 2014-10-31 1383
6131 arm-linux-gnueabi/bin/ld 에러 관련.... [1] blue0sky 2014-10-31 1252
6130 android에서 serial APP을 개발하기 위해서 어떻게 하면 되는가요... [3] 김경식 2014-10-24 1610
6129 tvp5150 [4] 삐까삐까룸 2014-10-24 1257

사용자 로그인