Coda File System

Re: coda-4.6.0-pre3: patch

From: Anders Hammarquist <>
Date: Sat, 16 May 1998 21:06:44 +0200
>This patch to be applied against the pre2 tarball should incorporate all
>the stuff Jan and I changed to get Debian to compile cleanly.

I'd like to take this opportunity to intruduce myself, and report an
almost succesful build on Debian/hamm. I am the Debian maintainer for the
as yet unreleased coda packages for Debian. My plan is to have them ready
shortly after the final 4.6.0 release.

Anyway, in order to compile coda successfully I had to apply the following
patch. cc on Debian in gcc compiled without c++ support, c++ is
egcs. So, cc will not take c++ source and source compiled with c++ needs
to be linked using c++.

Compiling the kernel module was no trouble once I figured out where to
tell the makefiles how to find the kernel headers (I haven't tested it
though since I compiled the one in the kernel sources). Adding
/usr/src/linux/include to INCLPATH in Makeconf did that (I'll add that
it might be a good idea not to ignore the INCLFLAGS in Makeconf.<arch>)

Client works just fine, haven't tested the server yet (hey, it's running
from the build dir still). Good work guys!


--- coda-4.6.0.orig/coda-src/asr/    Sat May 16 20:48:33 1998
+++ coda-4.6.0/coda-src/asr/ Sat May 16 20:47:19 1998
@@ -55,7 +55,7 @@
 OBJECTS = lex.yy.o ruletypes.o resolver.o wildmat.o path.o
 parser: ${OBJECTS} $(LIBS)
-       $(CC) $(LIBFLAGS) ${OBJECTS} $(LIBS) $(LIBFLEX) -o parser
+       $(CXX) $(LIBFLAGS) ${OBJECTS} $(LIBS) $(LIBFLEX) -o parser
 # Dependencies $(srcdir)/resolver.yacc
@@ -65,7 +65,7 @@
 # YYuck!  I don't know how to tell yyac to deliver a .cc extension  GRRR..(pjb)
-       $(CC) -x c++ $(CFLAGS) -c $<
+       $(CXX) -x c++ $(CFLAGS) -c $<
 include $(MAKDIR)/configs/Makerules


 -- Of course I'm crazy, but that doesn't mean I'm wrong.
Anders Hammarquist   |       Mud at Kingdoms        |
NetGuide Scandinavia |   telnet 1812    | Fax: +46 31 50 79 39   |                              | Tel: +46 31 50 79 40
Received on 1998-05-16 15:08:04