/bin/hello: 21: Syntax error: word unexpected (expecting ")")

Benny k j bennyk_j at hotmail.com
Mon Feb 16 02:20:18 UTC 2009


Hi,
 
It helped. Thanks for the reply.
 
Kind Regards,
 
Benny K J> From: vda.linux at googlemail.com> To: uclibc at uclibc.org> Subject: Re: /bin/hello: 21: Syntax error: word unexpected (expecting ")")> Date: Sun, 15 Feb 2009 15:14:07 +0100> CC: bennyk_j at hotmail.com> > On Friday 13 February 2009 12:09, Benny k j wrote:> > I apologize for posting my previous request, "directory structure" here, rather than at the buildroot mailing list.> > > > But now I have this problem:> > > > /bin/hello: 21: Syntax error: word unexpected (expecting ")")> > > > when i try to run a simple hello world ([hello: ELF 32-bit LSB executable, ARM, version 1, statically linked, not stripped]) on my ARM board (AT91RM9200). > > > > #include<stdio.h>> > int main(int argc, char** argv)> > {> > printf("Hello World \n");> > return 0;> > }> > Looks like you didn't set executable bits on hello executable,> and shell tries to parse it as a shell script.> > --> vda
_________________________________________________________________
Find a better job. We have plenty. Visit MSN Jobs
http://www.in.msn.com/jobs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/uclibc/attachments/20090216/5247b520/attachment.htm>


More information about the uClibc mailing list