Coda File System

Re: FreeBSD 4.8 and Coda 5.3.20

From: Richard Jones <coda-list_at_jonze.com>
Date: Tue, 20 May 2003 15:28:27 +0100
On Wed, May 21, 2003 at 12:15:31AM +1000, Tim Robbins wrote:
> On Tue, May 20, 2003 at 12:23:40AM +0100, Richard Jones wrote:
> > Hi List,
> > 
> > Does anyone have any instructions/HOWTOs for FreeBSD 4.7 or 4.8 and a

[...]

> You should be able to build Coda from the ports collection. Install either
> net/coda5_server or net/coda5_client. Binary packages are not available on the
> 4.7 or 4.8 CD sets because of compile errors, which have now been fixed. After
> you install the server or client, the instructions here should apply:
> http://www.coda.cs.cmu.edu/doc/html/coda-howto.html

I get the following error for ports:

> Error: your port uses an old layout.
> Please update it to match this bsd.port.mk.  If you have updated your
> ports collection via cvsup and are still getting this error, see Q12 and
> Q13 in the cvsup FAQ on http://www.polstra.com for further information.

When trying to build from source (coda-5.3.20.tar.gz), I get this error:

> gcc -fno-exceptions -MD -DHAVE_CONFIG_H -D__BSD44__ -I. -I/usr/local/src/coda-5.3.20/include -I/usr/local/src/coda-5.3.20 -I/usr/local/include  -g -O2 -I/usr/local/include -c pioctl.c
> In file included from pioctl.h:37,
>                  from pioctl.c:33:
> /usr/local/src/coda-5.3.20/include/coda.h:130: redefinition of `int8_t'
> /usr/include/sys/inttypes.h:11: `int8_t' previously declared here
> /usr/local/src/coda-5.3.20/include/coda.h:131: redefinition of `u_int8_t'
> /usr/include/sys/types.h:60: `u_int8_t' previously declared here
> /usr/local/src/coda-5.3.20/include/coda.h:132: redefinition of `int16_t'
> /usr/include/sys/inttypes.h:12: `int16_t' previously declared here
> /usr/local/src/coda-5.3.20/include/coda.h:133: redefinition of `u_int16_t'
> /usr/include/sys/types.h:61: `u_int16_t' previously declared here
> /usr/local/src/coda-5.3.20/include/coda.h:134: redefinition of `int32_t'
> /usr/include/sys/inttypes.h:13: `int32_t' previously declared here
> /usr/local/src/coda-5.3.20/include/coda.h:135: redefinition of `u_int32_t'
> /usr/include/sys/types.h:62: `u_int32_t' previously declared here
> gmake[2]: *** [pioctl.o] Error 1
> gmake[2]: Leaving directory `/usr/local/src/coda-5.3.20/coda-src/kerndep'
> gmake[1]: *** [kerndep] Error 2
> gmake[1]: Leaving directory `/usr/local/src/coda-5.3.20/coda-src'
> gmake: *** [coda-src] Error 2

*However*, I got packages from ftp.freebsd.org.uk and they work fine.

Regards,

Richard Jones

-- 
Richard Jones
http://www.jonze.com
Received on 2003-05-20 10:30:54