Add the following in your Makefile and add gtk lib path into your PKG_CONFIG environment .
GTKCFLAGS = `pkg-config --cflags gtk+-2.0` -DGTK_ENABLE_BROKEN GTKLDFLAGS += `pkg-config --libs gtk+-2.0` On 7/29/05, Raghavendra <raghaven kumar gmail com> wrote: > > Hi > we are developing a application for Simputer(basically Encore ones) . > the application works well under gcc > but > when arm-linux-gcc is used to compile this error comes > > /opt/EncoreSimputer-tools/lib/gcc/arm-linux/3.4.1/../../../../arm-linux/bin/ld: > > cannot find -lgtk-x11-2.0 > collect2: ld returned 1 exit status > > > as it here shows a path here thre is no such ling path > while ld is in the directory > /opt/EncoreSimputer-tools/lib/gcc/arm-linux/bin/ld . > now we dont know whats the problem in here > and how to solve it. > > PS: the arm-linux-gcc was provided by the Encore Simputers. > > Thank You > Vishnu > _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list