compiling on redhat 7.1

David Petrou dpetrou at cs.cmu.edu
Fri Jun 1 18:12:39 CEST 2001


hi everyone.  i'm trying to get arla working on redhat linux 7.1.  i
use arla on freebsd regularly.  it was as trivial as pkg_add to get it
going on freebsd.

on linux, it appears i need to compile it.  i couldn't find recent
rpms available.  that's fine, except that when linking kalog, i get a
lot of undefined references:

----------------------------------------------------------------------
gcc  -o kalog kalog.o -L../lib -larlalib -L../../rxdef -lkaclient -lrxdefclient -L../../rx -lrx -L../../lwp -llwp -L../../lib/ko -lko -L../../util -lutil -L../../lib/roken -lroken -L../../rxkad -lrxkad -L/usr/kerberos/lib -lkrb4 -ldes425 -lkrb5 -lcom_err -lk5crypto -lcom_err -L/usr/kerberos/lib -lkrbafs -lkrb5 -lcom_err -lk5crypto -lcom_err -L../../rxkad -lrxkad -L/usr/kerberos/lib -lkrb4 -ldes425 -lkrb5 -lcom_err -lk5crypto -lcom_err -lresolv 
../lib/libarlalib.a(ka-procs.o): In function `ka_auth':
/home/dpetrou/build_arla/arla-0.35.3/appl/lib/ka-procs.c:394: undefined reference to `des_set_key'
/home/dpetrou/build_arla/arla-0.35.3/appl/lib/ka-procs.c:438: undefined reference to `des_set_key'
../lib/libarlalib.a(ka-procs.o): In function `ka_getticket':
/home/dpetrou/build_arla/arla-0.35.3/appl/lib/ka-procs.c:514: undefined reference to `des_set_key'
/home/dpetrou/build_arla/arla-0.35.3/appl/lib/ka-procs.c:550: undefined reference to `des_set_key'
../lib/libarlalib.a(ka-procs.o): In function `ka_auth_create':
/home/dpetrou/build_arla/arla-0.35.3/appl/lib/ka-procs.c:578: undefined reference to `tf_create'
/home/dpetrou/build_arla/arla-0.35.3/appl/lib/ka-procs.c:582: undefined reference to `tf_put_pname'
/home/dpetrou/build_arla/arla-0.35.3/appl/lib/ka-procs.c:582: undefined reference to `tf_put_pinst'
collect2: ld returned 1 exit status
----------------------------------------------------------------------

my configure line just has "--with-sys=/usr/src/linux-2.4".

this seems to be the relevant configure output:

----------------------------------------------------------------------
checking for kerberos5 libraries in /usr/kerberos/lib... found
checking for kerberos5 headers in /usr/kerberos/include... found
checking for kerberos4 libraries in /usr/kerberos/lib... found
checking for kerberos4 headers in ... found
checking for libkafs/libkrbafs... (cached) yes
checking for struct msghdr... (cached) yes
checking for struct iovec... (cached) yes
checking for krb_principal... (cached) no
checking for krb_get_err_text... (cached) no
checking for krb_get_default_tkt_root... (cached) no
checking for krb_get_default_principal... (cached) no
checking for krb_kdctimeofday... (cached) no
----------------------------------------------------------------------

i also had set my C_INCLUDE_PATH env var to "/usr/kerberos/include:/usr/kerberos/include/kerberosIV:/usr/src/linux-2.4/include".

please respond to me directly as i'm not subscribed to this list.

thanks,
david






More information about the Arla-drinkers mailing list