Hi Everyone,

I'm new to ubuntu and I'm planning to run squid 3.1.10 on ubuntu server 12.04.1 LTS 64bit. I'm compiling it from a clean source from squid website. I got build-essentials installed and the compilation was successful. When I run the make command, I got this error (these are the last lines) :

g++: warning: switch '-fhuge-objects' is no longer supported
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]
cc1plus: all warnings being treated as errors

make[3]: *** [User.lo] Error 1
make[3]: Leaving directory `/root/squid-3.1.10/src/auth'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/squid-3.1.10/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/squid-3.1.10/src'
make: *** [all-recursive] Error 1

Please help me guys. I promise I'll help in return. Happy New Year to all of you.