(Illustration by Gaich Muramatsu)
Thanks. I put this in. Jan: can you also put his CC -> CXX change in and see if you are ok? We have this tree in /coda/project/releases/sources/coda-4.6.0. Bob: could you see if this tree compiles clean on FBSD Current. Henry: could you try RH 5.0, 4.2 (while it lasts) and NetBSD 1.3. I'll do Win95 and NT. On the kernel modules the following: I'm working on a simple Configure script (like in the pcmcia package) to help setting the kernel include directory and the module versions etc. We'll get that straightened out too. - Peter - On Sat, 16 May 1998, Anders Hammarquist wrote: > >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-18 00:15:51