[OpenAFS] Problems building openafs-1.3.80 on linux 2.6 kernel

Andy Malato andym@oak.njit.edu
Tue, 5 Apr 2005 16:32:52 -0400 (EDT)


! Date: Tue, 4 Apr 2005 14:56:51 -0400 (EDT)
! From: Derrick J Brashear <shadow@dementia.org>
! To: Andy Malato <andym@oak.njit.edu>
! Cc: openafs-info@openafs.org
! Subject: Re: [OpenAFS] Problems building openafs-1.3.80 on linux 2.6
!     kernel
!
!
!
! On Tue, 5 Apr 2005, Andy Malato wrote:
!
! > in src/cf/osconf.m4 I changed :
! >
! > XLIBS="${LIB_AFSDB}"
! >
! > to:
! >
! > XLIBS="-lresolv ${LIB_AFSDB}"
!
! oh, LIB_AFSDB probably included -lresolv already.
!
! But, was -lresolv in the link line for the link where you got the error?


No, it wasn't.  I've included the error message below for reference.


---

libauth.a(cellconfig.o)(.text+0xbc5): In function `afsconf_GetAfsdbInfo':
/home/noderestore/install/afs/openafs-1.3.80/src/auth/cellconfig.c:753:
undefined reference to `__res_search'
libauth.a(cellconfig.o)(.text+0xbfa):/home/noderestore/install/afs/openafs-1.3.80/src/auth/cellconfig.c:759:
undefined reference to `__dn_expand'
libauth.a(cellconfig.o)(.text+0xc36):/home/noderestore/install/afs/openafs-1.3.80/src/auth/cellconfig.c:768:
undefined reference to `__dn_expand'
libauth.a(cellconfig.o)(.text+0xdc5):/home/noderestore/install/afs/openafs-1.3.80/src/auth/cellconfig.c:794:
undefined reference to `__dn_expand'
collect2: ld returned 1 exit status
make[3]: *** [copyauth] Error 1
make[3]: Leaving directory
`/home/noderestore/install/afs/openafs-1.3.80/src/auth'
make[2]: *** [auth] Error 2
make[2]: Leaving directory `/home/noderestore/install/afs/openafs-1.3.80'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/home/noderestore/install/afs/openafs-1.3.80'
make: *** [all] Error 2

---


! _______________________________________________
! OpenAFS-info mailing list
! OpenAFS-info@openafs.org
! https://lists.openafs.org/mailman/listinfo/openafs-info
!