Coda File System

**CODA and Solaris 7.0**

From: Mark S. Velasquez <mvelasq_at_sfwmd.gov>
Date: Thu, 04 Nov 1999 16:18:51 -0500
 I just downloaded coda 5.3.3 and am trying to compile it for Solaris
7.0( aka SunOS 5.7) and am have problems with the compile.
  I'm compiling on a Sun Ultra 10, Solaris 7.0 with recommended patches(
Generic_106541-07), with various GNU utilities installed :
 gcc version 2.95.1
 readline v 4.0
 gnu make 3.77
flex
bison

and lots more :-)

If anyone has any suggestions on resolving this, it'll be much
appreciates.
TIA

 It gets pretty far in the compile process and then blows up with the
following errors :

 make[2]: Leaving directory
`/usr/local/src/CODA/coda-5.3.3/coda-src/dir'
make -C al all;
make[2]: Entering directory `/usr/local/src/CODA/coda-5.3.3/coda-src/al'

gcc -fno-exceptions -O2 -DRVM_USELWP -g -MD -DHAVE_CONFIG_H
-I/usr/local/src/Cc
pdbdb.c: In function `PDB_db_nextkey':
pdbdb.c:135: `u_int32_t' undeclared (first use in this function)
pdbdb.c:135: (Each undeclared identifier is reported only once
pdbdb.c:135: for each function it appears in.)
pdbdb.c:135: parse error before `uid'
pdbdb.c:156: `uid' undeclared (first use in this function)
pdbdb.c: In function `PDB_db_maxids':
pdbdb.c:176: `u_int32_t' undeclared (first use in this function)
pdbdb.c:176: parse error before `ids'
pdbdb.c:192: `ids' undeclared (first use in this function)
pdbdb.c: In function `PDB_db_update_maxids':
pdbdb.c:205: `u_int32_t' undeclared (first use in this function)
pdbdb.c:205: parse error before `ids'
pdbdb.c:204: warning: unused variable `oldgid'
pdbdb.c:204: warning: unused variable `olduid'
pdbdb.c:203: warning: unused variable `zero'
pdbdb.c:202: warning: unused variable `rc'
pdbdb.c:201: warning: unused variable `value'
pdbdb.c:201: warning: unused variable `key'
pdbdb.c: At top level:
pdbdb.c:210: parse error before `&'
pdbdb.c:214: parse error before `&'
pdbdb.c:216: warning: type defaults to `int' in declaration of `rc'
pdbdb.c:216: `value' undeclared here (not in a function)
pdbdb.c:216: warning: data definition has no type or storage class
pdbdb.c:216: parse error before `}'
pdbdb.c:220: parse error before `2'
pdbdb.c:223: parse error before `.'
pdbdb.c:225: warning: type defaults to `int' in declaration of `olduid'
pdbdb.c:225: `ids' undeclared here (not in a function)
pdbdb.c:225: warning: data definition has no type or storage class
pdbdb.c:226: warning: type defaults to `int' in declaration of `oldgid'
pdbdb.c:226: `ids' undeclared here (not in a function)
pdbdb.c:226: warning: data definition has no type or storage class
pdbdb.c:227: parse error before `do'
pdbdb.c:237: warning: type defaults to `int' in declaration of `ids'
pdbdb.c:237: `ids' used prior to declaration
pdbdb.c:237: `u_int32_t' undeclared here (not in a function)
pdbdb.c:237: parse error before `gid'
pdbdb.c:237: warning: data definition has no type or storage class
pdbdb.c:238: parse error before `}'
pdbdb.c:243: warning: type defaults to `int' in declaration of `rc'
pdbdb.c:243: redefinition of `rc'
pdbdb.c:216: `rc' previously defined here
pdbdb.c:243: `h' undeclared here (not in a function)
pdbdb.c:243: `key' undeclared here (not in a function)
pdbdb.c:243: `value' undeclared here (not in a function)
pdbdb.c:243: initializer element is not constant
pdbdb.c:243: warning: data definition has no type or storage class
pdbdb.c:244: parse error before `do'
pdbdb.c: In function `PDB_db_write':
pdbdb.c:250: `u_int32_t' undeclared (first use in this function)
pdbdb.c:250: parse error before `netid'
pdbdb.c:255: `netid' undeclared (first use in this function)
pdbdb.c:255: parse error before `id'
pdbdb.c: In function `PDB_db_read':
pdbdb.c:288: `u_int32_t' undeclared (first use in this function)
pdbdb.c:288: parse error before `realid'
pdbdb.c:291: `realid' undeclared (first use in this function)
pdbdb.c:291: parse error before `id'
pdbdb.c: In function `PDB_db_delete':
pdbdb.c:333: `u_int32_t' undeclared (first use in this function)
pdbdb.c:333: parse error before `realid'
pdbdb.c:335: `realid' undeclared (first use in this function)
pdbdb.c:335: parse error before `id'
make[2]: *** [pdbdb.o] Error 1
make[2]: Leaving directory `/usr/local/src/CODA/coda-5.3.3/coda-src/al'
make[1]: *** [al] Error 2
make[1]: Leaving directory `/usr/local/src/CODA/coda-5.3.3/coda-src'
make: *** [coda-src] Error 2


--
++++++++++++++++++++++++++++++++++++++++++
Mark S. Velasquez, M.Sc. Engineering
Senior Infrastructure Systems Analyst
South Florida Water Management District
(561) 682-6993
++++++++++++++++++++++++++++++++++++++++++
Received on 1999-11-04 16:35:33