Hi, I write simple .c code in linux editor and complie in gcc and I got executable file. I run that file in system it work fine.Then I send this file to mini2440 kit using serial port (sz command). Initially it doesnt executed it shows message Permission denied. Then I use chmod command and make it executable. But when I try to execute this file I got above error(please see attachment). This same file executed on my host system but not on kit. Please suggest me some solution.
How to execute file in linux OS
You compile and run the binary on your host and it works and you try to run the same binary on the Mini2440? If yes, try to search the web for "cross compile".
Thanks for reply, Please tell the procedure of getting executable binary output from c file in ubantu linux OS.
type ps and see if that process is already running .. if so kill that process by typing kill process_number then take binary in thumb drive. connect thumb drive with mini 2440 board. type cd /tmp mkdir myFolder cd myFolder cp /udisk/imageName /tmp/myFolder ./imageName & hope that works
yes up to some level.. what is the problem,, open terminal, go to location where everything saved. write make.. it will make an executable