Only one of stdarg.h or varargs.h should be used at a time. The two
are incompatible with each other. stdarg.h is to be preferred.
You need to look into why varargs.h gets included by your system
headers. From what it seems /usr/include/sys/promif.h line 18. As
this does not happen on Solaris boxes where ipfilter is not installed
I suspect ipfilter messes around with something..
Regards
Henrik Nordstr�m
On Wednesday 06 February 2002 09.20, David bizeul wrote:
> I am trying to compile squid-2.4STABLE1 on Solaris 7 x86
> with --enable-ipf-transparent. I am using IPFILTER version
> 3.4.22. IPF has been installed correctly.
> The squid configure script runs fine but when i do a make
> all the following
> errors are displayed: In file included
> from /usr/include/sys/promif.h:18,
> from /usr/include/inet/ip.h:797,
>
> from /usr/include/netinet/ip_compat.h:102,
> from client_side.c:51:
> /usr/include/sys/varargs.h:61: warning: `va_start'
> redefined
> /usr/local/lib/gcc-lib/i386-pc-
> solaris2.7/2.95/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.7/2.95/include/stdarg.h:109:
> warning: this is the location of the previous definition
> /usr/include/sys/varargs.h:84: warning: `va_end' redefined
> /usr/local/lib/gcc-lib/i386-pc-
> solaris2.7/2.95/include/stdarg.h:100:
> warning: this is the location of the previous definition
> In file included from /usr/include/vm/as.h:39,
> 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:797,
>
> from /usr/include/netinet/ip_compat.h:102,
> from client_side.c:51:
> /usr/include/vm/seg.h:131: parse error before `+'
> /usr/include/vm/seg.h:131: warning: no semicolon at end
> of struct or
> union
> /usr/include/vm/seg.h:139: `sync' redeclared as different
> kind of symbol /usr/include/unistd.h:439: previous
> declaration of `sync'
> /usr/include/vm/seg.h:152: parse error before `}'
> In file included from /usr/include/sys/promif.h:18,
> from /usr/include/inet/ip.h:797,
>
> from /usr/include/netinet/ip_compat.h:102,
> from client_side.c:51:
> /usr/include/sys/varargs.h:49: conflicting types for
> `va_list'
> /usr/local/lib/gcc-lib/i386-pc-
> solaris2.7/2.95/include/stdarg.h:170:
> previous declaration of `va_list'
> /usr/include/sys/varargs.h:83: parse error before `void'
> *** Error code 1
> make: Fatal error: Command failed for target
> `client_side.o'
> Current working directory /home/shasan/squid-
> 2.4.STABLE3/src
> *** Error code 1
> make: Fatal error: Command failed for target `all'
> Current working directory /home/shasan/squid-
> 2.4.STABLE3/src
> *** Error code 1
> make: Fatal error: Command failed for target `all' Any
> ideas of what's wrong with the make??
>
> Regards,
>
> David
> -------------------
> Vous aussi devenez le "Coup de coeur de Julie" et gagnez une Webcam
> sur http://www.chez.com !
> Chez.com vous invite � d�couvrir l'univers passionnant des sites
> persos.
-- MARA Systems AB, Giving you basic free Squid support Customized solutions, packaged solutions and priority support available on requestReceived on Thu Feb 14 2002 - 17:29:39 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:06:22 MST