|
|
#1 |
|
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Jan 2011
Device: Kindle 2
|
Hi everyone. This is actually my first post here (of many soon to come, I hope), but I hate introduction threads so I figure I'll get straight to the point.
When in terminal (either through ssh or directly), and I attempt to run a compiled program that was compiled on another machine, I get the following error: Code:
[appname] line 1: syntax error: "(" unexpected'
If your first instinct is to point out that I shouldn't be compiling things on different computers before I transfer to my Kindle, I understand. Instead, then, could you let me know the best way to compile programs on the Kindle? I'm aware of using tcc (as supplied by lrizzo), but I haven't had any luck with that at all, and I am unable to compile even simple applications (even after copying the include files from a machine that compiles correctly to the Kindle) Thanks, dnR Last edited by dnR; 01-09-2011 at 06:51 AM. |
|
|
|
|
|
#2 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 16
Karma: 2600
Join Date: Dec 2010
Device: kindle
|
Typically this means you're trying to run code compiled for one processor/architecture on another. i.e. you've compiled code for x86 and are trying to run it on ARM.
You need to either install a compller on the kindle, or install a kindle compatible cross-compiler on your pc. |
|
|
|
| Advert | |
|
|
![]() |
| Tags |
| compile, kindle 2, python, script, terminal |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Recovery mode for kindle 3? And starting user applications on boot | fivebells | Kindle Developer's Corner | 3 | 12-17-2010 11:08 AM |
| Content where are the kindle applications?? | mike_bike_kite | Amazon Kindle | 18 | 09-25-2010 07:28 AM |
| Replacement Kindle 1 Serial number does not work with scripts | daffy4u | Amazon Kindle | 4 | 02-10-2010 08:53 PM |