Reply
Thread Tools
Posts: 4 | Thanked: 0 times | Joined on Dec 2009
#1
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
 
Posts: 17 | Thanked: 3 times | Joined on Jan 2010
#2
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.
 
Posts: 543 | Thanked: 181 times | Joined on Aug 2009 @ Universe,LocalCluster.MilkyWay.Sol.Earth.Europe.Slovenia.Ljubljana
#3
What is line 1?
__________________
For any repos or anything else I might have working on my N900 see:
http://wiki.maemo.org/User:Ruskie
A quick list of what I have in the repos
zsh|xmms2|fcron|gtar|gcoreutils
 

The Following User Says Thank You to ruskie For This Useful Post:
pycage's Avatar
Posts: 3,404 | Thanked: 4,474 times | Joined on Oct 2005 @ Germany
#4
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.
__________________
Tidings - RSS and Podcast aggregator for Jolla - https://github.com/pycage/tidings
Cargo Dock - file/cloud manager for Jolla - https://github.com/pycage/cargodock
 

The Following User Says Thank You to pycage For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 01:14.