[SQU] --enable-ipf-transparent compile failure on Solaris 8

From: Isaac Cheung <isaac_cheung@dont-contact.us>
Date: Mon, 08 Jan 2001 18:03:33
Hi,
 
I have squid2.3STABLE4 configured with --enable-ipf-transparent option.
and i used gcc2.95.2 to compile the sources.
 
I got the following messages.....  please let me know if anyone has solution for this.
 
Thanks,
 
Isaac
 
gcc -g  -Wall -I. -I../include -I../include    -c -o client_side.o 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:51:
/usr/include/inet/mib2.h:105: `Counter' redeclared as different kind of symbol
globals.h:120: previous declaration of `Counter'
In file included from /usr/include/netinet/ip_compat.h:102,
                 from client_side.c:51:
/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:583: parse error before `.'
client_side.c:585: parse error before `.'
client_side.c:587: parse error before `.'
client_side.c:588: parse error before `Counter'
client_side.c:597: parse error before `Counter'
client_side.c:600: parse error before `Counter'
client_side.c:605: parse error before `Counter'
client_side.c:609: parse error before `Counter'
client_side.c:618: parse error before `.'
client_side.c:621: parse error before `.'
client_side.c:624: parse error before `Counter'
client_side.c:627: parse error before `.'
client_side.c:630: parse error bef! ore `.'
client_side.c:580: warning: unused variable `svc_time'
c lient_side.c: In function `clientWriteComplete':
client_side.c:1789: parse error before `Counter'
client_side.c:1791: parse error before `Counter'
client_side.c: In function `clientReadRequest':
client_side.c:2334: parse error before `.'
client_side.c:2338: parse error before `Counter'
make[1]: *** [client_side.o] Error 1
make[1]: Leaving directory `/home/isaacc/build/squid-2.3.STABLE4/src'
make: *** [all] Error 1


Get your FREE download of MSN Explorer at http://explorer.msn.com

-- To unsubscribe, see http://www.squid-cache.org/mailing-lists.html Received on Mon Jan 08 2001 - 11:06:41 MST

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