Problems with arla-0.33.1
Dr A V Le Blanc
LeBlanc at mcc.ac.uk
Wed Jul 5 15:21:47 CEST 2000
When I try to compile arla-0.33.1 with krb4-1.0.2, linux-2.2.16,
libc-2.1.3, and gcc-2.95.2, I get the following error messages
in compiling arlad:
gcc -o arlad adir.o arla.o arladeb.o arladeb2.o cmcb.o conn.o cred.o
darla.o discon_log.o dynroot.o fcache.o fprio.o inter.o kernel.o
messages.o reconnect.o subr.o volcache.o xfs.o bsd-subr.o
-L../lib/bufdir -lbufdir -L../rxdef -lrxdefclient -L../rx -lrx
-L../lwp -llwp -L../lib/sl -lsl -lreadline -L../lib/ko -lko
-L../util -lutil -L../lib/roken -lroken -L../rxkad -lrxkad -lkafs
-lresolv
arla.o: In function `main':
arla.o(.text+0xf75): undefined reference to `krb_realmofhost'
arla.o(.text+0xf8d): undefined reference to `krb_get_cred'
arla.o(.text+0xfac): undefined reference to `krb_mk_req'
arla.o(.text+0xfc0): undefined reference to `krb_get_cred'
arla.o(.text+0xfd8): undefined reference to `krb_get_cred'
arla.o(.text+0xffb): undefined reference to `krb_mk_req'
arla.o(.text+0x1013): undefined reference to `krb_get_cred'
arla.o(.text+0x1033): undefined reference to `krb_err_txt'
arla.o: In function `krb_get_err_text':
arla.o(.text+0x1230): undefined reference to `krb_err_txt'
../lib/ko/libko.a(kocell.o): In function `cell_getcellbyhost':
kocell.o(.text+0xa35): undefined reference to `krb_realmofhost'
collect2: ld returned 1 exit status
make[1]: *** [arlad] Error 1
The problem is that a lot of things in arla.o require libkrb and
other krb4 libraries. But when I change -lkafs to
'-lkrb -lkafs -ldes -lcom_err', I get this:
/usr/contrib/packages/kthkrb/lib/libkrb.a(krb_err_txt.o): In function `krb_get_err_text':
krb_err_txt.o(.text+0x0): multiple definition of `krb_get_err_text'
arla.o(.text+0x1220): first defined here
/usr/bin/ld: Warning: size of symbol `krb_get_err_text' changed from 29 to 25 in krb_err_txt.o
collect2: ld returned 1 exit status
Has anyone else seen this and/or found a simple solution?
-- Owen
LeBlanc at mcc.ac.uk
More information about the Arla-drinkers
mailing list