Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Oct 2003 00:06:36 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        Bruce Evans <bde@zeta.org.au>
Subject:   Re: cvs commit: src/sys/netinet icmp6.h ip6.h src/sys/netinet6 in6.h
Message-ID:  <1067141195.81969.18.camel@shumai.marcuscom.com>
In-Reply-To: <20031026040132.GA2036@rot13.obsecurity.org>
References:  <200310251057.h9PAv8pn086818@repoman.freebsd.org> <20031026031516.U14956@gamplex.bde.org> <20031025192855.GA96324@rot13.obsecurity.org> <20031026145253.N16944@gamplex.bde.org> <20031026040132.GA2036@rot13.obsecurity.org>

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

--=-eipBNKgB7dmR7iUKeC7k
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Sun, 2003-10-26 at 00:01, Kris Kennaway wrote:
> On Sun, Oct 26, 2003 at 02:54:09PM +1100, Bruce Evans wrote:
>=20
> > > > >   revert following unwanted changes:
> > > > >     - __packed to __attribute__((__packed__)
> > > > >     -  uintN_t back to u_intN_t
> > > > >
> > > > >   Reported by:    bde
> > > >
> > > > Thanks.
> > >
> > > I guess that probably fixes the port build failures I am seeing in N
> > > different ports :-)
> >=20
> > I'm surprised any ports care about this.  Do they use a non-gcc compile=
r
> > or lint?
>=20
> Well, I'm seeing lots of errors like this:
>=20
> http://bento.freebsd.org/errorlogs/i386-5-latest/ucd-snmp-4.2.6_3.log
>=20
> In file included from /usr/include/netinet/in.h:575,
>                  from master.c:32:
> /usr/include/netinet6/in6.h:535: error: syntax error before "u_int32_t"
> /usr/include/netinet6/in6.h:651: error: syntax error before '*' token
> /usr/include/netinet6/in6.h:651: warning: type defaults to `int' in decla=
ration of `inet6_option_alloc'
> /usr/include/netinet6/in6.h:651: warning: data definition has no type or =
storage class
> /usr/include/netinet6/in6.h:652: error: syntax error before "u_int8_t"
> /usr/include/netinet6/in6.h:653: error: syntax error before "u_int8_t"
> /usr/include/netinet6/in6.h:669: error: syntax error before "u_int8_t"
> /usr/include/netinet6/in6.h:674: error: syntax error before "u_int8_t"
> /usr/include/netinet6/in6.h:676: error: syntax error before "u_int8_t"
> gmake: *** [master.o] Error 1
>=20
> I haven't checked whether this commit fixes them, although looking at
> it now I'm not sure it does.

netinet6/in6.h (and netinet/in.h) requires sys/types.h to be included
before it.  If you don't, you'd see these errors.

Joe

>=20
> Kris
--=20
PGP Key : http://www.marcuscom.com/pgp.asc

--=-eipBNKgB7dmR7iUKeC7k
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQA/m0hLb2iPiv4Uz4cRAivRAJ45zGnHsBMt0x3LMs/rCTrbuqMgvwCgnPY0
EfKU9DSF+2KhxSnyfE8Btys=
=2LRm
-----END PGP SIGNATURE-----

--=-eipBNKgB7dmR7iUKeC7k--



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