Hi ... i tried to add a picture to a wdiget it actually worked but while i used pkg-config i encountered the following problem can any one tell me what is the problem actually.... g++ -c -Iinclude -Wall -g `pkg-config --cflags gtk+-2.0` `test -f 'main.cpp' || echo '/'`main.cpp g++ -c -Iinclude -Wall -g `pkg-config --cflags gtk+-2.0` `test -f ' cdlg.cpp' || echo '/'` cdlg.cpp g++ -c -Iinclude -Wall -g `pkg-config --cflags gtk+-2.0` `test -f ' capp.cpp' || echo '/'` capp.cpp g++ -o amp main.o cdlg.o capp.o `pkg-config --libs gtk+-2.0` -lgdk_imlib /usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../libgdk_imlib.so: undefined reference to `gdk_gc_destroy' /usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../libgdk_imlib.so: undefined reference to `gdk_window_get_visual' /usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../libgdk_imlib.so: undefined reference to `gdk_window_get_size' /usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../libgdk_imlib.so: undefined reference to `gdk_pixmap_unref' /usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../libgdk_imlib.so: undefined reference to `gdk_root_parent' /usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../libgdk_imlib.so: undefined reference to `gdk_draw_pixmap' collect2: ld returned 1 exit status make: *** [amp] Error 1 Thank you in Advance Anish Chandran _____________________________________________ Free email with personality! Over 200 domains! http://www.MyOwnEmail.com Looking for friendships,romance and more? http://www.MyOwnFriends.com _______________________________________________ gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list