EmbDev.net

Forum: µC & Digital Electronics run the example(mini3250)


Author: Brittany Snow (brittany_snow)
Posted on:

Rate this post
0 useful
not useful
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...

Author: Wastl (Guest)
Posted on:

Rate this post
0 useful
not useful
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

Author: Brittany Snow (brittany_snow)
Posted on:

Rate this post
0 useful
not useful
I have checked it ,but still is wrong.
Do you used this board before?

Author: argl (Guest)
Posted on:

Rate this post
0 useful
not useful
> [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

Author: Brittany Snow (brittany_snow)
Posted on:

Rate this post
0 useful
not useful
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.

Author: Brittany Snow (brittany_snow)
Posted on:

Rate this post
0 useful
not useful
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!

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.