View Single Post
Old 01-09-2011, 05:49 AM   #1
Junior Member
dnR began at the beginning.
Posts: 1
Karma: 10
Join Date: Jan 2011
Device: Kindle 2
Question Kindle tries to run C/++ applications like sh scripts?

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:
[appname] line 1: syntax error: "(" unexpected'
This has happened on all applications that were compiled on my computer and transferred to my Kindle via SCP. These applications include Showkey and Python, each of which compile to single executables. I no longer need the showkey command, but I'm looking forward to running python on my Kindle 2.

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)


Last edited by dnR; 01-09-2011 at 05:51 AM.
dnR is offline   Reply With Quote