Coda File System

Re: Weird parse error when compiling with Slack linux?

From: <jaharkes_at_cs.cmu.edu>
Date: Mon, 05 Apr 1999 16:21:58 -0400
bextreme_at_pobox.com said:
| make[2]: *** No rule to make target `-lreadline', needed by `filcon'.  Stop.
| make[1]: *** [fail] Error 2
| make: *** [coda-src] Error 2

Hi Jesse,

The warnings are annoying, but most likely harmless. For the compile
error, you could try this patch against coda-src/fail/Makefile.in

You might hit the same problem with other programs in the tree that
like to depend on LIBREADLINE.

Jan

=================================================================
diff -u -u -r4.13 Makefile.in
--- Makefile.in 1998/12/21 22:25:30     4.13
+++ Makefile.in 1999/04/05 20:06:43
@@ -35,7 +35,7 @@
 RP2HEADERS  = fcon.h
 
 FLIBS = ${LIBRPC2} ${LIBSE} ${LIBOLDLWP} ${LIBUTIL} ${LIBCOMPAT} \
-       ${LIBBASE} ${LIBREADLINE} ${LIBTERMCAP}
+       ${LIBBASE}
 
 # No longer of interest: tvclient tvserver ftclient ftserver 
 OBJS = fcon.client.o fcon.server.o filtutil.o fcon.o fail.o delay.o clear.o isolate.o list.o join.o slow.o heal.o partition.o newpartition.o
@@ -43,6 +43,7 @@
 libfail.a: ${OBJS}
 
 filcon: filcon.o libfail.a ${FLIBS}
-       ${CC} ${LIBFLAGS} filcon.o libfail.a ${FLIBS} -o filcon
+       ${CC} ${LIBFLAGS} filcon.o libfail.a ${FLIBS} \
+           ${LIBREADLINE} ${LIBTERMCAP} -o filcon
 
 include $(TOPDIR)/configs/Makerules
Received on 1999-04-05 16:22:49