Date: Sat, 28 Jan 2017 08:53:37 -0800 From: Cy Schubert <Cy.Schubert@komquats.com> To: Sean Bruno <sbruno@freebsd.org> Cc: Cy Schubert <Cy.Schubert@komquats.com>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r312905 - head/sys/net Message-ID: <201701281653.v0SGrb4Z019261@slippy.cwsent.com> In-Reply-To: Message from Sean Bruno <sbruno@freebsd.org> of "Sat, 28 Jan 2017 08:31:57 -0700." <6db0fa21-aaf0-6e0d-5b90-5b0c58fd396b@freebsd.org>
index | next in thread | previous in thread | raw e-mail
In message <6db0fa21-aaf0-6e0d-5b90-5b0c58fd396b@freebsd.org>, Sean Bruno
write
s:
> This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
> --dkfsunaMxftWlJwiAwenDrGag5jVrG0u1
> Content-Type: multipart/mixed; boundary="7VU3bI00OrFqhCUsm1WfMDVJhUghilMdl";
> protected-headers="v1"
> From: Sean Bruno <sbruno@freebsd.org>
> To: Cy Schubert <Cy.Schubert@komquats.com>
> Cc: src-committers@freebsd.org, svn-src-all@freebsd.org,
> svn-src-head@freebsd.org
> Message-ID: <6db0fa21-aaf0-6e0d-5b90-5b0c58fd396b@freebsd.org>
> Subject: Re: svn commit: r312905 - head/sys/net
> References: <201701281526.v0SFQAmv018310@slippy.cwsent.com>
> In-Reply-To: <201701281526.v0SFQAmv018310@slippy.cwsent.com>
>
> --7VU3bI00OrFqhCUsm1WfMDVJhUghilMdl
> Content-Type: text/plain; charset=windows-1252
> Content-Transfer-Encoding: quoted-printable
>
> >> /export/home/cy/freebsd/svn/ip6-cksum/sys/net/iflib.c:2363:1: error:=20
> >> function definition is not allowed here
> >> {
> >> ^
> >> fatal error: too many errors emitted, stopping now [-ferror-limit=3D]
> >=20
> > My initial email about this was correct. It does fail when building i38=
> 6 only. (It builds for amd64.)
> >=20
> >=20
>
> Hmmm ... ok. Does Hiren's suggestion fix your build error?
>
> Index: sys/net/iflib.c
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> --- sys/net/iflib.c (revision 312909)
> +++ sys/net/iflib.c (working copy)
> @@ -1536,8 +1536,8 @@
> goto fail;
> }
> }
> +#endif
> }
> -#endif
> return (0);
>
> fail:
Yes, that fixes it.
I'm sorry for expressing it so badly at first.
--
Cheers,
Cy Schubert <Cy.Schubert@cschubert.com>
FreeBSD UNIX: <cy@FreeBSD.org> Web: http://www.FreeBSD.org
The need of the many outweighs the greed of the few.
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701281653.v0SGrb4Z019261>
