Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Sep 2008 20:57:43 +0100 (BST)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Josh Carroll <josh.carroll@gmail.com>
Cc:        FreeBSD Stable <freebsd-stable@freebsd.org>
Subject:   Re: recent MFC of soreceive_dgram breaks kernels without INET6 option
Message-ID:  <alpine.BSF.1.10.0809162056430.64176@fledge.watson.org>
In-Reply-To: <8cb6106e0809160941m57b9aa9ehc21b5f92a396082b@mail.gmail.com>
References:  <8cb6106e0809160941m57b9aa9ehc21b5f92a396082b@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Tue, 16 Sep 2008, Josh Carroll wrote:

> I just csup'd this morning and now I cannot build a kernel that does not 
> include INET6. I can send my KERNCONF, but it is sufficient to create a 
> kernel config with:
>
> include GENERIC nooption INET6
>
> Here's the error during kernel compilation of a kernel config without 
> "options INET6" in the kernel config:
>
> /usr/src/sys/netinet/udp_usrreq.c: In function 'udp_inpcb_init':
> /usr/src/sys/netinet/udp_usrreq.c:170: error: 'udp6_usrreqs'
> undeclared (first use in this function)
> /usr/src/sys/netinet/udp_usrreq.c:170: error: (Each undeclared
> identifier is reported only once
> /usr/src/sys/netinet/udp_usrreq.c:170: error: for each function it appears in.)
>
> It looks like the MFC for the new soreceive_dgram stuff is the culprit.
>
> Can this can be fixed to not require IPv6? I have no desire to include it in 
> my kernel, but if that will be the requirement going forward, perhaps a note 
> in UPDATING is in order?

This was an oversight on my part -- none of our LINT build targets 
(apparently) excludes INET6.  It's fixed easily with an ifdef, and I've 
received re@ approval to merge the fix, so it's in the tree as of about an 
hour or two ago.  If you experience continuing problems after a cvsup, please 
let me know.

Robert N M Watson
Computer Laboratory
University of Cambridge



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