problem in compile Hello World in GTK in my beagleboneblack

I am trying to compile a simple helloworld program from this link

to beagleboneblack with linux angstrom installed

Hello World in GTK

but when i compile this using