Alex,

You are using wrong toolchain. Scratchbox offers two
kinds of ARM toolchain. One for debian and one for
ARMEL project (Nokia phone project). You have to go to
www.armel.org to see how to use scrachbox with ARMEL.
It provides scripts for installation and setup.

---henry

--- [EMAIL PROTECTED]
wrote:

> Send Scratchbox-users mailing list submissions to
>       scratchbox-users@lists.scratchbox.org
> 
> To subscribe or unsubscribe via the World Wide Web,
> visit
> 
>
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users
> or, via email, send a message with subject or body
> 'help' to
>       [EMAIL PROTECTED]
> 
> You can reach the person managing the list at
>       [EMAIL PROTECTED]
> 
> When replying, please edit your Subject line so it
> is more specific
> than "Re: Contents of Scratchbox-users digest..."
> 
> 
> Today's Topics:
> 
>    1. scratchbox problem (Alex R.)
>    2. Re: scratchbox problem (Diane Holt)
> 
> 
>
----------------------------------------------------------------------
> 
> Message: 1
> Date: Wed, 26 Sep 2007 15:22:36 -0700
> From: "Alex R." <[EMAIL PROTECTED]>
> Subject: [Scratchbox-users] scratchbox problem
> To: scratchbox-users@lists.scratchbox.org
> Message-ID:
> <[EMAIL PROTECTED]>
> Content-Type: text/plain;  charset="us-ascii"
> 
> Hi,
> 
> It would be great if someone could help me out with
> this problem.  I am a noob 
> in this so please excuse my ignorance.
> 
> I have set up scratchbox according to this guide: 
>
http://www.scratchbox.org/documentation/user/scratchbox-1.0/html/installdoc.html.
>  
> My scratchbox version is 1.0.4 by the way.  After
> few problems I was able to 
> compile and run programs using qemu emulation.  Then
> I scp'ed the executable 
> over to Nokia 770 and tried running it.  It didn't
> work.
> 
> 
> 
> [sbox-nokia770: ~/hello-world] > ./hello
> Hello World!
> [sbox-nokia770: ~/hello-world] > file hello
> hello: ELF 32-bit LSB executable, ARM, version 1
> (ARM), for GNU/Linux 2.0.0, 
> dynamically linked (uses shared libs), not stripped
> [sbox-nokia770: ~/hello-world] >
> 
> 
> 
> Works great in scratchbox, right?
> 
> 
> [sbox-nokia770: ~/hello-world] > scp hello
> [EMAIL PROTECTED]:/root/
> [EMAIL PROTECTED]'s password:
> hello                                         100%  
> 13KB  12.6KB/s   00:00
> [sbox-nokia770: ~/hello-world] > ssh -l root
> 192.168.10.33
> [EMAIL PROTECTED]'s password:
> 
> 
> BusyBox v1.01 (Debian 3:1.01-4.osso12) Built-in
> shell (ash)
> Enter 'help' for a list of built-in commands.
> 
> Nokia770-49:~# ./hello
> -sh: ./hello: not found
> Nokia770-49:~# ls -l hello
> -rwxr-xr-x    1 root     root        12861 Sep 26
> 13:00 hello
> Nokia770-49:~#
> 
> 
> 
> What is wrong ?
> 
> 
> 
> Nokia770-49:~# cd /usr/bin/
> Nokia770-49:/usr/bin# ./wc wc
>    1405    9267  238452 wc
> Nokia770-49:/usr/bin# exit
> Connection to 192.168.10.33 closed.
> [sbox-nokia770: ~/hello-world] > scp
> [EMAIL PROTECTED]:/usr/bin/wc .
> [EMAIL PROTECTED]'s password:
> wc                                            100% 
> 233KB 232.9KB/s   00:01
> [sbox-nokia770: ~/hello-world] > file wc
> wc: ELF 32-bit LSB executable, ARM, version 1
> (SYSV), for GNU/Linux 2.4.17, 
> dynamically linked (uses shared libs), stripped
> [sbox-nokia770: ~/hello-world] >
> 
> 
> What is the difference between "ARM, version 1
> (SYSV)" and "ARM, version 1 
> (ARM)"???
> 
> How would I make this work?
> 
> 
> Any help is greatly appreciated.
> 
> AR
> 
> 
> ------------------------------
> 
> Message: 2
> Date: Wed, 26 Sep 2007 15:57:52 -0700
> From: "Diane Holt" <[EMAIL PROTECTED]>
> Subject: Re: [Scratchbox-users] scratchbox problem
> To: scratchbox-users@lists.scratchbox.org
> Message-ID:
> 
>
<[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> On 9/26/07, Alex R. <[EMAIL PROTECTED]> wrote:
> >
> > What is the difference between "ARM, version 1
> (SYSV)" and "ARM, version 1
> > (ARM)"???
> 
> 
> The first is GCC version 4, the second, GCC version
> 3.
> 
> Diane
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
>
http://lists.scratchbox.org/pipermail/scratchbox-users/attachments/20070926/e7be4c10/attachment-0001.html
> 
> ------------------------------
> 
> _______________________________________________
> Scratchbox-users mailing list
> Scratchbox-users@lists.scratchbox.org
>
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users
> 
> 
> End of Scratchbox-users Digest, Vol 25, Issue 12
> ************************************************
> 



       
____________________________________________________________________________________
Got a little couch potato? 
Check out fun summer activities for kids.
http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz
 
_______________________________________________
Scratchbox-users mailing list
Scratchbox-users@lists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users

Reply via email to