Search squid archive

Re: Unable to compile Squid 3.0 nightly on Cygwin, Win2k

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

At 11.00 11/05/2006, Tim McAuley wrote:

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).

cut

`/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_' with no type
../include/Trie.h:74: error: expected `;' before "void"
../include/Trie.h:78: error: ISO C++ forbids declaration of `_SQUID_INLINE_' with 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*)' does not match any in class `Trie'
../include/Trie.h:86: error: candidate is: bool Trie::add(const char*,
int, void *)

No similar error here using latest CVS, but I have found a different problem:

if gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include -I../lib/c
ppunit-1.10.0/include -I ../lib/cppunit-1.10.0/include  -I/usr/include/libxml2
-Werror -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-dec larations -Wcomments -D_REENTRANT -O2 -Wall -s -MT assert.o -MD -MP -MF ".deps/a
ssert.Tpo" -c -o assert.o assert.c; \
then mv -f ".deps/assert.Tpo" ".deps/assert.Po"; else rm -f ".deps/assert.Tpo";
exit 1; fi
In file included from ../include/assert.h:38,
                 from assert.c:38:
../include/config.h:192:1: "FD_SETSIZE" redefined
In file included from /usr/include/stdio.h:46,
                 from assert.c:35:
/usr/include/sys/types.h:222:1: this is the location of the previous definition
make[2]: *** [assert.o] Error 1
make[2]: Leaving directory `/cygdrive/c/work/cyg-s3_0/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/c/work/cyg-s3_0/lib'
make: *** [all-recursive] Error 1

Regards

Guido



-
========================================================
Guido Serassio
Acme Consulting S.r.l. - Microsoft Certified Partner
Via Lucia Savarino, 1           10098 - Rivoli (TO) - ITALY
Tel. : +39.011.9530135  Fax. : +39.011.9781115
Email: guido.serassio@xxxxxxxxxxxxxxxxx
WWW: http://www.acmeconsulting.it/


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux