[OpenAFS] cannot build pam_afs.so on x86_64

Andy Malato andym@oak.njit.edu
Fri, 15 Oct 2004 17:22:00 -0400 (EDT)


! Date: Fri, 15 Oct 2004 16:57:21 -0400 (EDT)
! From: Derrick J Brashear <shadow@dementia.org>
! To: openafs-info@openafs.org
! Subject: Re: [OpenAFS] cannot build pam_afs.so on x86_64
!
!
! On Fri, 15 Oct 2004, Andy Malato wrote:
!
! > Hi,
! >
! >
! > I am having some difficulty building the AFS pam module (pam_afs.so) on an
! > x86_64 system running RHEL 3.0
!
! in src/cf/osconf.m4, set CCOBJ to cc -fPIC
!
! then rerun regen.sh, reconfigure, and rebuild.
!

Did that and I still the the below mentioned error.







!
! > When I try building it, I get the following error:
! >
! > ...
! > /usr/bin/ld: /ftp/openafs/openafs-1.3.71/lib/libkauth.a(user.o):
! > relocation R_X86_64_32 can not be used when making a shared object;
! > recompile with -fPIC
! > ...
! >
! > I have recompiled with -fPIC but that did not seem to fix the problem.
! > Has anyone successfully compiled the pam module for x86_64 ?
! >
! >
! > I have tried both openafs-1.3.71 and openafs-1.2.11
! >
! >
! > Any suggestions and/or known resolution to the above problem ?
! >
! >
! > Thanks,
! >
! >
! >        ---Andy
! > _______________________________________________
! > OpenAFS-info mailing list
! > OpenAFS-info@openafs.org
! > https://lists.openafs.org/mailman/listinfo/openafs-info
! >
! _______________________________________________
! OpenAFS-info mailing list
! OpenAFS-info@openafs.org
! https://lists.openafs.org/mailman/listinfo/openafs-info
!