Linux 2.6-xlnx git : trouble running binaries

View: New views
1 Messages — Rating Filter:   Alert me  

Linux 2.6-xlnx git : trouble running binaries

by lepolac :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I'm currently running a 2.6-xlnx kernel on a PowerPC 440 board, with a ramdisk.
The system is running correctly.
I added some binaries in the ramdisk, compiled with powerpc-linux-gcc.

But I can't run them, when I try to, here's what it comes :

root:/bin> ./helloppc
./helloppc: not found

(helloppc is just a simple helloworld in C)

The file seems to be right though :

root:/bin> ls -lisa helloppc
   1485   10 -rwxrwxrwx    1 root     root         9230 Jan  1 00:02 helloppc

xilinx@xilinx:~/V5FX/apps/hello$ file helloppc
helloppc: ELF 32-bit MSB executable, PowerPC or cisco 4500, version 1 (SYSV), for GNU/Linux 2.6.4, dynamically linked (uses shared libs), not stripped



I don't understand what i'm doing wrong. Do I have to use busybox to add my application ? Is there a special way to install it ?

Thanks in advance for your help.