[Glade-users] gnome-utils.h conflicting type
Damon Chaplin
damon at karuna.uklinux.net
Sun Jul 24 07:41:27 EDT 2005
On Wed, 2005-07-20 at 21:47 -0500, Antonio Neme wrote:
> Hi,
> I am still having problems with the 'make' program. The following is
> the first error I get (usr/include/gnome-1.0/libgnome/gnome-util.h:29:
> error: conflicting types for `G_FILE_TEST_EXISTS'). I believe it is a
> lib version, but I am not sure. I would really appreciate any hint.
> The Makefile is the one glade generates. (I have previously run
> ./configure). Thanks!
>
> gcc -DHAVE_CONFIG_H -I. -I. -I..
> -DPACKAGE_DATA_DIR=\""/usr/local/share"\"
> -DPACKAGE_LOCALE_DIR=\""/usr/local//locale"\" -DXTHREADS
> -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include
> -I/usr/include/atk-1.0 -I/usr/include/pango-1.0
> -I/usr/include/freetype2 -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -I/usr/include/gnome-1.0/ -g -O2 -c
> main.c
> In file included from /usr/include/gnome-1.0/libgnome/libgnome.h:39,
> from /usr/include/gnome-1.0/gnome.h:17,
> from support.h:5,
> from main.c:13:
>
> /usr/include/gnome-1.0/libgnome/gnome-util.h:29: error: conflicting
> types for `G_FILE_TEST_EXISTS'
The "-I/usr/include/gnome-1.0/" flag looks wrong. That is for very old
versions of GNOME.
It should be something like "-I/usr/include/libgnomeui-2.0".
Have you tried creating a very simple project in Glade and building that
with "./autogen.sh" and "make"?
Damon
More information about the Glade-users
mailing list