Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 May 2023 15:37:53 +0000
From:      Gary Jennejohn <garyj@gmx.de>
To:        Alexander Chernikov <melifaro@FreeBSD.org>
Cc:        current@freebsd.org
Subject:   Re: builworld fails due to error in af_inet.c
Message-ID:  <20230522173753.7f227dfa@ernst.home>
In-Reply-To: <1B5092E2-27AB-45B7-B726-F83B6986638D@FreeBSD.org>
References:  <20230522170000.25468c5f@ernst.home> <1B5092E2-27AB-45B7-B726-F83B6986638D@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 22 May 2023 16:03:37 +0100
Alexander Chernikov <melifaro@FreeBSD.org> wrote:

> Sorry for the breakage (and thanks for markj@ for the prompt fix)
>

No big deal.  It was easy to find the cause and temporarily fix it.

> > On 22 May 2023, at 16:00, Gary Jennejohn <garyj@gmx.de> wrote:
> >
> > I just ran buildworld using the latest current source.
> >
> > It dies due to this error in line 385 of /usr/src/sbin/ifconfig/af_ine=
t.c:
> >
> > static void
> > warn_nomask(ifflags)
> >
> > The compiler really doesn't like not seeing a type for ifflags and bai=
ls
> > out as the result.
> >
> > Strangely enough, in_proc() a few lines later clearly has int ifflags =
in
> > its list of variables.
> >
> > Setting ifflags to int in warn_nomask() fixes the build.
> >
> > Wasn't this compile tested before it was committed?
> It was & it didn't yell on my setup.
>

That's interesting.  Maybe I have some different settings.  But the error
message was the standard one about badly formed prototypes.

=2D-
Gary Jennejohn



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