Thanks 14moose,
First thanks to care fully read my post.
i have corrected here my fault. But still i am getting errors at compiling. now i will explaining here my full gtk structure as well as a new commands i have fired here.
first see here my directory structre of gtk-2.0
[root@Nainesh-Linux GTK]# ls /usr/include/gtk-2.0/ -liah
total 44K
5916240 drwxr-xr-x. 6 root root 4.0K 2009-09-04 06:56 .
5881857 drwxr-xr-x. 143 root root 16K 2010-09-08 12:06 ..
5916241 drwxr-xr-x. 2 root root 4.0K 2009-10-27 13:34 gdk
5916242 drwxr-xr-x. 2 root root 4.0K 2009-10-27 13:34 gdk-pixbuf
5916243 drwxr-xr-x. 2 root root 4.0K 2009-10-27 13:34 gdk-pixbuf-xlib
5916290 drwxr-xr-x. 2 root root 12K 2010-09-14 15:20 gtk
[root@Nainesh-Linux GTK]# gcc -o hello-gtk hello-gtk.c `pkg-config gtk+-2.0 --cflags --libs` -I /usr/include/gtk-2.0/
hello-gtk.c: In function ‘main’:
hello-gtk.c:27: warning: assignment makes pointer from integer without a cast
/tmp/ccqdXCgZ.o: In function `main':
hello-gtk.c
.text+0x11a): undefined reference to `GTK_TEXT'
hello-gtk.c
.text+0x167): undefined reference to `GTK_TEXT'
collect2: ld returned 1 exit status
[root@Nainesh-Linux GTK]# g++ -o hello-gtk hello-gtk.c `pkg-config gtk+-2.0 --cflags --libs` -I /usr/include/gtk-2.0/
hello-gtk.c: In function ‘int main(int, char**)’:
hello-gtk.c:27: error: ‘gtk_text_new’ was not declared in this scope
hello-gtk.c:28: error: ‘GTK_TEXT’ was not declared in this scope
hello-gtk.c:28: error: ‘gtk_text_set_editable’ was not declared in this scope
hello-gtk.c:31: error: ‘gtk_text_insert’ was not declared in this scope