아래와 같이 scratchbox2를 설치하면서 error 가 발생한다면 관련 library가 없는 것이다.
library를 체크하고 다시 시도해 봐야 한다.
나 같은 경우에는 sysroot 를 svn에 올리면서 .so 파일들이 모두 빠진 상태로 svn 서버에 올라갔고 그대로 다운받서 아래와 같이 실행하니 에러가 났다.
인터넷 검색 중 어떤 외국인이 library를 체크 하라는 글이 있길래 기존 sysroot 와 svn에 올려진 sysroot 를 비교하니 많인 library가 빠져 있었다.
빠진 library 를 추가하고 아래를 실행하니
sb2-init completed successfully, have fun!
bumnux@bumnux:~/work/trunk.svn/sysroot$ sb2-init -C '-march=armv7-a -mcpu=cortex-a8 -mfpu=vfp -mfloat-abi=softfp -ftree-vectorize' -c /usr/bin/qemu-arm CORTEXA8 /usr/local/arm/arm-2011.03/bin/arm-none-linux-gnueabi-gcc
Info: Mapping mode not specified, using default (simple)
Using /usr/local/arm/arm-2011.03/bin/arm-none-linux-gnueabi-gcc to detect target architecture:
Finished writing sb2.gcc.config
gcc configured.
sb2-init: Target architecture is 'arm'
sb2-init: Host architecture is 'x86_64'
No targets found, create some with sb2-init!
Finished writing sb2.config
sb2-init: Creating Debian build system settings for this target:
dpkg-architecture: warning: 지정된 GNU 시스템 유형 arm-linux-gnueabi 은 gcc 시스템 유형 arm-none-linux-gnueabi과 일치하지 않습니다.
dpkg-architecture: warning: 지정된 GNU 시스템 유형 arm-linux-gnueabi 은 gcc 시스템 유형 arm-none-linux-gnueabi과 일치하지 않습니다.
sb2-init: configuring libtool for this target:
--2012-12-04 17:57:34-- http://ftp.funet.fi/pub/mirrors/ftp.gnu.org/pub/gnu/libtool/libtool-1.5.26.tar.gz
Resolving ftp.funet.fi... 193.166.3.2, 2001:708:10:9::20:2
접속 ftp.funet.fi|193.166.3.2|:80... 접속됨.
HTTP request sent, awaiting response... 200 OK
Length: 2961939 (2.8M) [application/x-gzip]
Saving to: `/home/bumnux/.scratchbox2/libtool-1.5.26.tar.gz'
100%[========================================================================================================================================>] 2,961,939 179K/s in 21s
2012-12-04 17:57:56 (135 KB/s) - `/home/bumnux/.scratchbox2/libtool-1.5.26.tar.gz' saved [2961939/2961939]
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
Running /usr/bin/sb2-build-libtool failed
You can run this manually later, otherwise your
sb2 environment is correctly setup and ready to use
'Linux 일반' 카테고리의 다른 글
How to download of 2009q1-203 (0) | 2013.05.06 |
---|---|
UBI file system remount (0) | 2013.05.06 |
ubuntu 11.10에서 space key 가 안먹을때... (0) | 2012.11.06 |
ubuntu 11.10에서 gimp 설치하기 (0) | 2012.10.07 |
NTP server site (0) | 2012.08.01 |