squid and Solaris2.6

From: Gerard GACHELIN <gg@dont-contact.us>
Date: Fri, 27 Feb 1998 10:54:09 +0100

Hello,

I'm compiling squid on different platforms since Squid V1.0... and the
compilation aborts for the first time with V1.1.20, on a Sparc Ultra running
Solaris2.6. I had no problem with Solaris2.5.1 or FreeBSD2.2.5.

So I think the problem is related to gcc and Solaris2.6. I'm using gcc2.7.2
Is there any patch. I didn't find any solution in the Faq.

Here are the compilation results :
 
gcc -g -O2 -Wall -I../include -I./../include -c rfc1123.c
In file included from ../include/util.h:118,
                 from rfc1123.c:133:
/usr/local/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/include/sys/param.h:187:
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 /usr/include/netdb.h:96,
                 from ../include/util.h:121,
                 from rfc1123.c:133:
/usr/include/sys/model.h:32: #error "No DATAMODEL_NATIVE specified"
*** Error code 1
make: Fatal error: Command failed for target `rfc1123.o'

Thnak you for any help.

-- 
**********************************************************
* Gerard GACHELIN                   e-mail : gg@lirmm.fr * 
* LIRMM (UMR 5506 CNRS/UMII)        MONTPELLIER (FRANCE) *
* WWW LIRMM Home Page               http://www.lirmm.fr/ *
**********************************************************
Received on Fri Feb 27 1998 - 01:57:07 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:39:01 MST