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
_______________________________________________
Scratchbox-users mailing list
Scratchbox-users@lists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users

Reply via email to