[gtkada] Gnat switches and developing GtkAda
Preben Randhol
randhol at pvv.org
Sun Apr 20 16:04:24 CEST 2003
Preben Randhol <randhol at pvv.org> wrote on 20/04/2003 (15:35) :
> Hi
>
> I have now upgraded to gnat-3.3, but again I have problems with the gnat
Forgot to say that the reason for moving to gnat-3.3 was that when I
tried to compile GtkAda with 3.15 I get:
% make
make -C src
make[1]: Entering directory `/home/randhol/Source/Ada95/Others/GtkAda.cvs-orig/src'
mkdir -p lib-obj
chmod +x gate gtkada-config
make -C gtkextra
make[2]: Entering directory `/home/randhol/Source/Ada95/Others/GtkAda.cvs-orig/src/gtkextra'
glib-genmarshal --prefix=gtkextra --header gtkextra-marshal.list > gtkextra-marshal.h
glib-genmarshal --prefix=gtkextra --body gtkextra-marshal.list > gtkextra-marshal.c
gcc -c -g -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/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -fPIC gtkplot.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 gtkplot.c:24:
/usr/include/glib-2.0/glib/gmessages.h:116: warning: invalid character in macro parameter name
/usr/include/glib-2.0/glib/gmessages.h:116: badly punctuated parameter list in `#define'
/usr/include/glib-2.0/glib/gmessages.h:119: warning: invalid character in macro parameter name
/usr/include/glib-2.0/glib/gmessages.h:119: badly punctuated parameter list in `#define'
/usr/include/glib-2.0/glib/gmessages.h:122: warning: invalid character in macro parameter name
/usr/include/glib-2.0/glib/gmessages.h:122: badly punctuated parameter list in `#define'
/usr/include/glib-2.0/glib/gmessages.h:125: warning: invalid character in macro parameter name
/usr/include/glib-2.0/glib/gmessages.h:125: badly punctuated parameter list in `#define'
make[2]: *** [gtkplot.o] Error 1
make[2]: Leaving directory `/home/randhol/Source/Ada95/Others/GtkAda.cvs-orig/src/gtkextra'
make[1]: *** [extra] Error 2
make[1]: Leaving directory `/home/randhol/Source/Ada95/Others/GtkAda.cvs-orig/src'
make: *** [all] Error 2
If I force the configuration script to use the normal gcc then there is
a problem with linking.
--
Preben Randhol ------------------- http://www.pvv.org/~randhol/ --
«For me, Ada95 puts back the joy in programming.»
More information about the gtkada
mailing list