Without seeing your source code, I would guess that you meant to use the macro GTK_TREE_MODEL rather than GTK_TREE (which doesn't exist, as the compilation suggests).
Also, you probably meant to use GTK_FILE_SELECTION rather than GTK_FILE_SELECETION - Darren On Fri, 2005-04-29 at 12:54 +0530, srinivas wrote: > hi > thanks for the reply; > > i compiled like what u said, then i got this errors, how can i go with > this. > > > undefined reference to `GTK_FILE_SELECETION' > /tmp/cctrfO3c.o(.text+0xe2):tree.c:51: undefined reference to `_' > /tmp/cctrfO3c.o(.text+0x188):tree.c:62: undefined reference to > `GTK_TREE' > /tmp/cctrfO3c.o(.text+0x1fa):tree.c:74: undefined reference to > `gtk_widget_push_style' > /tmp/cctrfO3c.o(.text+0x228):tree.c:79: undefined reference to > `gtk_widget_pop_style' > /tmp/cctrfO3c.o(.text+0x236):tree.c:81: undefined reference to > `GTK_TREE' > /tmp/cctrfO3c.o(.text+0x268):tree.c:85: undefined reference to > `GTK_TREE_ITEM' > /tmp/cctrfO3c.o(.text+0x27f):tree.c:86: undefined reference to > `GTK_TREE_ITEM' > > > thanks; > > vasu. > > > On Fri, 2005-04-29 at 12:19, Deekshit M wrote: > > Hi, > > It looks like you are using gtk-1.2. Try the > > following command to compile > > > > gcc -Wall -g filename.c -o filename $CFLAGS > > `pkg-config gtk+-2.0 --cflags` `pkg-config gtk+-2.0 > > --libs` > > > > Thanks > > Deekshit M > > > > --- srinivas <[EMAIL PROTECTED]> wrote: > > > i compiled my pgm using > > > -> gcc -Wall -g filename.c -o filename $CFLAGS > > > `gtk-config --cflags` > > > `gtk-config --libs`. > > > i got the error like this, > > > > > > error: `GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER' > > > undeclared (first > > > use in this function) > > > error: `GTK_STOCK_CANCEL' undeclared (first use in > > > this function) > > > error: `GTK_RESPONSE_CANCEL' undeclared (first use > > > in this function) > > > error: `GTK_STOCK_OPEN' undeclared (first use in > > > this function) > > > error: `GTK_RESPONSE_ACCEPT' undeclared (first use > > > in this function) > > > > > > how to resolve the errors. > > > > > > thanks; > > > > > > vasu. > > > > > > > > > _______________________________________________ > > > gtk-app-devel-list mailing list > > > gtk-app-devel-list@gnome.org > > > > > http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list > > > > > _______________________________________________ > gtk-app-devel-list mailing list > gtk-app-devel-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list