fcache.c bug and compilation problems

Max Kamenetsky maxk at chinook.stanford.edu
Sun Mar 14 08:31:59 CET 1999


There seems to be a bug in fcache.c in the latest snapshot.  Compilation
bombs out with

gcc -c  -DHAVE_CONFIG_H -DSYSCONFDIR=\"/usr/local/arla/etc\"
-DARLACACHEDIR=\"/usr/local/arla/cache\"
-DARLACONFFILE=\"/usr/local/arla/etc/arla.conf\" -I. -I. -I./..
-I/usr/local/src/arla-19990312/xfs/linux -I../include -I./../include
-I./../xfs/include -I../rxdef -I./../rxkad -I/usr/local/include/krb5
-I/usr/local/include/krb5/kerberosIV -DDEBUG -g  -Wall  -I. -DRXDEBUG
fcache.c
fcache.c: In function `setacl':
fcache.c:3087: `e' undeclared (first use in this function)
fcache.c:3087: (Each undeclared identifier is reported only once
fcache.c:3087: for each function it appears in.)
make[1]: *** [fcache.o] Error 1
make[1]: Leaving directory `/usr/local/src/arla-19990312/arlad'
make: *** [install] Error 1

I think that reference to "e" should be changed to "dire".  It can then
compile past that point.  However, I still get it to bomb out with

gcc  -o arlad adir.o arla.o arladeb.o cmcb.o conn.o cred.o darla.o
discon_log.o fbuf.o fcache.o fprio.o inter.o kernel.o messages.o
reconnect.o volcache.o bsd-subr.o -L../rxdef -lrxdefclient -L../rx -lrx
-L../lwp -llwp -L../lib/sl -lsl -lreadline -lcurses -L../lib/ko -lko
-L../util -lutil -L../lib/roken -lroken -L../rxkad -lrxkad
-L/usr/local/lib/krb5 -lkrb4 -ldes425 -lkrb5 -lcom_err -lcrypto
-L/usr/local/lib/krbafs -lkrbafs -lresolv 
/usr/local/lib/krb5/libkrb4.a(tf_util.o): In function `tf_init':
tf_util.o(.text+0x11c): undefined reference to `_fxstat'
tf_util.o(.text+0x179): undefined reference to `_lxstat'
tf_util.o(.text+0x22f): undefined reference to `_fxstat'
tf_util.o(.text+0x27d): undefined reference to `_lxstat'
/usr/local/lib/krb5/libkrb5.a(prof_file.o): In function
`profile_update_file':
prof_file.o(.text+0xdf): undefined reference to `_xstat'
/usr/local/lib/krbafs/libkrbafs.a(afssys.o): In function `k_hasafs':
afssys.o(.text+0x12e): undefined reference to `__setjmp'
collect2: ld returned 1 exit status
make[1]: *** [arlad] Error 1
make[1]: Leaving directory `/usr/local/src/arla-19990312/arlad'
make: *** [install] Error 1

I don't know how to deal with this.  I'm using Linux 2.2.3 and glibc2.1.1.

Thanks for any help you can offer and please respond via e-mail!

Max






More information about the Arla-drinkers mailing list