Hello All,
I’m having trouble building a hello world application for an Olimex SAM9-L9260 board.
The application seems to cross compiles just fine, but when I execute it on the SAM9 I either get:
" No such file or directory" error when the application is built with dynamic libs
or
“Illegal instruction” error when the application is built with static libs.
The results are the same if I use the gcc tools supplied on the CD from Olimex or the latest free tools from CodeSourcery.
I have not modified the kernel or file system, it’s brand new out of the box.
One thing of note is that the applications in the files system have the following signature when file is run on them:
wget: ELF 32-bit LSB executable, ARM, version 1 (ARM), for GNU/Linux 2.4.1, dynamically linked (uses shared libs), for GNU/Linux 2.4.1, stripped
Where my executable has:
hello: ELF 32-bit LSB executable, ARM, version 1 (SYSV), for GNU/Linux 2.6.14, dynamically linked (uses shared libs), for GNU/Linux 2.6.14, not stripped
The differences being (ARM) vs (SYSV), Linux 2.4.1 vs Linux 2.6.14, and stripped vs not stripped. Other than the static or shared libraries I do not know how to effect the above differences.
I have seen others ask about this problem but do not see any solutions. Any help would be appreciated.
Thanks,
Jesse