[squid-users] Unable to compile Squid 3.0 nightly on Cygwin, Win2k

From: Tim McAuley <timonline@dont-contact.us>
Date: Thu, 11 May 2006 10:00:15 +0100 (IST)

Hi,

I'm currently trying to compile Squid 3.0, using cygwin (up to date), on
windows 2000. It's failed on the build (see logs below).

The last time I built Squid was about two months agao. However, we are
coming across an issue with Squid acting as a reverse proxy (http-https)
and not closing the connection properly when the client is sending a HTTP
post message. I wanted to try a fresh build to see if this would help.

The last time I built Squid, I remember I had to manually edit auotconf.h
(I think) and define _SQUID_INLINE_ to be inline, otherwise it would not
compile. However, now autoconf.h is uneditied, i.e. no options have been
defined, which worries me. I could do the same this time but other things
may fail. I'd perfer to find the root cause of the problem.

The steps so far were:
./configure --prefix=/usr/local/squid --enable-ssl
make all

I am including the build log, and a reference to the config.log (too big
for email).

config.log = http://www.mothy.net/squid/config.log

Any help would be appreciated.

Many thanks,

Tim McAuley.

=======
build log
======

$ make all
Making all in lib
make[1]: Entering directory `/cygdrive/c/libs/squid-3.0-PRE3-20060510/lib'
Making all in libTrie
make[2]: Entering directory
`/cygdrive/c/libs/squid-3.0-PRE3-20060510/lib/libTri
e'
make all-recursive
make[3]: Entering directory
`/cygdrive/c/libs/squid-3.0-PRE3-20060510/lib/libTri
e'
Making all in src
make[4]: Entering directory
`/cygdrive/c/libs/squid-3.0-PRE3-20060510/lib/libTri
e/src'
source='Trie.cc' object='Trie.o' libtool=no \
DEPDIR=.deps depmode=none /bin/sh ../cfgaux/depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -Werror -Wall
-Wpointer-arith -W
write-strings -Wcomments -g -O2 -c -o Trie.o Trie.cc
In file included from Trie.cc:20:
../include/Trie.h:74: error: ISO C++ forbids declaration of
`_SQUID_INLINE_' wit
h no type
../include/Trie.h:74: error: expected `;' before "void"
../include/Trie.h:78: error: ISO C++ forbids declaration of
`_SQUID_INLINE_' wit
h no type
../include/Trie.h:78: error: expected `;' before "void"
../include/Trie.h:86: error: `size_t' has not been declared
../include/Trie.h:86: error: ISO C++ forbids declaration of `parameter'
with no
type
In file included from Trie.cc:24:
../include/TrieNode.h:66: error: ISO C++ forbids declaration of
`_SQUID_INLINE_'
 with no type
../include/TrieNode.h:66: error: expected `;' before "void"
Trie.cc: In function `void* TrieFind(void*, const char*, size_t)':
Trie.cc:48: error: 'class Trie' has no member named 'find'
Trie.cc: At global scope:
Trie.cc:55: error: prototype for `bool Trie::add(const char*, size_t,
void*)' do
es not match any in class `Trie'
../include/Trie.h:86: error: candidate is: bool Trie::add(const char*,
int, void
*)
Trie.cc: In member function `bool Trie::add(const char*, size_t, void*)':
Trie.cc:60: error: `find' undeclared (first use this function)
Trie.cc:60: error: (Each undeclared identifier is reported only once for
each fu
nction it appears in.)
In file included from Trie.cc:81:
../include/Trie.cci: At global scope:
../include/Trie.cci:26: error: no `void* Trie::find(const char*, size_t)'
member
 function declared in class `Trie'
../include/Trie.cci: In member function `void* Trie::find(const char*,
size_t)':

../include/Trie.cci:28: error: 'class TrieNode' has no member named 'find'
../include/Trie.cci: At global scope:
../include/Trie.cci:35: error: no `void* Trie::findPrefix(const char*,
size_t)'
member function declared in class `Trie'
../include/Trie.cci: In member function `void* Trie::findPrefix(const
char*, siz
e_t)':
../include/Trie.cci:37: error: 'class TrieNode' has no member named 'find'
make[4]: *** [Trie.o] Error 1
make[4]: Leaving directory
`/cygdrive/c/libs/squid-3.0-PRE3-20060510/lib/libTrie
/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/cygdrive/c/libs/squid-3.0-PRE3-20060510/lib/libTrie
'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/cygdrive/c/libs/squid-3.0-PRE3-20060510/lib/libTrie
'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/c/libs/squid-3.0-PRE3-20060510/lib'
make: *** [all-recursive] Error 1
Received on Thu May 11 2006 - 03:00:19 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Jun 01 2006 - 12:00:02 MDT