Re: [gtk-list] Re: Compile problem with GMutex for >= gtk+-1.1.7

Sebastian Wilhelmi wrote:

> struct _GMutex (aka GMutex) is an opaque type, i.e. you can use it as long
> as its size or structure is not needed by the compiler, so you can have
> pointers to such objects, but thats pretty much all you can do, but
> happily also all you need to do.
> What are your problems then (doesn't gtk+ compile?), This should'nt be one
> actually.

I'm actually using the RPM binary of gtk+.  What I'm trying to compile is
gnome-pilot, and configure bombed with:

configure:2436: gcc -o conftest -g -O2 -I/usr/X11R6/include
-I/usr/local/lib/glib/include -I/usr/local/include   conftest.c
-L/usr/local/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl
-lXext -lX11 -lm 1>&5
In file included from /usr/include/gtk/gtk.h:23,
                 from configure:2428:
/usr/include/gdk/gdk.h:965: parse error before `*'
/usr/include/gdk/gdk.h:965: warning: data definition has no type or storage

The problem turned out to be an older version of the include files in
/usr/local/include, and and old version of gtk-config in /usr/local/bin.  It
works now.



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