I have a m2440 friendlyarm system running with 2.6.13 kernel which failed to run any program compiled from my fedora 13. I had another system fedora5 using arm-linux-gcc 3, the cpp code compiled from here can be run on the friendlyarm. @Arm: Uname -a Linux FriendlyARM 2.6.13 #152 Tue Jul 22 13:29:40 MYT 2008 armv4tl unknown @Host: Uname -a Linux orange.domain 2.6.33.3-85.fc13.i686 #1 SMP Thu May 6 18:44:12 UTC 2010 i686 i686 i386 GNU/Linux I am trying to run a simple hello world c++ program on the ARM. The code is compiled using arm-linux-g++ downloaded from http://www.friendlyarm.net/dl.php?file=arm-linux-gcc-4.3.2.tgz The output is: [root@FriendlyARM test]# ls testArm [root@FriendlyARM test]# ./testArm -sh: ./testArm: not found [root@FriendlyARM test]# testArm -sh: testArm: not found [root@FriendlyARM test]# file testArm, give me: testArm: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.14, not stripped Is this because my kernel is too old? advice please~ Thanks in advance Regards, Orange
Problem running c++ code on Kernel 2.6.13
Hi, I think Kernel can't be the problem. First look if you executable right $ chmod +x testArm Check if you download you executable with FTP and binary tranfert and, look this thread for libstc++ : http://www.friendlyarm.net/forum/topic/1637 else try to compile with static way.
kernel is too old, upgrade to 2.6.32 http://v3.netyxia.net/~mobyfab/mini2440/zImage-2.6.32-rc8