Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Jan 2017 08:31:57 -0700
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
Subject:   Re: svn commit: r312905 - head/sys/net
Message-ID:  <6db0fa21-aaf0-6e0d-5b90-5b0c58fd396b@freebsd.org>
In-Reply-To: <201701281526.v0SFQAmv018310@slippy.cwsent.com>
References:  <201701281526.v0SFQAmv018310@slippy.cwsent.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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:


--7VU3bI00OrFqhCUsm1WfMDVJhUghilMdl--

--dkfsunaMxftWlJwiAwenDrGag5jVrG0u1
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQGTBAEBCgB9FiEEuq1GMucSHejSCZfdEgHvyh5yfmQFAliMuW1fFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEJB
QUQ0NjMyRTcxMjFERThEMjA5OTdERDEyMDFFRkNBMUU3MjdFNjQACgkQEgHvyh5y
fmSPnAgArD3grcYkprDvPBsqycznC2e6DJNUWjVYvtTwGwSdUqEdQ28+Hf+uDijC
bbxv6+8216I7DIAxqnOsnobTcMOxYAkilUCB+G4kf5rg5JZFRSq6Dgvst5xkn3fu
0RFeMT/25ERmeWrnDdGD3O8gjgpRTW8c5DGdWfZiP9Cf7B1nwLVqYLO2Irzay/ua
bAP4rL4iyRBCt6TbTUxQ9rnxe4ksY8Z4p/nhbYWc0LoOGJ5CgUOFI+ZGsrChWdy1
p4IqSk78NOURc5U9Vn/AOevvUNNW4heGZG7ksns/zH2ufNhJpZdWenwkYzU1ovuy
v776Q+RU9mDxJcxJhlif9yeOmjcahg==
=brOd
-----END PGP SIGNATURE-----

--dkfsunaMxftWlJwiAwenDrGag5jVrG0u1--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6db0fa21-aaf0-6e0d-5b90-5b0c58fd396b>