Now I tried out gnat-3.4 but it seems to be the same error. and there is no way to get the source build? thanks Alex
Am Mittwoch, den 27.04.2005, 19:09 +0200 schrieb Kurt Roeckx: > On Wed, Apr 27, 2005 at 04:39:28PM +0200, Alexander Jede wrote: > > I want to install gnat-gps and need the libgtkada2-2.4.0 package. > > trying to compile the source-code with "dpkg-buildpackage -rfakeroot -us > > -uc -d"(-d because I get the failer, that he can't find the gnat package > > although it is installed) , downloaded from the debian-website, > > I get this error: > > You do not have the required version of gnat installed. gnat-3.3 > is a different package than gnat. The ada that is part of gcc > 3.3 (and 3.4?) is not really stable yet. The debian package do > not build with gnat-3.3 because of this. The older gnat package > (gnat 3.15p-12) does not support amd64. > > > gnatgcc -shared -fPIC -o libgtkada-2.4.so.0 \ > > -Wl,-soname,libgtkada-2.4.so.0 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 \ > > -L/usr/lib/gcc-lib/`gnatgcc -dumpmachine`/`gnatgcc > > -dumpversion`/adalib \ > > -lgnat > > /usr/bin/ld: > > /usr/lib/gcc-lib/x86_64-linux/3.3.5/adalib/libgnat.a(a-chahan.o): > > relocation R_X86_64_32S can not be used when making a shared object; > > recompile with -fPIC > > /usr/lib/gcc-lib/x86_64-linux/3.3.5/adalib/libgnat.a: could not read > > symbols: Bad value > > collect2: ld returned 1 exit status > > You're making a shared lib using a static lib because there is no > shared version of libgnat. gnat-3.4 should have a shared version > of the library and I suggest you try that. > > > Kurt > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

