[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Error building libgtkada2



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:

gcc-3.3 -c -I../ -g -O2 -gnatn -gnatws -fPIC -I- ../glib-xml_int.ads
cd lib-obj; x86_64-linux-gcc -c -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS
-DG_DISABLE_CAST_CHECKS -g -O2 -Wall -DXTHREADS -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
cd lib-obj; x86_64-linux-gcc -c -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS
-DG_DISABLE_CAST_CHECKS -g -O2 -Wall -DXTHREADS -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
cd lib-obj; x86_64-linux-gcc -c -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS
-DG_DISABLE_CAST_CHECKS -g -O2 -Wall -DXTHREADS -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_broken.c
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

anyone a idea?
thnaks Alex




Reply to: