./hello: 1: Syntax error: word unexpected (expecting ")")
hi i have cross compiled the sample program (which contains simple printf statement) for ARM architecture and when i run this executable program its showing below error can some one help me in getting out of this.
./hello: 1: Syntax error: word unexpected (expecting ")") Regards, Madhav. |
It is considered bad form to hijack a thread. You should start your own thread.
Having said that, I would suggest that you make sure your executable program really is that. What is the result of Code:
file ./hello --- rod. [EDIT] Looks like the mods have started a new thread for you |
Hi madhav,
It seems like you didn't crosscompiled it correctly,please make sure that you've got an arm executable by typing 'file <executable bame>',(I got the error because my compilation was not complete,i.e, I just made an object file ,I fixed it after cross compiling it with proper option to generate executable) |
ya thanks for the information, there was a minor mistake as i used -c option while compilation which resulted in generating only object file, so i was trying to execute this so i got the error.
thanks for the information. Regards, Madhav. |
All times are GMT -5. The time now is 03:19 AM. |