Squid 2.3S2 on Solaris 8

From: David Hastings <david.hastings@dont-contact.us>
Date: Tue, 27 Jun 2000 16:04:54 +0100 (BST)

Hi,

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'
In file included from /usr/include/netinet/ip_compat.h:102,
                 from client_side.c:47:
/usr/include/inet/ip.h:1160: parse error before `ip6_hbh_t'
/usr/include/inet/ip.h:1160: warning: no semicolon at end of struct or union
/usr/include/inet/ip.h:1161: warning: data definition has no type or storage class
/usr/include/inet/ip.h:1162: parse error before `*'
/usr/include/inet/ip.h:1162: warning: data definition has no type or storage class
/usr/include/inet/ip.h:1163: parse error before `*'
/usr/include/inet/ip.h:1163: warning: data definition has no type or storage class
/usr/include/inet/ip.h:1165: parse error before `}'
client_side.c: In function `clientUpdateCounters':
client_side.c:581: parse error before `.'
client_side.c:583: parse error before `.'
client_side.c:585: parse error before `.'
client_side.c:586: parse error before `Counter'
client_side.c:595: parse error before `Counter'
client_side.c:598: parse error before `Counter'
client_side.c:603: parse error before `Counter'
client_side.c:607: parse error before `Counter'
client_side.c:616: parse error before `.'
client_side.c:619: parse error before `.'
client_side.c:622: parse error before `Counter'
client_side.c:625: parse error before `.'
client_side.c:628: parse error before `.'
client_side.c:578: warning: unused variable `svc_time'
client_side.c: In function `clientWriteComplete':
client_side.c:1788: parse error before `Counter'
client_side.c:1790: parse error before `Counter'
client_side.c: In function `clientReadRequest':
client_side.c:2326: parse error before `.'
client_side.c:2330: parse error before `Counter'
*** Error code 1
make: Fatal error: Command failed for target `client_side.o'
Current working directory /usr/local/src/squid-2.3.STABLE2/src
*** Error code 1
make: Fatal error: Command failed for target `all'

Is there a fix for this?

Thanks,

Dave

--
David Hastings                       |                                   
Network Applications                 |  "You know you've landed with the
Oxford University Computing Services |   wheels up when it takes full
email: david.hastings@oucs.ox.ac.uk  |   power to taxi"                    
web: http://users.ox.ac.uk/~daveh/   |
Received on Tue Jun 27 2000 - 09:09:32 MDT

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