Re: cvs commit: src/sys/netinet icmp6.h ip6.h src/sys/netinet6 in6.h

From: Kris Kennaway <kris_at_obsecurity.org>
Date: Sat, 25 Oct 2003 21:01:33 -0700
On Sun, Oct 26, 2003 at 02:54:09PM +1100, Bruce Evans wrote:

> > > >   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 :-)
> 
> I'm surprised any ports care about this.  Do they use a non-gcc compiler
> or lint?

Well, I'm seeing lots of errors like this:

http://bento.freebsd.org/errorlogs/i386-5-latest/ucd-snmp-4.2.6_3.log

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 declaration 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

I haven't checked whether this commit fixes them, although looking at
it now I'm not sure it does.

Kris

Received on Sat Oct 25 2003 - 21:01:36 UTC