[maemo-developers] Asking about running an executable on the device

From: मयंक जैन (makuchaku) mayank.gnu at gmail.com
Date: Fri Mar 23 16:39:41 EET 2007
On 3/23/07, magda chelly <sandra26899 at yahoo.fr> wrote:
>
> I solve my problem , I see the file only when I copy
> with it the .c, I didn't know that. But, I had another
> problem, it is that it wan't run with the ./!! it
> tells me syntax error : ( unexpected!!! and in at the
> PC it works without any problem!!
> Please can you advice me!

Are you sure you are compiling for the armel arch from scratchbox?
Because it has happened with me too that I accidently compiled for x86
& tried running it on the device - & got same error as you got.

Inside scratchbox, hit sb-menu & select the target to be ARM & then
compile your executable.

PS: Adding maemo-devel to CC

:)
Makuchaku

More information about the maemo-developers mailing list