PDA

View Full Version : syntax error


sc2nomore
01-12-2010, 11:51 PM
Question I wrote a small app to test gtk on my N800, the app works fine in the SDK but when I put it on my nokia i get this error "line 1: syntax error: "(" unexpected"

can someone help me out and get this to run?

-ck

Batmensch
01-13-2010, 12:58 AM
Sorry, can't help you with compiled programs, but I usually got this error when scripting when I'd accidentally save a script with Windows linefeeds instead of UNIX.

ruskie
01-13-2010, 01:28 AM
What is line 1?

pycage
01-13-2010, 03:18 AM
You need to compile for ARMEL target in scratchbox to run it on the device.
The error you are seeing occurs when attempting to run an x86 binary on the device.