Subject: | Build Problem on amd64 |
Date: | Fri, 02 Oct 2009 16:21:50 +0200 |
To: | bug-AFS [...] rt.cpan.org |
From: | Jan Wenzel <jan.wenzel [...] gonicus.de> |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I'm trying to build this module on a Debian GNU/Linux Lenny System, with
upstream openafs packages:
Perl v5.10.0 built for x86_64-linux-gnu-thread-multi
libopenafs-dev 1.4.7.dfsg1-6+lenny2
The Build stops with:
===
cc -shared -O2 -g -L/usr/local/lib AFS.o -o
../blib/arch/auto/AFS/AFS.so \
-L/usr/lib -L/usr/lib/afs -lbos -lvolser -lvldb -lafsrpc
- -lafsauthent -lcmd -lusd -laudit /usr/lib/afs/util.a
/usr/lib/libafsrpc.a /usr/lib/libafsauthent.a -lresolv \
/usr/bin/ld: /usr/lib/libafsrpc.a(rx.o): relocation R_X86_64_32 against
`rx_services' can not be used when making a shared object; recompile
with -fPIC
/usr/lib/libafsrpc.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [../blib/arch/auto/AFS/AFS.so] Error 1
make[1]: Leaving directory `/root/build/libafs-perl-2.6.1/src'
make: *** [subdirs] Error 2
===
I've tried to rebuild libafsrpc.a with PIC, but these guys use ranlib
which does something that i do not understand yet...
Is my problem openafs related and should i ask these guys or do you have
an idea how to fix this problem?
Greetings
Jan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkrGDHsACgkQzaoFHMzBsBreoACeNYapy3SfzMR2pdxU3pi55t7/
CAEAnjSFNKtXoiqChCbIlfNRKCLWco+m
=53BV
-----END PGP SIGNATURE-----