[gtkada] Problem building GtkAda

Jerry van Dijk jvandyk at attglobal.net
Fri May 16 19:12:55 CEST 2003


I am trying to build GtkAda 2.0.0 on Mandrake 9.1 using gnat 3.15p.

However, the build stops with:

gcc -c -O2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -fPIC gtkpsfont.c
In file included from /usr/include/glib-2.0/glib.h:50,
                 from /usr/include/gtk-2.0/gdk/gdktypes.h:32,
                 from /usr/include/gtk-2.0/gdk/gdkcolor.h:4,
                 from /usr/include/gtk-2.0/gdk/gdk.h:30,
                 from /usr/include/gtk-2.0/gtk/gtk.h:31,
                 from gtkpsfont.c:28:
/usr/include/glib-2.0/glib/gmessages.h:116: warning: invalid character in macro parameter name

and a lot more messages like it.

The gmessages problem is in the last line of:

#ifdef G_HAVE_ISO_VARARGS
#define g_error(...)    g_log (G_LOG_DOMAIN,         \
                               G_LOG_LEVEL_ERROR,    \
                               __VA_ARGS__)

which suggests I am missing some piece. But what ?

Advice very welcome!

-- 
--  Jerry van Dijk   | email: jvandyk at attglobal.net
--  Leiden, Holland  | web:   users.ncrvnet.nl/gmvdijk




More information about the gtkada mailing list