Summary: | GTKAda 2.2.1-r1 fails on compilation | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sergio Blanco Cuaresma <marble> |
Component: | [OLD] Development | Assignee: | ada team [OBSOLETE] <ada+disabled> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Sergio Blanco Cuaresma
2004-08-23 08:08:35 UTC
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 |