[gtkada] OSX installation problem

Op de Coul, Manuel Manuel.op.de.Coul at eon.com
Mon Aug 27 11:45:47 CEST 2012


Hello,

I was upgrading GtkAda from 2.18 to 2.24 on the Mac but the make stage ended in an error:

gcc -o lib-obj/misc.o -c -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -DG_DISABLE_CAST_CHECKS -g -O2 -Wall -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng14   -I.. -fno-common misc.c
In file included from misc.c:39:
/opt/local/include/glib-2.0/glib/gmain.h:21:2: error: #error "Only <glib.h> can be included directly."
misc.c: In function 'ada_gparam_get_name':
misc.c:3681: warning: return discards qualifiers from pointer target type
make[1]: *** [lib-obj/misc.o] Error 1
make: *** [src] Error 2

I checked the gtk and related packages in Macports but couldn't find anything wrong with them.
Can anyone see what can be the problem? config.log is attached.
When I installed GtkAda nonetheless and compiled my program I got link errors like these and more:

Undefined symbols:
  "_gtk__toggle_button__gtk_toggle_button_recordSR", referenced from:
      _play_button_pkg__play_button_recordSR__2 in play_button_pkg.o
      _play_button_pkg__play_button_recordSI__2 in play_button_pkg.o
     (maybe you meant: _gtk__toggle_button__gtk_toggle_button_recordSR__2)
  "_gtk__toggle_button__gtk_toggle_button_recordSW", referenced from:
      _play_button_pkg__play_button_recordSW__2 in play_button_pkg.o
      _play_button_pkg__play_button_recordSO__2 in play_button_pkg.o
     (maybe you meant: _gtk__toggle_button__gtk_toggle_button_recordSW__2)
  "_gtk__combo__gtk_combo_recordSR", referenced from:
      _hist_combo_pkg__hist_combo_recordSR__2 in hist_combo_pkg.o
      _hist_combo_pkg__hist_combo_recordSI__2 in hist_combo_pkg.o
     (maybe you meant: _gtk__combo__gtk_combo_recordSR__2)

Any help very much appreciated!

Manuel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/octet-stream
Size: 19249 bytes
Desc: config.log
URL: </pipermail/gtkada/attachments/20120827/27144ca9/attachment-0001.obj>


More information about the gtkada mailing list