[squid-users] make error in squid-3.0-PRE3-20040331

From: Himanshu Soni <[email protected]>
Date: Wed, 31 Mar 2004 15:10:10 -0800

Hi

I am trying to compile squid-3.0-PRE3-20040331 with SSL support on the
following platform:

uname -a
SunOS ctech 5.6 Generic_105181-23 sun4u sparc SUNW,Ultra-5_10

g++ version 2.8.1

make version:
GNU Make version 3.75

openssl install:
/usr/local

I am trying to compile as a regular user (non-root).

I used the following configure flags:
./configure --prefix=/home/hsoni/squid --enable-ssl

When I run make all, I get the following error:

============================================
g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include
-I/usr/local/include -Werror -Wall -Wpointer-arith -Wwrite-strings
-Wmissing-prototypes -Wcomments -fhuge-objects -g -O2 -c -o Splay.o `test -f
'Splay.cc' || echo './'`Splay.cc
In file included from ../include/util.h:98,
                 from Splay.cc:21:
../include/SquidNew.h:44: parse error before `)'
../include/SquidNew.h:52: parse error before `)'
make[2]: *** [Splay.o] Error 1
make[2]: Leaving directory `/home/hsoni/squid-3.0-PRE3-20040331/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/hsoni/squid-3.0-PRE3-20040331/lib'
make: *** [all-recursive] Error 1
============================================

SquidNew.h line 43 tries to include <new>. Where is this header file
supposed to be located?

Thanx

Himanshu Soni

Received on Wed Mar 31 2004 - 16:10:25 MST

This archive was generated by hypermail pre-2.1.9 : Thu Apr 01 2004 - 12:00:03 MST