From:
[email protected]
Package: gauche-gtk
Severity: normal
Tags: patch
When building 'gauche-gtk' on amd64 I get the following error:
x86_64-linux-gcc `pkg-config --libs-only-L gtkglext-1.0` -shared -o gauche-gtkgl.so gtkgl_head.o gauche-gtkgl.o gdkgllib.o gtkgllib.o gtkgl_tail.o `pkg-config --libs-only-l gtkglext-1.0` -L/usr/lib/gauche/0.7.4.2/x86_64-pc-linux-gnu -lgauche -ldl -
lcrypt -lutil -lm -lpthread -L/usr/X11R6/lib -lSM -lICE -lXext -lX11 /usr/bin/ld: gauche-gtkgl.o: relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC
gauche-gtkgl.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [gauche-gtkgl.so] Error 1
make[2]: Leaving directory `/gauche-gtk-0.3.2/gtkgl'
With the attached patch 'gauche-gtk' can be compiled on amd64.
Regards
Andreas Jochens
diff -urN ../tmp-orig/gauche-gtk-0.3.2/debian/rules ./debian/rules
--- ../tmp-orig/gauche-gtk-0.3.2/debian/rules 2004-08-18 09:13:51.329225929 +0200
+++ ./debian/rules 2004-08-18 09:11:00.117254105 +0200
@@ -17,7 +17,7 @@
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-CFLAGS = -Wall -g
+CFLAGS = -Wall -g -fPIC
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
--
To UNSUBSCRIBE, email to
[email protected]
with a subject of "unsubscribe". Trouble? Contact
[email protected]
--- SoupGate-Win32 v1.05
* Origin: you cannot sedate... all the things you hate (1:229/2)