[OpenAFS] gssklog on osx

Chris McClimans openafs-info@mcclimans.net
Thu, 29 Apr 2004 11:47:48 -0500


Anyone have any luck getting gssklog to work with osx 10.3 with OpenAFS 
1.2.11?
I get error messages when compiling. It's probably user error, but I 
could use a hand.
-chirs


(gssklog 0.10)
% ./configure --with-afs=/afs/cs.ttu.edu/system/dest
....
%make
gcc  -o gssklog gssklog.o gssklog_afs.o \
gssklog_gss.o gssklog_comm.o \
-Wl,--noinhibit-exec,-rpath,:/usr/lib:/lib  
-L/afs/cs.ttu.edu/system/dest/lib -L/afs/cs.ttu.edu/system/dest/lib/afs 
-lprot -lubik -lauth -lcmd -lsys -lrxkad -lrx -llwp 
/afs/cs.ttu.edu/system/dest/lib/libdes.a 
/afs/cs.ttu.edu/system/dest/lib/afs/util.a 
/afs/cs.ttu.edu/system/dest/lib/afs/libcom_err.a \
  \
-L -l -lresolv
ld: -L: directory name missing
make: *** [gssklog] Error 1

So I edit the compile line, but I think I'm still missing something:

% gcc  -o gssklog gssklog.o gssklog_afs.o \
gssklog_gss.o gssklog_comm.o \
-Wl, -L/afs/cs.ttu.edu/system/dest/lib 
-L/afs/cs.ttu.edu/system/dest/lib/afs -lprot -lubik -lauth -lcmd -lsys 
-lrxkad -lrx -llwp /afs/cs.ttu.edu/system/dest/lib/libdes.a 
/afs/cs.ttu.edu/system/dest/lib/afs/util.a 
/afs/cs.ttu.edu/system/dest/lib/afs/libcom_err.a -lresolv
ld: can't open:  (No such file or directory, errno = 2)
ld: warning multiple definitions of symbol _xdr_void
/afs/cs.ttu.edu/system/dest/lib/librx.a(xdr.o) definition of _xdr_void 
in section (__TEXT,__text)
/usr/lib/libSystem.dylib(xdr.o) definition of _xdr_void
ld: warning multiple definitions of symbol _xdr_int
/afs/cs.ttu.edu/system/dest/lib/librx.a(xdr.o) definition of _xdr_int 
in section (__TEXT,__text)
/usr/lib/libSystem.dylib(xdr.o) definition of _xdr_int