View Single Post
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#3
Originally Posted by jjoikkonen View Post
Hello Maemo Forum.

I'm new with Meamo C++ development. I don't know how to run my gcc compiled hello world application. Application is very simple "hello word" and works fine in Ubuntu. I copy binary file to N810 but when trying to run it I get an error message:

$ ./hello
/.hello: line 1: syntax error: "(" unexpected


Hopefully you can advice me.
Cheers!
Run "file" on it and post its output here.

I suspect that you're trying to run a x86 binary (simply because I've seen that message before with running binaries for different archs and it "works fine in Ubuntu").

Last edited by qwerty12; 2009-06-29 at 08:55.