Hi,

I've realized that I'm still building on the old gumstix buildroot rather than openembedded which is probably why my executables aren't working.

I've installed openembedded on my Ubuntu host but I can't seem to find any information on the wiki about how to build my own code off it.  Everything seems to tell me how to use bitbake to install existing packages.  Can someone point me at a wiki page showing how to build from C?

Thanks!

Garth

On Tue, Aug 16, 2011 at 10:24 PM, Garth Webb <garth.webb@gmail.com> wrote:
I just finished building the buildroot for the Gumstix I just bought (Verdex Pro XL6P) and I wrote a hello world program in C to test it.  However I'm getting a strange error when I try to run it:

  root@gumstix-custom-verdex:~/bin$ ./hello 
  -sh: ./hello: not found

Here's some relavant information:

  root@gumstix-custom-verdex:~/bin$ ls -l hello 
  -rwxrwxr-x    1 root     root         4980 Apr 30  2011 hello
  root@gumstix-custom-verdex:~/bin$ file ./hello 
  ./hello: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), not stripped
  root@gumstix-custom-verdex:~/bin$ uname -a
  Linux gumstix-custom-verdex 2.6.21 #1 Mon May 12 10:24:19 PDT 2008 armv5tel unknown

A working executable has this output from 'file':

  root@gumstix-custom-verdex:~/bin$ file /bin/busybox 
  /bin/busybox: ELF 32-bit LSB executable, ARM, version 1 (SYSV), for GNU/Linux 2.6.14, dynamically linked (uses shared libs), stripped

Only difference is that it mentions that is was built against an earlier kernel.  Any ideas why its not running/able to find my code?

Garth