Coda File System

Re: coda-4.6.0-pre3: patch

From: Anders Hammarquist <iko_at_netg.se>
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 2.7.2.3 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!

Regards,
/Anders

--->8---
--- coda-4.6.0.orig/coda-src/asr/Makefile.in    Sat May 16 20:48:33 1998
+++ coda-4.6.0/coda-src/asr/Makefile.in Sat May 16 20:47:19 1998
@@ -55,7 +55,7 @@
 OBJECTS = y.tab.o 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
 y.tab.c: $(srcdir)/resolver.yacc
@@ -65,7 +65,7 @@
 
 # YYuck!  I don't know how to tell yyac to deliver a .cc extension  GRRR..(pjb)
 y.tab.o: y.tab.c
-       $(CC) -x c++ $(CFLAGS) -c $<
+       $(CXX) -x c++ $(CFLAGS) -c $<
 
 
 include $(MAKDIR)/configs/Makerules

--->8---

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