[OpenAFS] AFS Libraries

Derek Atkins warlord@MIT.EDU
23 Jul 2002 15:20:50 -0400


Try linking against -lresolv.

-derek

Rich Sudlow <rich@nd.edu> writes:

> 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
> 
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord@MIT.EDU                        PGP key available