We are trying to install xdm with the AFS authentication.
We retrieved Cornell version of xdm from
ftp://grand.central.org/pub/afs-contrib/tools/xdm and compiled it.
The compilation went ok but encountered a problem in linking.
The make session script is enclosed below.
The problem seems to stem from the libdes.a library we received as part of the
International version of AFS 3.3. I was wondering how people outside
of the US solved the problem. Any suggestions would be appreciated.
James W. Hong
-----------------------------------------------------------------------------
Dept. of Computer Science & Engineering [EMAIL PROTECTED]
POSTECH TEL: +82-0562-279-2244
Pohang Korea 790-784 FAX: +82-0562-279-5699
WWW: http://lion.postech.ac.kr/~jwkhong/ Office: PIRL Room 434
------------------- xdm make script ------------------------------------------
$ make
......
gcc -fpcc-struct-return -o xdm -g -L/usr/X11R6/lib auth.o daemon.o server.o
dpylist.o dm.o error.o file.o greet.o netaddr.o reset.o resource.o protodpy.o
policy.o session.o socket.o streams.o util.o verify.o xdmcp.o Login.o mitauth.o
genauth.o access.o choose.o rpcauth.o -lXaw -lXmu -lXt -lSM -lICE -lXext -lX11 -lXau
-lXdmcp -lrpcsvc /usr/afsws/lib/afs/libkauth.a /usr/afsws/lib/libubik.a
/usr/afsws/lib/afs/libprot.a /usr/afsws/lib/librxkad.a /usr/afsws/lib/librx.a
/usr/afsws/lib/liblwp.a /usr/afsws/lib/afs/libauth.a /usr/afsws/lib/afs/libsys.a
/usr/afsws/lib/librxkad.a /usr/afsws/lib/afs/libcmd.a /usr/afsws/lib/afs/libcom_err.a
/usr/afsws/lib/afs/util.a /usr/afsws/lib/afs/libaudit.a /usr/afsws/lib/libdes.a
collect2: ld returned 2 exit status
ld: Undefined symbol
_des_ecb_encrypt
*** Error code 1
make: Fatal error: Command failed for target `xdm'
$ cd /usr/afsws/lib
$ pwd
/usr/afsws/lib
$ for p in *.a
> do
> echo $p
> nm $p | grep _des_ecb_encrypt
> done
libdes.a
00000070 t _des_ecb_encrypt
liblwp.a
librx.a
librxkad.a
libubik.a
$ cd afs
$ for p in *.a
> do
> echo $p
> nm $p | grep _des_ecb_encrypt
> done
libacl.a
libafsint.a
libaudit.a
libauth.a
libauth.krb.a
libbos.a
libbubasics.a
libbudb.a
libbutm.a
libbxdb.a
libcmd.a
libcom_err.a
libdir.a
libfsprobe.a
libgtx.a
libkauth.a
U _des_ecb_encrypt
libkauth.krb.a
U _des_ecb_encrypt
libnull.a
libprot.a
libsys.a
nm: libsys.a:(syscall.o): no name list
libtermlib.a
libvldb.a
libvolser.a
libxstat_cm.a
libxstat_fs.a
util.a
nm: util.a:(hputil.o): no name list
vlib.a
$