Re: Squid Compile error

From: Alex Rousskov <rousskov_at_measurement-factory.com>
Date: Wed, 04 Dec 2013 08:22:52 -0700

On 12/04/2013 06:14 AM, Ayham Abou Afach wrote:

> in make with this line:
> g++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../lib -I../../src
> -I../../include -I. -Wall -Wpointer-arith -Wwrite-strings
> -Wcomments -Wshadow -Werror -pipe -D_REENTRANT -m64 -g -O2 -march=native
> -std=c++0x -MT heap/store_heap_replacement.o -MD -MP -MF $depbase.Tpo -c
> -o heap/store_heap_replacement.o heap/store_heap_replacement.cc && mv -f
> $depbase.Tpo $depbase.Po
>
> heap/store_heap_replacement.cc: In function 'heap_key
> HeapKeyGen_StoreEntry_LFUDA(void*, double)':
> heap/store_heap_replacement.cc:93:35: error: 'class MemObject' has no
> member named 'url'

This is a build bug in the branch. We have never built with
--enable-removal-policies, apparently, so we have not seen this bug
until now.

If you build your Squid with the default removal policy (lru) only, the
build should succeed. Please note that Rock and shared memory caches do
not support configurable removal policies anyway.

To build your Squid with the default removal policy (lru) only, try not
using --enable-removal-policies in ./configure OR --enable just the lru
policy.

HTH,

Alex.
Received on Wed Dec 04 2013 - 15:23:16 MST

This archive was generated by hypermail 2.2.0 : Wed Dec 04 2013 - 12:00:09 MST