List Info

Thread: Re: scratchbox problem




Re: scratchbox problem
country flaguser name
United States
2007-09-27 10:48:42
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

--- scratchbox-users-requestlists.scratchbox.org
wrote:

> Send Scratchbox-users mailing list submissions to
> 	scratchbox-userslists.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
> 	scratchbox-users-requestlists.scratchbox.org
> 
> You can reach the person managing the list at
> 	scratchbox-users-ownerlists.scratchbox.org
> 
> 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." <alex.programsgmail.com>
> Subject: [Scratchbox-users] scratchbox problem
> To: scratchbox-userslists.scratchbox.org
> Message-ID:
> <200709261522.36854.alex.programsgmail.com>
> 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/docum
entation/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
> root192.168.10.33:/root/
> root192.168.10.33's password:
> hello                                         100%  
> 13KB  12.6KB/s   00:00
> [sbox-nokia770: ~/hello-world] > ssh -l root
> 192.168.10.33
> root192.168.10.33'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
> root192.168.10.33:/usr/bin/wc .
> root192.168.10.33'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" <holt.dianegmail.com>
> Subject: Re: [Scratchbox-users] scratchbox problem
> To: scratchbox-userslists.scratchbox.org
> Message-ID:
> 
>
<2c7242450709261557x62d67f1ft20a841e33e6289dbmail.gmail.com>
> Content-Type: text/plain;
charset="iso-8859-1"
> 
> On 9/26/07, Alex R. <alex.programsgmail.com> 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-userslists.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&c
s=bz 
_______________________________________________
Scratchbox-users mailing list
Scratchbox-userslists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman
/listinfo/scratchbox-users

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )