[gtkada] GtkAda 2.0 on Linux: build problem

Arnaud Charlet charlet at ACT-Europe.FR
Mon Sep 9 18:58:18 CEST 2002


The problem is that your version of Gtk+ has been compiled with
GCC 2.9 or 3, and a Gtk+ compiled with this version can't be used with
gcc 2.8.1 (that comes with GNAT). so much for C portability...

Possible solutions are:

- rebuild Gtk+ with GNAT/GCC 2.8.1

- modify by hand /usr/lib/glib-2.0/include/glibconfig.h to have
  G_HAVE_ISO_VARARGS undefined, as done for GCC 2.95 around the line 100

- use /usr/bin/gcc to compile the C files that are part of GtkAda

Arno




More information about the gtkada mailing list