Re: [squid-users] Problems compiling squid with transparent proxy

From: Henrik Nordstrom <[email protected]>
Date: Tue, 04 Feb 2003 21:38:50 +0100

This is a known problem. See bug #199 (also includes a workaround).

Regards
Henrik

Fernando Caba wrote:
>
> Hi Squid Users, i'm tryng to compile squid-2.5.STABLE1 with IP-Filter in
> Solaris 8x86 with gcc 2.95.3.
> Running ./configure --enable-ipf-transparent i got no problems, besides
> ipfilter package was found.
> But, when i run make i got the following errors:
>
> gcc -DHAVE_CONFIG_H
> -DDEFAULT_CONFIG_FILE=\"/usr/local/squid/etc/squid.conf\" -I. -I.
> -I../include -I. -I. -I../include -I../include -g -Wall -c `test -f
> client_db.c || echo './'`client_db.c
> source='client_side.c' object='client_side.o' libtool=no \
> depfile='.deps/client_side.Po' tmpdepfile='.deps/client_side.TPo' \
> depmode=gcc /bin/sh ../cfgaux/depcomp \
> gcc -DHAVE_CONFIG_H
> -DDEFAULT_CONFIG_FILE=\"/usr/local/squid/etc/squid.conf\" -I. -I.
> -I../include -I. -I. -I../include -I../include -g -Wall -c `test -f
> client_side.c || echo './'`client_side.c
> In file included from /usr/include/sys/promif.h:18,
> from /usr/include/inet/ip.h:1579,
> from /usr/include/netinet/ip_compat.h:146,
> from client_side.c:51:
> /usr/include/sys/varargs.h:61: warning: `va_start' redefined
> /usr/local/lib/gcc-lib/i386-pc-solaris2.8/2.95.3/include/stdarg.h:96:
> warning: this is the location of the previous definition
> /usr/include/sys/varargs.h:62: warning: `va_arg' redefined
> /usr/local/lib/gcc-lib/i386-pc-solaris2.8/2.95.3/include/stdarg.h:109:
> warning: this is the location of the previous definition
> /usr/include/sys/varargs.h:101: warning: `va_end' redefined
> /usr/local/lib/gcc-lib/i386-pc-solaris2.8/2.95.3/include/stdarg.h:100:
> warning: this is the location of the previous definition
> In file included from /usr/include/netinet/ip_compat.h:146,
> from client_side.c:51:
> /usr/include/inet/ip.h:1337: parse error before `ip6_hbh_t'
> /usr/include/inet/ip.h:1337: warning: no semicolon at end of struct or
> union
> /usr/include/inet/ip.h:1338: warning: data definition has no type or
> storage class
> /usr/include/inet/ip.h:1339: parse error before `*'
> /usr/include/inet/ip.h:1339: warning: data definition has no type or
> storage class
> /usr/include/inet/ip.h:1340: parse error before `*'
> /usr/include/inet/ip.h:1340: warning: data definition has no type or
> storage class
> /usr/include/inet/ip.h:1342: parse error before `}'
> In file included from /usr/include/vm/as.h:42,
> from /usr/include/sys/devops.h:16,
> from /usr/include/sys/ddi_impldefs.h:15,
> from /usr/include/sys/promif.h:16,
> from /usr/include/inet/ip.h:1579,
> from /usr/include/netinet/ip_compat.h:146,
> from client_side.c:51:
> /usr/include/vm/seg.h:143: parse error before `+'
> /usr/include/vm/seg.h:143: warning: no semicolon at end of struct or
> union
> /usr/include/vm/seg.h:151: `sync' redeclared as different kind of symbol
>
> /usr/include/unistd.h:427: previous declaration of `sync'
> /usr/include/vm/seg.h:164: parse error before `}'
> In file included from /usr/include/sys/promif.h:18,
> from /usr/include/inet/ip.h:1579,
> from /usr/include/netinet/ip_compat.h:146,
> from client_side.c:51:
> /usr/include/sys/varargs.h:49: conflicting types for `va_list'
> /usr/local/lib/gcc-lib/i386-pc-solaris2.8/2.95.3/include/stdarg.h:170:
> previous declaration of `va_list'
> /usr/include/sys/varargs.h:100: parse error before `void'
> *** Error code 1
> make: Fatal error: Command failed for target `client_side.o'
> Current working directory /usr/local/src/squid-2.5.STABLE1/src
> *** Error code 1
> make: Fatal error: Command failed for target `all-recursive'
> Current working directory /usr/local/src/squid-2.5.STABLE1/src
> *** Error code 1
> make: Fatal error: Command failed for target `all'
> Current working directory /usr/local/src/squid-2.5.STABLE1/src
> *** Error code 1
> make: Fatal error: Command failed for target `all-recursive'
>
> Have any ideas?
>
> Thnaks in advance!
Received on Tue Feb 04 2003 - 13:44:43 MST

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