snprintf error while compiling STABLE 4 for Solaris

From: Alvin Lim <[email protected]>
Date: Mon, 19 Jul 1999 15:57:30 +0800

Hello all

I'm using GCC 2.7.2.1
Squid 2.2 STABLE 4 source from this site
Solaris 2.5.1

Here is the error when I comple squid.

I just do ./configure --prefix=/export/home2/squid
make all

and then

snprintf.c: In function `format_converter':
snprintf.c:580: warning: implicit declaration of function `isascii'
snprintf.c:606: warning: implicit declaration of function
`__builtin_va_arg_incr'
snprintf.c: In function `snprintf':
snprintf.c:929: `__builtin_va_alist' undeclared (first use this
function)
snprintf.c:929: (Each undeclared identifier is reported only once
snprintf.c:929: for each function it appears in.)
snprintf.c:928: warning: `ap' might be used uninitialized in this
function
*** Error code 1
make: Fatal error: Command failed for target `snprintf.o'
Current working directory /export/home2/squid/squid-2.2.STABLE4/lib
*** Error code 1
make: Fatal error: Command failed for target `all'
Received on Mon Jul 19 1999 - 01:42:57 MDT

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