[OpenAFS] amanda-afs - cellconfig.o

Claude Arnold arnold@picard.ups-tlse.fr
Tue, 08 Apr 2003 16:13:52 +0200 (CEST)


Hi,
 
I work with suse 8.1, kernel 2.4.19 and openafs-1.2.8.
I want install amanda-afs but during comilation I have the following errors:
====================
make -C common
make[1]: Entering directory `/usr/local/packages/amanda-afs/common'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/local/packages/amanda-afs/common'
make -C afs_estimate
make[1]: Entering directory `/usr/local/packages/amanda-afs/afs_estimate'
gcc -o afs_est -g -Wall -I.. -I. -I/usr/include -I/usr/afsws/include -O  -Wall
afs_estimate.o  -L/usr/afsws/lib -L/usr/afsws/lib/afs -lvolser -ldir -laudit
/usr/afsws/lib/afs/vlib.a -lsys -lvldb -lubik -lauth -lcmd -lrxkad -ldes
-lrxstat -lrx -llwp -lacl -lsys -lcom_err -lkauth -lusd
/usr/afsws/lib/afs/util.a -liberty  
/usr/afsws/lib/afs/libauth.a(cellconfig.o): In function `afsconf_GetAfsdbInfo':
/usr/local/packages/openafs-1.2.8/src/auth/cellconfig.c:662: undefined reference
to `__res_search'
/usr/local/packages/openafs-1.2.8/src/auth/cellconfig.c:669: undefined reference
to `__dn_expand'
/usr/local/packages/openafs-1.2.8/src/auth/cellconfig.c:678: undefined reference
to `__dn_expand'
/usr/local/packages/openafs-1.2.8/src/auth/cellconfig.c:704: undefined reference
to `__dn_expand'
collect2: ld returned 1 exit status
make[1]: *** [afs_est] Error 1
make[1]: Leaving directory `/usr/local/packages/amanda-afs/afs_estimate'
make: *** [afs_estimate] Error 2
====================================

The res_search and dn_expand functions belong to the resolv.h header file
When I link resolv.h the same errors appear. Moreover when compiling openeafs
resolv.h is used.

Can someone help me ?

Thanks a lot,  


Claude Arnold
Laboratoire Emile Picard - UMR 5580
Université Paul Sabatier, 118 rte de Narbonne, Toulouse, 31062 Cedex 4
Tél: 05.61.55.62.26, Fax: 05.61.55.82.00