View Single Post
stevecrye's Avatar
Posts: 226 | Thanked: 38 times | Joined on May 2008 @ Texas/Earth/Sol System/Milky Way/Local Group/Hubble Bubble/Infinity
#17
Well...

Some things are working:

Code:
[sbox-STC-target1: ~/hello-world] > make
make  all-am
make[1]: Entering directory `/home/maemo/hello-world'
if gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -O2 -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.c; \
        then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi
gcc  -g -O2   -o hello  main.o  
make[1]: Leaving directory `/home/maemo/hello-world'
[sbox-STC-target1: ~/hello-world] > file hello
hello: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.2.0, dynamically linked (uses shared libs), not stripped
[sbox-STC-target1: ~/hello-world] > ./hello
Hello World!
[sbox-STC-target1: ~/hello-world] >

But, when I try to install the SDK, it complains that the toolchains are not installed - puzzling, because the scratchbox auto-install completed with no errors:

Code:
maemo@maemo:~/scripts$ sh maemo-sdk-install_4.1.sh
This script will install maemo SDK 4.1 diablo release to your computer.

Install options
Do not download or install Nokia EUSA binaries (no)
Force remove of existing targets (no)
Alternative sources.list ('')

Target configuration for armel (DIABLO_ARMEL)
compiler=cs2005q3.2-glibc2.5-arm
devkits=perl:debian-etch:maemo3-tools:cputransp
cputransp=qemu-arm-0.8.2-sb2

Target configuration for i386 (DIABLO_X86)
compiler=cs2005q3.2-glibc2.5-i386
devkits=perl:debian-etch:maemo3-tools

Checking for prerequisites
--------------------------

wget tool in path... /usr/bin/wget
Checking for dpkg tool in path... /usr/bin/dpkg
Running outside of scratchbox... yes
Script not run as user root... yes
Scratchbox installation found... yes
Scratchbox home directory... yes
Scratchbox sb-conf tool... yes
Scratchbox user's bind mount... yes
Scratchbox user's /dev set up... yes
Scratchbox home directory... yes
Scratchbox login... yes
Scratchbox login executable... yes
Scratchbox sb-conf tool works... yes
Scratchbox version requirement met... yes
Scratchbox CPU transparency method for ARMEL is present... yes
Scratchbox toolchains... no
E: Toolchain cs2005q3.2-glibc2.5-arm required for 'DIABLO_ARMEL' target.
E: Toolchain cs2005q3.2-glibc2.5-i386 required for 'DIABLO_X86' target.
E: Please complete scratchbox installation first.
E: Specify an alternative installation path using '-s PATH' option.
maemo@maemo:~/scripts$
Any suggestions about the toolchain problem most welcome!

Thanks,

Steve
__________________
my estimated current noob level:
<helpless>......«•».............<all-powerful>
"Who is John Galt?"