I lend a Devkit3250 with 4.3" LCD, first I would like to test sample program & load it on the kit module.I am using ubuntu 8.10 & I have installed Arm-linux-gcc-4.3.2. I have compiled the sample code, but I have problem to run it on the board mini3250. here the result has shown... (root terminal console): [root@arm-linux /myFile]# ls button com hello.desktop buttoncp hello hello~1.des [root@arm-linux /myFile]# ./hello -sh: ./hello: not found [root@arm-linux /myFile]# ./hello~1.des ./hello~1.des: ./hello~1.des: 1: [Desktop: not found ./hello~1.des: ./hello~1.des: 5: Example: not found ./hello~1.des: ./hello~1.des: 9: Name[en_US]=Hello: not found [root@arm-linux /myFile]# cat hello~1.des [Desktop Entry] Version=1.0 Encoding=UTF-8 Name=Hello Comment=An Example Program Exec=hello Icon=Hello Type=Application Name[en_US]=Hello [root@arm-linux /myFile]# ./hello.desktop -sh: ./hello.desktop: Permission denied [root@arm-linux /myFile]# cat hello.desktop [Desktop Entry] Comment=An Example Program Exec=hello Icon=Hello Type=Application Name=Hello [root@arm-linux /myFile]# ./button ./button: ./button: 1: Syntax error: "(" unexpected [root@arm-linux /myFile]# ./com ./com: ./com: 1: Syntax error: "(" unexpected [root@arm-linux /myFile]# Please help me...
As in the log mentioned, there are atleast two unexpected brackets. ./button: ./button: 1: Syntax error: "(" unexpected ./com: ./com: 1: Syntax error: "(" unexpected You should check for these errors, but without the complete program it is impossible to give an exact solution. regards
> [root@arm-linux /myFile]# ./hello.desktop > -sh: ./hello.desktop: Permission denied chmod the file to give you execution rights chmod u+x hello.desktop check if it is an executable by file hello.desktop
I really don't know what to do now. and I will follow the CD to make the log and have a try. If I do it sucessfully, I will tell you. Acctually, I have got some ideas from the webs: www.armkits.com. I will try.
Ok, I get the answer. It is my mistake that I didn't use the cross compil tool along with the CD. And I have get what I want now.Thank you for all of you and Embest!
Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
Log in with Google account
No account? Register here.