[squid-users] 3.5.6 compile error in Helper ServerBase

Amos Jeffries squid3 at treenet.co.nz
Wed Jul 15 03:48:55 UTC 2015


On 15/07/2015 6:34 a.m., Helmut Hullen wrote:
> Hallo, Amos,
> 
> Du meintest am 15.07.15:
> 
>>> I've just tried to compile squid 3.5.6 using the script from
>>> slackbuilds.org.
>>>
>>>         http://slackbuilds.org/slackbuilds/14.1/network/squid.tar.gz
>>>
>>> With squid 3.4.x (and older versions) this script worked well. With
>>> 3.5.6 compiling stops with
>>>
>>> ---------
>>>
>>> In file included from Reply.cc:14:
>>> ../../src/helper.h:134: error: base `HelperServerBase' with only
>>> non- default constructor in class without a constructor
>>> ../../src/helper.h:147: error: base `HelperServerBase' with only
>>> non-default constructor in class without a constructor
>>>
>>> make[3]: *** [Reply.lo] Error 1
>>>
>>> [...]
>>>
> 
>> What compiler version?
> 
> 
> Thanks for that hint!
> 
> Changing from one of my machines, with gcc-3.4.6 (for older  
> installations) to another machine with gcc-4.9.2 solved the problem.  
> Compiling worked, and the new squid version seems to work as expected.  
> Nice!

Cheers.

For the record (and anyone else finding this). Squid-3 requires GCC 4.x
to build.

Amos



More information about the squid-users mailing list