[690] in arla-drinkers
fcache.c bug and compilation problems
daemon@ATHENA.MIT.EDU (Max Kamenetsky)
Sun Mar 14 02:38:45 1999
From owner-arla-drinkers@stacken.kth.se Sun Mar 14 07:38:45 1999
Return-Path: <owner-arla-drinkers@stacken.kth.se>
Delivered-To: arla-drinkers-mtg@bloom-picayune.mit.edu
Received: (qmail 26841 invoked from network); 14 Mar 1999 07:38:44 -0000
Received: from unknown (HELO sundance.stacken.kth.se) (130.237.234.41)
by bloom-picayune.mit.edu with SMTP; 14 Mar 1999 07:38:44 -0000
Received: (from majordom@localhost)
by sundance.stacken.kth.se (8.8.8/8.8.8) id IAA17559
for arla-drinkers-list; Sun, 14 Mar 1999 08:31:59 +0100 (MET)
Received: from chinook.stanford.edu (chinook.Stanford.EDU [36.60.0.17])
by sundance.stacken.kth.se (8.8.8/8.8.8) with ESMTP id IAA17555
for <arla-drinkers@stacken.kth.se>; Sun, 14 Mar 1999 08:31:54 +0100 (MET)
Received: from maxk by chinook.stanford.edu with local-smtp (Exim 2.11 #1 (Debian))
id 10M5NJ-00046p-00; Sat, 13 Mar 1999 23:31:53 -0800
Date: Sat, 13 Mar 1999 23:31:53 -0800 (PST)
From: Max Kamenetsky <maxk@chinook.stanford.edu>
To: arla-drinkers@stacken.kth.se
Subject: fcache.c bug and compilation problems
Message-ID: <Pine.LNX.3.96.990313232635.15540A-100000@chinook.stanford.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: owner-arla-drinkers@stacken.kth.se
Precedence: bulk
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