도와주세요!!
글 수 15,339
2007.05.14 12:52:35 (*.84.231.88)
8024
# export CC=armv5l-linux-gcc
# export CXX=armv5l-linux-g++
# export AR=armv5l-linux-ar
# export LD=armv5l-linux-ld
# export RANLIB=armv5l-linux-ranlib
# ./configure --prefix=/usr/armv5l-linux --enable-shared
checking for gcc... armv5l-linux-gcc
checking whether the C compiler (armv5l-linux-gcc ) works... yes
checking whether the C compiler (armv5l-linux-gcc ) is a cross-compiler... yes
checking whether we are using GNU C... yes
checking how to run the C preprocessor... armv5l-linux-gcc -E
checking for function prototypes... yes
checking for stddef.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for size_t... yes
checking for type unsigned char... yes
checking for type unsigned short... yes
checking for type void... yes
checking for working const... yes
checking for inline... __inline__
checking for broken incomplete types... ok
checking for short external names... ok
checking to see if char is signed... Assuming that char is signed on target machine.
If it is unsigned, this will be a little bit inefficient.
checking to see if right shift is signed... Assuming that right shift is signed on target machine.
checking to see if fopen accepts b spec... Assuming that it does.
checking for a BSD compatible install... /usr/bin/install -c
checking for ranlib... armv5l-linux-ranlib
checking host system type... ./config.guess: line 618: ./dummy: cannot execute binary file
./config.guess: line 848: ./dummy: cannot execute binary file
ltconfig: cannot guess host type; you must specify one
Try `ltconfig --help' for more information.
checking libjpeg version number... 62
creating ./config.status
creating Makefile
creating jconfig.h
jconfig.h is unchanged
# make
./libtool --mode=compile armv5l-linux-gcc -O2 -I. -c ./jcapimin.c
make: ./libtool: 명령을 찾지 못했음
이러면서 에러가 나는 군요... 크로스 컴파일러 설치는 제대로 되어있는 상태고요...(x5시디에서 제공하는 rpm버전으로 설치...) 리눅스 서버용(Haansoft Linux OS release 2006 Workstation )으로 쓰고 있는 컴퓨터와 노트북에 깐 vm ware 리눅스(centOS)에서 둘다 같은 증상이고요...
jpeg-6b는 예전에 장형기님이 자료링크 해주신 곳(q&A)에서 다운 받아서 사용했습니다...
# export CXX=armv5l-linux-g++
# export AR=armv5l-linux-ar
# export LD=armv5l-linux-ld
# export RANLIB=armv5l-linux-ranlib
# ./configure --prefix=/usr/armv5l-linux --enable-shared
checking for gcc... armv5l-linux-gcc
checking whether the C compiler (armv5l-linux-gcc ) works... yes
checking whether the C compiler (armv5l-linux-gcc ) is a cross-compiler... yes
checking whether we are using GNU C... yes
checking how to run the C preprocessor... armv5l-linux-gcc -E
checking for function prototypes... yes
checking for stddef.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for size_t... yes
checking for type unsigned char... yes
checking for type unsigned short... yes
checking for type void... yes
checking for working const... yes
checking for inline... __inline__
checking for broken incomplete types... ok
checking for short external names... ok
checking to see if char is signed... Assuming that char is signed on target machine.
If it is unsigned, this will be a little bit inefficient.
checking to see if right shift is signed... Assuming that right shift is signed on target machine.
checking to see if fopen accepts b spec... Assuming that it does.
checking for a BSD compatible install... /usr/bin/install -c
checking for ranlib... armv5l-linux-ranlib
checking host system type... ./config.guess: line 618: ./dummy: cannot execute binary file
./config.guess: line 848: ./dummy: cannot execute binary file
ltconfig: cannot guess host type; you must specify one
Try `ltconfig --help' for more information.
checking libjpeg version number... 62
creating ./config.status
creating Makefile
creating jconfig.h
jconfig.h is unchanged
# make
./libtool --mode=compile armv5l-linux-gcc -O2 -I. -c ./jcapimin.c
make: ./libtool: 명령을 찾지 못했음
이러면서 에러가 나는 군요... 크로스 컴파일러 설치는 제대로 되어있는 상태고요...(x5시디에서 제공하는 rpm버전으로 설치...) 리눅스 서버용(Haansoft Linux OS release 2006 Workstation )으로 쓰고 있는 컴퓨터와 노트북에 깐 vm ware 리눅스(centOS)에서 둘다 같은 증상이고요...
jpeg-6b는 예전에 장형기님이 자료링크 해주신 곳(q&A)에서 다운 받아서 사용했습니다...
이대로 하니깐 되내요 ㅡ.ㅡ;;;;
http://kelp.or.kr/korweblog/stories.php?story=05/08/10/0836807