Re:Re: [squid-users] Meeting troubles when modify replacement policy. :-(

From: <maer727@dont-contact.us>
Date: Tue, 7 May 2002 19:34:25 +0800 (CST)

Thanks, Simon pal!

I am using squid 2.4 stable.

I use the following command to configure squid,
./configure --enable-removal-policies=heap.
Then I use "make" to build squid. But an error occurs,
store_repl_heap.c:281 undefined reference to
'HeapKeyGen_StoreEntry_GDSF'. How to resolve it?

I also has an idea to attain the same purpose, I want to
modify store_heap_replacement.c. I want to delete the
function HeapKeyGen_StoreEntry_LRU and rename the function HeapKeyGen_StoreEntry_GDSF
to HeapKeyGen_StoreEntry_LRU.
Will it work?

Best regards,
George Ma
----- Original Message -----
From: Simon White
To: squid-users@squid-cache.org
Subject: Re: [squid-users] Meeting troubles when modify replacement policy. :-(
Sent: Tue May 07 19:04:34 CST 2002

> 07-May-02 at 19:00, maer727@sohu.com (maer727@sohu.com) wrote :
> > I meet trouble when I modify the replacement policy. I simply edit
> > squid.conf and change lru to GDSF. But when restarting squid, an
> > error occurs. It says unknown replacement policy type.
> >
> > How to change lru to GDSF?
>
> You have to compile in support for GDSF and others. I think it's along the
> lines of:-
>
> ./configure --enable-removal-policies=heap
>
> This assumes you have the latest version, and that you have compiled from
> source (tar.gz)
>
> Regards,
>
> --
> [Simon White. vim/mutt. simon@mtds.com. GIMPS:8.410% see www.mersenne.org]
> All this talk about everyone being connected to the Internet by the year
> xxxx ignores the simple fact that a large number of people in the world
> are fighting for survival.
Received on Tue May 07 2002 - 05:34:49 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:15:25 MST