Coda File System

Re: Further adventures in NetBSD kernel coda support

From: lou <lou_at_0xffff.org>
Date: Fri, 4 Apr 2003 11:47:25 +0100
In some email I received from Tim Robbins <tjr_at_FreeBSD.ORG> on Thu, 3 Apr 2003 13:36:01
+1000, wrote:

> On Wed, Apr 02, 2003 at 01:36:41PM -0500, Greg Troxel wrote:
> 
> > Does -current coda really not build on 4-stable?  I haven't rebuilt in
> > a while on my FreeBSD box, which is tracking 4-stable.
> 
> 5.3.20 doesn't build:
> gcc -fno-exceptions -MD -DHAVE_CONFIG_H -D__BSD44__ -I.
> -I/home/tim/coda/coda-5.3.20/include -I/home/tim/coda/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:
> /home/tim/coda/coda-5.3.20/include/coda.h:130: redefinition of `int8_t'
> /usr/include/sys/inttypes.h:11: `int8_t' previously declared here
> 
> The patch I submitted for /coda/lib-src/kernel-includes/coda.h should
> have included some versions of FreeBSD 4.x in the #ifdef for
> __BIT_TYPES_DEFINED__, but I don't know exactly when these integer types
> were added.


hate to tell you guys but it`s broken on FreeBSD -current(however it works fine on my
-stable box) too

<snip net/coda5_server>
/u1/portsbuild/u1/ports/net/coda5_server/work/coda-5.3.20/include/auth2.h:173:8: warning:
extra tokens at end of #endif directive comm.cc: In member function `connent*
conn_iterator::operator()()': comm.cc:606: warning: invalid offsetof from non-POD type
`class connent'; use    pointer to member instead
comm.cc: In function `void MultiProbe(int, RPC2_Handle*)':
comm.cc:924: invalid conversion from `long int (*)(int, RPC2_Handle*, long int, 
   long int, ...)' to `long int (*)()'
comm.cc: In member function `srvent* srv_iterator::operator()()':
comm.cc:1454: warning: invalid offsetof from non-POD type `class srvent'; use 
   pointer to member instead
gmake[2]: *** [comm.o] Error 1
gmake[2]: Leaving directory
`/u1/portsbuild/u1/ports/net/coda5_server/work/coda-5.3.20/coda-src/venus'----> Error in
venus gmake[1]: *** [Coda] Error 1
gmake[1]: Leaving directory
`/u1/portsbuild/u1/ports/net/coda5_server/work/coda-5.3.20/coda-src'----> Error in
coda-src gmake: *** [Coda] Error 1
</snip>


any pointers? 

cheers
Received on 2003-04-04 05:58:35