I'm looking for some advice on getting the CMU package ADM to compile
properly on Solaris 2.4 with AFS 3.4a.

After playing with the source for about an hour or so I've gotten it down
to what I hope is a final link error.

It looks like this:
-------------------
cognition{255}> make
gcc -o admclt -L/usr/afsws/lib -L/usr/afsws/lib/afs -L/usr/local/lib admclt_main.o 
admclt_initerr.o libadm.a  -lcmd -lcom_err -lkauth -lauth  -lsys 
/usr/afsws/lib/afs/util.a -lubik -lrxkad -ldes -lrx -llwp -lnsl -lsocket -lucb    || 
rm -f admclt
Undefined                       first referenced
 symbol                             in file
osi_audit                           /usr/afsws/lib/afs/libauth.a(userok.o)
ld: fatal: Symbol referencing errors. No output written to admclt
gcc -o admsrv -L/usr/afsws/lib -L/usr/afsws/lib/afs -L/usr/local/lib admsrv_main.o 
admsrv_initerr.o admscm_boolean.o admscm_char.o admscm_control.o admscm_derived.o 
admscm_equiv.o admscm_io.o admscm_list.o admscm_macro.o admscm_number.o admscm_pair.o 
admscm_primitive.o admscm_string.o admscm_symbol.o admmod_auth.o admmod_conv.o 
admmod_file.o admmod_process.o admmod_symlink.o admmod_time.o admext_adm.o 
admext_bos.o admext_cachemgr.o admext_fs.o admext_kas.o admext_pts.o  admext_vl.o 
admext_vol.o libadm.a  -lafsint -lbos -lfsprobe -lvolser -lvldb -lprot -ldbm -lcmd 
-lcom_err -lkauth -lauth  -lsys /usr/afsws/lib/afs/util.a -lubik -lrxkad -ldes -lrx 
-llwp -lnsl -lsocket -lucb    || rm -f admsrv
Undefined                       first referenced
 symbol                             in file
osi_audit                           /usr/afsws/lib/afs/libauth.a(userok.o)
ld: fatal: Symbol referencing errors. No output written to admsrv

------------------

Since I have no access to the internal of the afs library libauth I'm at a loss
as to what other debugging/tweaking I can do.

Has anyone else run into this problem? I'm using adm-033 from ftp.andrew.cmu.edu

Reply via email to