Package: exmap
Version: 0.8-1
Severity: normal
Tags: patch

When building 'exmap' on amd64/unstable, I get the following error:

cc -o mapper mapper.o
cc -g -Wall -O2   -c -o sharedarraymain.o sharedarraymain.c
cc -g -Wall -O2   -c -o sharedarray.o sharedarray.c
cc -shared -o libsharedarray.so sharedarray.o
/usr/bin/ld: sharedarray.o: relocation R_X86_64_32S against `writeme' can not 
be used when making a shared object; recompile with -fPIC
sharedarray.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libsharedarray.so] Error 1
make[2]: Leaving directory `/exmap-0.8/tools'

With the attached patch 'exmap' can be compiled on amd64.

Regards
Andreas Jochens

diff -urN ../tmp-orig/exmap-0.8/debian/rules ./debian/rules
--- ../tmp-orig/exmap-0.8/debian/rules  2006-03-22 19:33:20.000000000 +0000
+++ ./debian/rules      2006-03-22 19:33:15.000000000 +0000
@@ -5,6 +5,7 @@
 include /usr/share/cdbs/1/rules/simple-patchsys.mk
 
 DEB_MAKE_BUILD_TARGET := build
+DEB_OPT_FLAG := -fPIC
 
 PACKAGE = exmap-modules
 MA_DIR ?= /usr/share/modass


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to