Coda File System

Re: Further adventures in NetBSD kernel coda support

From: Jan Harkes <>
Date: Fri, 4 Apr 2003 09:42:23 -0500
On Fri, Apr 04, 2003 at 11:47:25AM +0100, lou wrote:
> 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

Ok, can you first of all use a more recent rpc2 version than v1.11.
This was fixed May 22 16:31:46 2001. i.e. almost 2 years ago. We're
currently at version 1.15.

> In member function `connent* conn_iterator::operator()()':
> warning: invalid offsetof from non-POD type `class connent'; use    pointer to member instead


> In function `void MultiProbe(int, RPC2_Handle*)':
> invalid conversion from `long int (*)(int, RPC2_Handle*, long int, long int, ...)' to `long int (*)()'

And this one was fixed May 23 16:50:16 2001.

> In member function `srvent* srv_iterator::operator()()':
> warning: invalid offsetof from non-POD type `class srvent'; use pointer to member instead

Again non-fatal. A fix for these warnings is in CVS, but some versions
of gcc-3.2 seem to generate broken code when C structs contain C++
objects as members. But the latest gcc-3.2.3  seems to do the right thing.

Received on 2003-04-04 09:44:51