[OpenAFS] AFS with PSR
amar deep kumar
amar deep kumar" <kumaramar_sonu@rediffmail.com
3 Jan 2003 07:43:45 -0000
Hi
I am trying to build PSR(Password Storage and
Retrieval)psr-1.2,
that is used to for getting AFS authentication for PBS(Portable
Batch
system) jobs automatically.
while configuring it needs Transarc-provided development libraries
and
header files for AFS. it is configuring properly but while
running
make it gives following errors
undefined reference to add_to_error_table in function
initialize_ACFG_error_table.
has any body faced this problem please help
*********************
Making all in src
make[1]: Entering directory `/home/PBS/psr-1.2/src'
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local//include
-I/home/PBS/RSAREF/source -g -O2 -c afsauth.c
afsauth.c: In function `Authenticate':
afsauth.c:67: warning: passing arg 7 of
`ka_UserAuthenticateGeneral'
from incompatible pointer type
rm -f libpsr_afs.a
ar cru libpsr_afs.a afsauth.o
ranlib libpsr_afs.a
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local//include
-I/home/PBS/RSAREF/source -g -O2 -c files.c
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local//include
-I/home/PBS/RSAREF/source -g -O2 -c crypto.c
crypto.c: In function `DecryptPassword':
crypto.c:79: warning: assignment makes integer from pointer
without a
cast
crypto.c: In function `GenerateKeys':
crypto.c:148: warning: assignment makes integer from pointer
without a
cast
rm -f libdauthr.a
ar cru libdauthr.a afsauth.o files.o crypto.o
ranlib libdauthr.a
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local//include
-I/home/PBS/RSAREF/source -g -O2 -c dauthr.c
gcc -g -O2 -o dauthr -L. -L/usr/local//lib
-L/usr/local//lib/afs
dauthr.o -ldauthr -lkauth -lprot -lubik -lauth -lrxkad -lsys
-ldes
-lrx -llwp -lcom_err -laudit /usr/local//lib/afs/util.a
/usr/local//lib/afs/vlib.a /home/PBS/RSAREF/rsa/rsaref.a -lresolv
-lnsl
/usr/local//lib/afs/libkauth.a(kaerrors.o): In function
`initialize_KA_error_table':
kaerrors.o(.text+0xc): undefined reference to
`add_to_error_table'
/usr/local//lib/afs/libprot.a(pterror.o): In function
`initialize_PT_error_table':
pterror.o(.text+0xc): undefined reference to
`add_to_error_table'
/usr/local//lib/libubik.a(uerrors.o): In function
`initialize_U_error_table':
uerrors.o(.text+0xc): undefined reference to
`add_to_error_table'
/usr/local//lib/afs/libauth.a(acfg_errors.o): In function
`initialize_ACFG_error_table':
/home/amar/openafs-1.2.7/src/auth/acfg_errors.c:23: undefined
reference to `add_to_error_table'
/usr/local//lib/afs/libauth.a(ktc_errors.o): In function
`initialize_KTC_error_table':
/home/amar/openafs-1.2.7/src/auth/ktc_errors.c:26: undefined
reference
to `add_to_error_table'
/usr/local//lib/librxkad.a(rxkad_errs.o)(.text+0xc): more
undefined
references to `add_to_error_table' follow
collect2: ld returned 1 exit status
make[1]: *** [dauthr] Error 1
make[1]: Leaving directory `/home/PBS/psr-1.2/src'
make: *** [all-recursive] Error 1
********************
amardeep