On 12/11/2013 6:54 p.m., Peipei Wang wrote: > Hi all, > > Please help me with this installation problem. Firstly, this is a build/compile problem. > > I got a problem whiling installing Squid 3.1.6. The configure works > well, but it reports the error message from "make" as follows. > <snip> > User.cc: In static member function ‘static void AuthUser::CachedACLsReset()’: > User.cc:161:17: error: variable ‘username’ set but not used > [-Werror=unused-but-set-variable] > Here is my platform Information: > OS: Ubuntu 12.04.3 > gcc: 4.6.3 > > I also tried under the instructions from > http://wiki.squid-cache.org/SquidFaq/CompilingSquid#Debian.2C_Ubuntu, > but it reports the same problem. > > But this error doesn't happen on squid-3.2.3. That means the > dependency libraries are already installed. Secondly, this is about 3.1.6 code being so old that it does not build using GCC 4.6. The only dependency problem visible is the compiler version. If you had 3.2 earlier why are you downgrading your Squid to an older and very broken release? Amos