I'm experiencing the same problem as reported in that forum thread: -- [...] gnatgcc -c -I../ -march=i686 -O2 -pipe -fPIC -I- ../gtk-layout.adb gnatgcc -c -I../ -march=i686 -O2 -pipe -fPIC -I- ../gtkada-multi_paned.adb gnatgcc -c -I../ -march=i686 -O2 -pipe -fPIC -I- ../glib-xml_int.ads cd lib-obj; gcc -c -march=i686 -O2 -pipe -Wall -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -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.. -fPIC ../misc.c ../misc.c: In function `ada_initialize_class_record': ../misc.c:338: warning: use of cast expressions as lvalues is deprecated cd lib-obj; gcc -c -march=i686 -O2 -pipe -Wall -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -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.. -fPIC ../misc_extra.c ../misc_extra.c: In function `ada_gtk_combo_box_get_button': ../misc_extra.c:165: error: structure has no member named `button' ../misc_extra.c: In function `ada_gtk_combo_box_get_arrow': ../misc_extra.c:170: error: structure has no member named `arrow' ../misc_extra.c: In function `ada_gtk_combo_box_get_frame': ../misc_extra.c:175: error: structure has no member named `frame' make[1]: *** [lib-obj/misc_extra.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/gtkada-2.2.1/work/GtkAda-2.2.1/src' make: *** [all] Error 2 !!! ERROR: dev-ada/gtkada-2.2.1 failed. !!! Function src_compile, Line 42, Exitcode 2 !!! (no error message) -- I have gtk+-2.4.3. I haven't tried to downgrade it yet...
From gtkada cvs: [TXT] configure 1.74 2 days charlet Switch to version 2.4.0, now that we are compatible with Gtk+ 2.4 [TXT] configure.in 1.52 2 days charlet Switch to version 2.4.0, now that we are compatible with Gtk+ 2.4 ... perhaps we will have to wait or to patch
I temporarily fixed this in CVS, sadly my fix breaks some software that are using these three functions. I will probably make a CVS snapshot of this asap.