[OpenAFS] cannot build pam_afs.so on x86_64

Andy Malato andym@oak.njit.edu
Tue, 19 Oct 2004 15:04:10 -0400 (EDT)


! Date: Fri, 15 Oct 2004 17:40:41 -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
!
!
! --- src/kauth/Makefile.in 11 Jan 2003 07:34:24 -0000      1.11
! +++ src/kauth/Makefile.in 15 Oct 2004 21:40:01 -0000
! @@ -185,10 +185,10 @@
!          ${CC} ${LDFLAGS} -o kpwvalid kpwvalid.o ${LIBS} ${XLIBS}
!
!   user.krb.o: user.c ${INCLS} ${TOP_INCDIR}/afs/vice.h
! -       ${CC} ${CFLAGS} -DAFS_KERBEROS_ENV -c ${srcdir}/user.c -o user.krb.o
! +       ${CCOBJ} ${CFLAGS} -DAFS_KERBEROS_ENV -c ${srcdir}/user.c -o user.krb.o
!
!   user.o: user.c ${INCLS} ${TOP_INCDIR}/afs/vice.h
! -       ${CC} ${CFLAGS} -c ${srcdir}/user.c
! +       ${CCOBJ} ${CFLAGS} -c ${srcdir}/user.c
!
!   kdb: kdb.o ${INCLS} ${LIBS} libkauth.a
!          ${CC} ${LDFLAGS} -o kdb kdb.o libkauth.a ${LIBS} ${XLIBS}
!
!
! _______________________________________________
! OpenAFS-info mailing list
! OpenAFS-info@openafs.org
! https://lists.openafs.org/mailman/listinfo/openafs-info
!

There were also additional objects that needed this fix :


crypt.o in src/des/Makefile.in

assert.o casestrcpy.o dirpath.o  in src/util/Makefile.in

ktc.krb.o in src/auth/Makefile.in


After adding CCOBJ, pam_afs.so built fine.



Thanks,


        ---Andy