[squid-users] make errors on Solaris 8 / Squid 2.4 / IP-Filter

From: Matthew Best - Net Admin. <[email protected]>
Date: Thu, 19 Jul 2001 13:05:17 -0400

Hey gurus,

    I'm getting make errors all over the place when I try to compile squid
like this:

./configure --enable-ipf-transparent

The configure script runs fine, then when i do a "make all" about 1/2 way
through it dumps with this (sorry for the long log file):

/opt/sfw/bin/gcc -g -Wall -I. -I../include -I../include -c client_side.c
In file included from /usr/include/sys/promif.h:18,
                 from /usr/include/inet/ip.h:1528,
                 from /usr/include/netinet/ip_compat.h:102,
                 from client_side.c:51:
/usr/include/sys/varargs.h:61: warning: `va_start' redefined
/opt/sfw/lib/gcc-lib/i386-pc-solaris2.8/2.95.2/include/stdarg.h:96: warning:
this is the location of the previous definition
/usr/include/sys/varargs.h:62: warning: `va_arg' redefined
/opt/sfw/lib/gcc-lib/i386-pc-solaris2.8/2.95.2/include/stdarg.h:109:
warning: this is the location of the previous definition
/usr/include/sys/varargs.h:101: warning: `va_end' redefined
/opt/sfw/lib/gcc-lib/i386-pc-solaris2.8/2.95.2/include/stdarg.h:100:
warning: this is the location of the previous definition
In file included from /usr/include/netinet/ip_compat.h:102,
                 from client_side.c:51:
/usr/include/inet/ip.h:1286: parse error before `ip6_hbh_t'
/usr/include/inet/ip.h:1286: warning: no semicolon at end of struct or union
/usr/include/inet/ip.h:1287: warning: data definition has no type or storage
class
/usr/include/inet/ip.h:1288: parse error before `*'
/usr/include/inet/ip.h:1288: warning: data definition has no type or storage
class
/usr/include/inet/ip.h:1289: parse error before `*'
/usr/include/inet/ip.h:1289: warning: data definition has no type or storage
class
/usr/include/inet/ip.h:1291: parse error before `}'
In file included from /usr/include/vm/as.h:38,
                 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:1528,
                 from /usr/include/netinet/ip_compat.h:102,
                 from client_side.c:51:
/usr/include/vm/seg.h:139: parse error before `+'
/usr/include/vm/seg.h:139: warning: no semicolon at end of struct or union
/usr/include/vm/seg.h:147: `sync' redeclared as different kind of symbol
/usr/include/unistd.h:427: previous declaration of `sync'
/usr/include/vm/seg.h:160: parse error before `}'
In file included from /usr/include/sys/promif.h:18,
                 from /usr/include/inet/ip.h:1528,
                 from /usr/include/netinet/ip_compat.h:102,
                 from client_side.c:51:
/usr/include/sys/varargs.h:49: conflicting types for `va_list'
/opt/sfw/lib/gcc-lib/i386-pc-solaris2.8/2.95.2/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 /download/squid-2.4.STABLE1/src
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory /download/squid-2.4.STABLE1/src
*** Error code 1
make: Fatal error: Command failed for target `all'
disco:root#

I was able to configure and "make all/make install" fine when I configured
without --enable-ipf-transparent

Any ideas on a fix for this?

Thanks,

--Matt.
Received on Thu Jul 19 2001 - 10:58:16 MDT

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