freebsd-current

[Prev] Thread [Next]  |  [Prev] Date [Next]

Re: sys/nfsserver/nfs_srvkrpc.c doesn't build with KGSSAPI Bjoern A. Zeeb Fri May 22 19:00:18 2009

On Fri, 22 May 2009, Rick Macklem wrote:

I just noticed that sys/nfsserver/nfs_srvkrpc.c doesn't build when
options KGSSAPI is specified.

"hostname" is undefined

This appears to be because it is now inside:

#ifdef VIMAGE_GLOBALS
...
#endif
in sys/sys/kernel.h.

I figured I'd let someone more familiar with what VIMAGE_GLOBALS is used
for decide how best to fix this.

This is because you neither use G_hostname (always global as in base
system) or V_hostname (viertualized one; per network stack).

See sys/vimage.h and other usages in sys/ for how to properly handle
this.

/bz

--
Bjoern A. Zeeb                      The greatest risk is not taking one.
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[EMAIL PROTECTED]"