[OpenAFS] AFS Libraries

Rich Sudlow Rich Sudlow <rich@nd.edu>
Tue, 23 Jul 2002 14:03:28 -0500 (EST)


I'm trying to do a compile against OpenAFS 1.2.5 libraries and get the
following error messages:

cc -o GetToken GetToken.o -L/usr/lib/afs -lkauth.krb -lauth.krb -lprot -lubik 
-lauth.krb -lcom_err -lrxkad -lcmd -lsys -lrx -ll
wp /usr/lib/afs/util.a -ldes -laudit -lnsl
/usr/lib/afs/libauth.krb.a(cellconfig.o): In function `afsconf_GetAfsdbInfo':
/usr/src/redhat/BUILD/openafs-1.2.5/src/auth/cellconfig.c:655: undefined 
reference to `__res_search'
/usr/src/redhat/BUILD/openafs-1.2.5/src/auth/cellconfig.c:662: undefined 
reference to `__dn_expand'
/usr/src/redhat/BUILD/openafs-1.2.5/src/auth/cellconfig.c:671: undefined 
reference to `__dn_expand'
/usr/src/redhat/BUILD/openafs-1.2.5/src/auth/cellconfig.c:697: undefined 
reference to `__dn_expand'
collect2: ld returned 1 exit status


rpm -qa | grep openafs
shows
openafs-1.2.5-rh7.2.1
openafs-devel-1.2.5-rh7.2.1
openafs-kernel-1.2.5-rh7.2.1
openafs-client-1.2.5-rh7.2.1

Do I need to build this from source??

Rich

Rich Sudlow
University of Notre Dame
Office of Information Technologies
321 Information Technologies Center
Notre Dame, IN 46556-0539

rich@nd.edu, rich@ieee.org
(574) 631-7258 office phone
(574) 631-9283 office fax