Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 May 1998 23:39:58 -0500
From:      Jacques Vidrine <n@nectar.com>
To:        freebsd-current@FreeBSD.ORG
Subject:   union nethostaddr no longer defined for src/sbin/mount_nfs.c
Message-ID:  <199806010439.XAA27085@cerebus.nectar.com>

next in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----


Hi,

mount_nfs cannot be built on -current dated 5/31.  mount_nfs
requires nfs/nqnfs.h, which in turn requires ``union nethostaddr'',
defined in nfs/nfs.h.

The problem is recent changes described by the following commit
log entry moved the definition of ``union nethostaddr'' from 
outside #ifdef KERNEL to inside #ifdef KERNEL.  Of course, KERNEL
is not defined when building mount_nfs.

RCS file: /home/ncvs/src/sys/nfs/nfs.h,v
Working file: nfs.h
head: 1.40
[snippage]
- ----------------------------
revision 1.37
date: 1998/05/31 17:27:45;  author: peter;  state: Exp;  lines: +9 -9
NFS Jumbo commit part 1.  Cosmetic and structural changes only.  The aim
of this part of commits is to minimize unnecessary differences between
the other NFS's of similar origin.  Yes, there are gratuitous changes here
that the style folks won't like, but it makes the catch-up less difficult.
- ----------------------------

FreeBSD was bit by this because in the past we stopped defining KERNEL
in mount_nfs.c

RCS file: /home/ncvs/src/sbin/mount_nfs/mount_nfs.c,v
Working file: mount_nfs.c
head: 1.28
[snippage]
- ----------------------------
revision 1.27
date: 1998/02/01 21:53:19;  author: bde;  state: Exp;  lines: +1 -3
Don't define KERNEL before including <nfs/nfs.h>.  It is no longer
necessary.  This fixes warnings about missing forward declarations
for structs in kernel-only prototypes.
- ----------------------------

The quick fix to get the world rolling is to backout the change
made in revision 1.37 of src/sys/nfs.h.

I'm not sure what the long-term fix should be --- I'd guess the
same as the short term. 

Jacques Vidrine <n@nectar.com>

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBNXIwnTeRhT8JRySpAQG42AP9H+rumZakVIUXGPBd1etu5elJhcIG7o+a
2DkupzBiRgkKbMSsKEw2NWmZqAqsL0yF6MInPkIb2sBWTLOjjXEzdgpwodSkL1r4
hSs5So2OEf6rMi8GEjbC3Zf5H5MU6efwNbrgZnNdQ5AEYSlA/TP0o2m7wp1RO1Nq
juR/im6UUIs=
=b7EJ
-----END PGP SIGNATURE-----

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806010439.XAA27085>