[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ip.h Solaris 5.7 build problems



On Fri, 26 Nov 1999 00:28:04 GMT, Lloyd Wood wrote: 
>The Y2K compliance diktat means we're migrating en masse to Solaris
>2.7 (or 5.7, if you prefer the old nomenclature). Building ns under
>Solaris 2.7 results in the following gotchas:
>
>
>ip.h:47: warning: `IP_BROADCAST' redefined
>/usr/include/netinet/in.h:288: warning: this is the location of the
>previous definition
>
>Solaris 5.7 is already using IP_BROADCAST, and gcc 2.95 isn't happy
>about it being redefined.
>
>There's also:
>config.h:267: declaration of C function `int snprintf(char *, int,
>const char *, ...)' conflicts with
>/usr/include/stdio.h:291: previous declaration `int snprintf(char *,
>unsigned int, const char *, ...)' here
>
>suggesting that something's up with #ifndef HAVE_SNPRINTF in config.h.

I believe both of these are fixed in recent snapshots (certainly the
first one is).

   -John