[squid-users] Re: CVS or Tarballs after squid-3.0-DEVEL-20030118 Won't Compile: ***FIXED***

From: Tesla 13 <tesla1313@dont-contact.us>
Date: Sat, 25 Jan 2003 17:51:53 -0500

Hello Folks,

This issue is fixed by Rob/Henrik. Latest CVS builds successfully. Don't
forget to issue 'squid3' to cvs: cvs checkout squid3

For CVS info, please see: http://www.squid-cache.org/Devel/cvs.html

Good day!

Tesla

-----
Hello Folks,

I am having difficulty compiling anything after
squid-3.0-DEVEL-20030118.tgz. CVS builds are unsuccessful as well.

Pentium 4 2.5 GHz
Redhat 8.0
gcc-3.2.1
kernel-2.4.20

No configure options specified.

Here is the error I get on squid-3.0-DEVEL-20030125.tar.gz:

<snip>
Making all in fs
make[3]: Entering directory `/squid/test/squid-3.0-DEVEL-20030125/src/fs'
make[4]: Entering directory `/squid/test/squid-3.0-DEVEL-20030125/src/fs'
source='ufs/store_dir_ufs.cc' object='ufs/store_dir_ufs.o' libtool=no \
depfile='.deps/ufs/store_dir_ufs.Po'
tmpdepfile='.deps/ufs/store_dir_ufs.TPo' \
depmode=gcc3 /bin/sh ../../cfgaux/depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I. -I../../include -
I../../include -I../../src/ -Werror -Wall -O2 -c -o ufs/store_dir_ufs.o
`test -f ufs/store_dir_ufs.cc || echo './'`ufs/store_dir_ufs.cc
In file included from ../../src/Store.cci:43,
                 from ../../src/Store.h:179,
                 from ufs/store_dir_ufs.cc:37:
../../src/MemObject.h:38:19: stmem.h: No such file or directory
In file included from ../../src/Store.cci:43,
                 from ../../src/Store.h:179,
                 from ufs/store_dir_ufs.cc:37:
../../src/MemObject.h:80: 'mem_hdr' is used as a type, but is not defined as
a
   type.
../../src/MemObject.h:86: syntax error before `*' token
make[4]: *** [ufs/store_dir_ufs.o] Error 1
make[4]: Leaving directory `/squid/test/squid-3.0-DEVEL-20030125/src/fs'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/squid/test/squid-3.0-DEVEL-20030125/src/fs'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/squid/test/squid-3.0-DEVEL-20030125/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/squid/test/squid-3.0-DEVEL-20030125/src'
make: *** [all-recursive] Error 1

stmem.h is not in the tarball and I could not come across this anywhere in
the filesystem. It is not in CVS either.

A clean CVS checkout as of today gives the following error:

<snip>
source='client_side_reply.c' object='client_side_reply.o' libtool=no \
depfile='.deps/client_side_reply.Po'
tmpdepfile='.deps/client_side_reply.TPo' \
depmode=gcc3 /bin/sh ../cfgaux/depcomp \
gcc -DHAVE_CONFIG_H
-DDEFAULT_CONFIG_FILE=\"/usr/local/squid/etc/squid.conf\" -
I. -I. -I../include -I. -I. -I../include -I../include -Werror -Wall -O2 -c
`test -f client_side_reply.c || echo './'`client_side_reply.c
client_side_reply.c: In function `clientCacheHit':
client_side_reply.c:580: `config' undeclared (first use in this function)
client_side_reply.c:580: (Each undeclared identifier is reported only once
client_side_reply.c:580: for each function it appears in.)
make[3]: *** [client_side_reply.o] Error 1

Has anyone been able to compile any version after 18-January? Can someone
tell me what seems to be wrong?

Thanks in advance for your time!

Tesla

PS: Recent version of 2.6 won't build either. They fail with the same error.

_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
Received on Sat Jan 25 2003 - 15:51:58 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:12:51 MST