On Sat, 6 Mar 1999, Adam D. McKenna wrote:
> I'm getting the following error when trying to compile ucspi-tcp-0.84 on a Sun
> Solaris 2.6 (sparc) box:
>
> bash-2.02$ make
> ./compile tcpclient.c
> In file included from tcpclient.c:2:
> /usr/local/lib/gcc-lib/sparc-sun-solaris2.4/2.7.1/include/sys/param.h:185:
> warning: `NBBY' redefined
> /usr/include/sys/select.h:45: warning: this is the location of the previous
> definition
> In file included from /usr/include/sys/stream.h:26,
> from /usr/include/netinet/in.h:38,
> from tcpclient.c:4:
> /usr/include/sys/model.h:32: #error "No DATAMODEL_NATIVE specified"
You are using Solaris 2.6. You are using a gcc for Solaris 2.4.
That doesn't work.
Once you fix that, this problem will go away.