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

Andy Malato andym@oak.njit.edu
Wed, 6 Apr 2005 07:17:44 -0400 (EDT)


! Date: Tue, 5 Apr 2005 16:42:52 -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?
! >
! >
! Including the link line for reference would be more useful.

cc  -O -I/home/noderestore/install/afs/openafs-1.3.80/src/config -I. -I.
-I/home/noderestore/install/afs/openafs-1.3.80/include
-I/home/noderestore/install/afs/openafs-1.3.80/include/afs
-I/home/noderestore/install/afs/openafs-1.3.80/include/rx
-I/home/noderestore/install/afs/openafs-1.3.80
-I/home/noderestore/install/afs/openafs-1.3.80/src
-I/home/noderestore/install/afs/openafs-1.3.80/src -g -O2
-D_LARGEFILE64_SOURCE -o copyauth copyauth.o libauth.a
/home/noderestore/install/afs/openafs-1.3.80/lib/libsys.a
/home/noderestore/install/afs/openafs-1.3.80/lib/librxkad.a
/home/noderestore/install/afs/openafs-1.3.80/lib/libdes.a
/home/noderestore/install/afs/openafs-1.3.80/lib/librx.a
/home/noderestore/install/afs/openafs-1.3.80/lib/libsys.a
/home/noderestore/install/afs/openafs-1.3.80/lib/liblwp.a
/home/noderestore/install/afs/openafs-1.3.80/lib/util.a
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


A log of the entire build process can found at:

        http://web.njit.edu/~andym/logs/afsbuild-06Apr05-07:14:12.log


Thanks,

        ---Andy