Package: autodir
Version: 0.99.3-1
Severity: normal
Tags: patch

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

x86_64-linux-gnu-gcc -shared  .libs/autohome.o   -Wl,-soname 
-Wl,autohome.so.1001 -o .libs/autohome.so.1001.0.1
/usr/bin/ld: .libs/autohome.o: relocation R_X86_64_32 against `a local symbol' 
can not be used when making a shared object; recompile with -fPIC
.libs/autohome.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[4]: *** [autohome.la] Error 1
make[4]: Leaving directory `/autodir-0.99.3/src/modules'

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

Regards
Andreas Jochens

diff -urN ../tmp-orig/autodir-0.99.3/debian/rules ./debian/rules
--- ../tmp-orig/autodir-0.99.3/debian/rules     2006-04-21 16:25:31.000000000 
+0000
+++ ./debian/rules      2006-04-21 16:09:29.000000000 +0000
@@ -21,7 +21,7 @@
 config.status: configure
        dh_testdir
        # Add here commands to configure the package.
-       CFLAGS="$(CFLAGS) -Wl,-z,defs" ./configure --host=$(DEB_HOST_GNU_TYPE) 
--build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man 
--infodir=\$${prefix}/share/info
+       ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) 
--prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info
 
 
 build: build-stamp


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

Reply via email to