Re: Squid 2.3S2 on Solaris 8

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 28 Jun 2000 00:03:44 +0200

David Hastings wrote:

> I tried to compile squid 2.3 stable 2 with Henrik's 20000420 snapshot on a
> Solaris 8 box, and it came up with the following:
>
> gcc -g -O2 -Wall -I. -I../include -I../include -c client_side.c
> In file included from /usr/include/inet/ip.h:18,
> from /usr/include/netinet/ip_compat.h:102,
> from client_side.c:47:
> /usr/include/inet/mib2.h:105: `Counter' redeclared as different kind of symbol
> globals.h:119: previous declaration of `Counter'

Ouch.. a name space collision between Squid and your systems include
files.

try the following small patch:

cd squid-2.3.STABLE2/src
perl -i -p -e 's/\bCounter\b/statCounter/g' *.[ch]
make

--
Henrik Nordstrom
Squid Hacker
Received on Tue Jun 27 2000 - 16:28:35 MDT

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