Compiled Program from Linux DVSDK on Beagle Board xM with Angstrom Distribution Fails...

Hi,

I wanted to access the pins on the expansion header as GPIO on the
Beagle Board xM with Angstrom distribution....

I used the program on this link :

http://linuxjunk.blogspot.com/2009/01/beagleboard-gpio-input-driverless.html

It got compiled and an exe is made using Linux DVSDK....

But when I try running it on the Beagle Board xM with Angstrom
distribution :

I got the following error :

./gpio: line 1: syntax error: "(" unexpected

Please tell me where I am wrong...

Regards