Coda File System

5.3.14 compile problem

From: Ajay S. Kang <akang_at_cise.ufl.edu>
Date: Mon, 21 May 2001 17:25:18 -0400 (EDT)
Hi,

I downloaded coda 5.3.14, lwp 1.7, rpc2 1.11 and rvm 1.4 and was able
to configure and make lwp,rpc2 and rvm sucessfully. The configure
script for coda also ran without errors. However when I ran make I
got the following:

olist.cc:27:8: warning: extra tokens at end of #endif directive
olist.cc:35:8: warning: extra tokens at end of #endif directive
In file included from olist.cc:37:
/usr/src/redhat/SOURCES/coda-5.3.14/include/coda_assert.h:32:8: warning: extra tokens at end of #endif directive
/usr/src/redhat/SOURCES/coda-5.3.14/include/coda_assert.h:42:8: warning: extra tokens at end of #endif directive
In file included from olist.cc:38:
olist.h:39:8: warning: extra tokens at end of #endif directive
In file included from olist.cc:38:
olist.h:45:8: warning: extra tokens at end of #endif directive
olist.h:103:9: warning: extra tokens at end of #endif directive
olist.cc: In method `void olist::print (int)':
olist.cc:199: `strlen' undeclared (first use this function)
olist.cc:199: (Each undeclared identifier is reported only once for 
each function it appears in.)
make[2]: *** [olist.o] Error 1
make[1]: *** [util] Error 2
make: *** [coda-src] Error 2

I was able to fix these errors by adding #include "coda_string.h" to
the corresponding .h files. However the make then fails again on
another error. Since I didn't see any queries on the mailing list
about this I suspect the error is not something as simple as a few
missing #includes... Am I missing something in the make process?

This is what I did to make coda (as per the howto):
configure -prefix=/usr
make

Ajay Kang 
Received on 2001-05-21 17:25:23