need to give the library name in the command line .As the definitions of many API's are not available in gstreamer-1.0 itself, Telling the GCC to link with these libraries during linking time will help to solve this problem .
The command i used
gcc dislpay.c -o exe_dispaly `pkg-config --cflags --libs gstreamer-interfaces-0.10 gstreamer-0.10 `