Originally Posted by dnR
[appname] line 1: syntax error: "(" unexpected'
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.