Re: gnome-core and yelp doesn't build



>> "MH" == Mikael Hallendal <micke codefactory se> writes:

> tor 2002-01-24 klockan 00.13 skrev Christian Marillat:

[...]

>> http://marillat.free.fr/dists/gnome2-errors

> I've heard of this problem on Debian before (with Yelp). It truly looks
> like some weirdness in your headers but I'm not sure.

> All it does is #include <gtktreemodel.h> and that gives you errors in
> the glib headers. 

> Does a small test-file with #include <gtktreemodel.h> work?

No.

gcc -I/usr/include/glib-2.0 -I/usr/include/gtk-2.0/gtk -I/usr/include/gtk-2.0 main.c

Where main.c is :

#include <gtktreemodel.h>

int
main (int argc, char **argv)
{

}


In file included from /usr/include/glib-2.0/glib/galloca.h:30,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/glib-2.0/gobject/gtype.h:26,
                 from /usr/include/glib-2.0/gobject/gboxed.h:26,
                 from /usr/include/glib-2.0/glib-object.h:25,
                 from /usr/include/gtk-2.0/gtk/gtkenums.h:30,
                 from /usr/include/gtk-2.0/gtk/gtkobject.h:31,
                 from /usr/include/gtk-2.0/gtk/gtktreemodel.h:23,
                 from yelp-main.c:23:
/usr/include/glib-2.0/glib/gtypes.h:41: syntax error before `typedef'
In file included from /usr/include/glib-2.0/glib.h:31,
                 from /usr/include/glib-2.0/gobject/gtype.h:26,
                 from /usr/include/glib-2.0/gobject/gboxed.h:26,
                 from /usr/include/glib-2.0/glib-object.h:25,
                 from /usr/include/gtk-2.0/gtk/gtkenums.h:30,
                 from /usr/include/gtk-2.0/gtk/gtkobject.h:31,
                 from /usr/include/gtk-2.0/gtk/gtktreemodel.h:23,
                 from yelp-main.c:23:




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]