I have gtkada 2.2.1 installed and compiled time ago against Gtk 2.2, now it is impossible to upgrade to gtkada 2.2.1-r1 because of a compilation error: [...] gcc -shared -fPIC -o libgtkada-2.2.so.1 \ -Wl,-soname,libgtkada-2.2.so.1 lib-obj/glib*.o lib-obj/gdk*.o \ lib-obj/gtk*.o lib-obj/pango*.o \ lib-obj/misc.o lib-obj/misc_extra.o lib-obj/misc_broken.o gtkextra/gtk*.o -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 gcc: lib-obj/glib*.o: No existe el fichero o el directorio gcc: lib-obj/gdk*.o: No existe el fichero o el directorio gcc: lib-obj/gtk*.o: No existe el fichero o el directorio gcc: lib-obj/pango*.o: No existe el fichero o el directorio make[1]: *** [libgtkada.so] Error 1 make[1]: Leaving directory `/var/tmp/portage/gtkada-2.2.1-r1/work/GtkAda-2.2.1/src' make: *** [all] Error 2 !!! ERROR: dev-ada/gtkada-2.2.1-r1 failed. !!! Function src_compile, Line 43, Exitcode 2 !!! (no error message) I have Gtk 2.4 and I have tried to downgrade to Gtk 2.2 and emerge gtkada again, same problem. I have tried to download GtkAda CVS version (http://libre.act-europe.fr/GtkAda/main.html) and I get the same problem. Reproducible: Always Steps to Reproduce: 1. emerge gtkada Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.4.27) ================================================================= System uname: 2.4.27 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz Gentoo Base System version 1.4.16 distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=i686 -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=i686 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://saturno.marblestation.homeip.net/gentoo-portage" USE="X aalib acpi alsa apache2 apm avi berkdb blender-game bonobo canna cdr crypt cups curl dga directfb dvd encode esd ethereal evo faad fam fbcon ffmpeg flac flash foomaticdb gb gdbm ggi gif gnome gnomedb gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile imap imlib innodb jabber java javascript jikes joystick jpeg ldap libg++ libgda libwww linguas_es mad mbox mdb mikmod mono motif mozilla moznoirc moznomail mpeg mpeg4 msn mysql ncurses nls odbc offensive oggvorbis opengl oscar oss pam pda pdflib perl physfs pic png ppds python quicktime radeon readline samba scanner sdl silc slang speex spell ssl tcltk tcpd theora tiff truetype usb v4l vim-with-x x86 xchattext xine xml2 xmms xv xvid yahoo zlib"
Which version of GNAT are you using?
I had the same problem but now it compiles fine for me, with all stable packages.
I have the same problem. Though, the problem occured after I tried to recompile the system with NPTL support. I had the following /etc/make.conf before: # These settings were set by the catalyst build script that automatically built this stage CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer " CHOST="i686-pc-linux-gnu" USE="mmx mmx2 sse sse2 gtk -gnome qt -kde dvd cdr nls unicode" CXXFLAGS="${CFLAGS}" MAKEOPTS="-j2" GTKAda was compiled and installed flawlessly with the above flags. Then, I added some new flags to the /etc/make.conf # These settings were set by the catalyst build script that automatically built this stage CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -fforce-addr -finline-functions -pipe" CHOST="i686-pc-linux-gnu" USE="mmx mmx2 sse sse2 nptl nptlonly gtk -gnome qt -kde dvd cdr nls unicode" CXXFLAGS="${CFLAGS}" MAKEOPTS="-j2" and tried to recompile the system. GNAT compiled all right, but GTKAda failed with exactly the same error messages: i686-pc-linux-gnu-gcc -shared -fPIC -o libgtkada-2.2.so.1 \ -Wl,-soname,libgtkada-2.2.so.1 lib-obj/glib*.o lib-obj/gdk*.o \ lib-obj/gtk*.o lib-obj/pango*.o \ lib-obj/misc.o lib-obj/misc_extra.o lib-obj/misc_broken.o gtkextra/gtk*.o -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 i686-pc-linux-gnu-gcc: lib-obj/glib*.o: No such file or directory i686-pc-linux-gnu-gcc: lib-obj/gdk*.o: No such file or directory i686-pc-linux-gnu-gcc: lib-obj/gtk*.o: No such file or directory i686-pc-linux-gnu-gcc: lib-obj/pango*.o: No such file or directory make[1]: *** [libgtkada.so] Error 1 make[1]: Leaving directory `/var/tmp/portage/gtkada-2.2.1-r1/work/GtkAda-2.2.1/src' make: *** [all] Error 2 !!! ERROR: dev-ada/gtkada-2.2.1-r1 failed. !!! Function src_compile, Line 43, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. My system briefly: Linux version 2.6.11.11, gcc version 3.3.5-20050130, Gentoo 3.3.5.20050130-r1, Portage 2.0.51.22-r2, i686 Intel(R) Pentium(R) 4 CPU 2.40GHz, gnat-3.15p-r5, gtkada-2.2.1-r1 The compilation failure occured after new flags were added to the /etc/make.conf. That's the only thing I changed.
Please try new gnat-xxx and new gtkada.. George