[squid-users] Compiling Problem with transparent proxy on Squid-2.3.STABLE3(SOLARIS 8, 64bit Processor, Sparc)

From: sovik <ahn@dont-contact.us>
Date: Mon, 6 Aug 2001 21:10:07 +0900

We wanted to test Transparent Proxy On SOLARIS 8(Squid-2.3.STABLE3 installed)

Machine : Solaris 8, Netra T1
CPU : 64bit processor

we have installed GNU-64bit compiler(EGCS), and then installed 64bit-IPFilter(version:3.4.2.0)

when configuring squid, we take an option --enable-ipf-transparent

on compiling squid, Following Eorror is shown

In file included from /usr/include/inet/ip.h:18,
                 from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0/include/netinet/ip_compat.h:111,
                 from client_side.c:47:
/usr/include/inet/mib2.h:105: `Counter' redeclared as different kind of symbol
globals.h:138: previous declaration of `Counter'
In file included from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0/include/netinet/ip_compat.h:111,
                 from client_side.c:47:
/usr/include/inet/ip.h:1337: parse error before "ip6_hbh_t"
/usr/include/inet/ip.h:1339: parse error before '*' token
/usr/include/inet/ip.h:1340: parse error before '*' token
/usr/include/inet/ip.h:1342: parse error before '}' token
client_side.c: In function `clientUpdateCounters':
client_side.c:643: parse error before '.' token
client_side.c:645: parse error before '.' token
client_side.c:647: parse error before '.' token
client_side.c:648: parse error before "Counter"
client_side.c:657: parse error before "Counter"
client_side.c:660: parse error before "Counter"
client_side.c:665: parse error before "Counter"
client_side.c:669: parse error before "Counter"
client_side.c:678: parse error before '.' token
client_side.c:681: parse error before '.' token
client_side.c:684: parse error before "Counter"
client_side.c:687: parse error before '.' token
client_side.c:690: parse error before '.' token
client_side.c:640: warning: unused variable `svc_time'
client_side.c: In function `clientWriteComplete':
client_side.c:2010: parse error before "Counter"
client_side.c:2012: parse error before "Counter"
client_side.c: In function `clientReadRequest':
client_side.c:2598: parse error before '.' token
client_side.c:2605: parse error before "Counter"
make[1]: *** [client_side.o] Error 1
make: *** [all] Error 1


What's wrong?????

please help me...
appreciated... Thanks



Received on Mon Aug 06 2001 - 06:16:28 MDT

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