/bin/hello: 21: Syntax error: word unexpected (expecting ")")
Denys Vlasenko
vda.linux at googlemail.com
Sun Feb 15 14:14:07 UTC 2009
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
More information about the uClibc
mailing list