Search squid archive

Re: squid 4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When trying to compile squid 4.0.7 I have the following errors (see bellow)

I am using gcc 5.2.1 compiler and libecap 1.0.0
I compile on Ubuntu 15.10

What am I missing here ? Please help


libtool: compile:  g++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../lib -I../../src -I../../include -I../../libltdl -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Werror -Wno-deprecated-register -pipe -D_REENTRANT -m64 -march=native -std=c++11 -c ServerBump.cc  -fPIC -DPIC -o .libs/ServerBump.o

In file included from ../../src/base/AsyncCall.h:14:0,

                 from ../../src/comm/IoCallback.h:12,

                 from ../../src/comm.h:12,

                 from ../../src/client_side.h:16,

                 from ServerBump.cc:13:

../../src/base/RefCount.h: In instantiation of ‘void RefCount<C>::dereference(const C*) [with C = AnyP::PortCfg]’:

../../src/base/RefCount.h:35:20:   required from ‘RefCount<C>::~RefCount() [with C = AnyP::PortCfg]

../../src/servers/Server.h:31:23:   required from here

../../src/base/RefCount.h:96:40: error: invalid use of incomplete type ‘const class AnyP::PortCfg

         if (tempP_ && tempP_->unlock() == 0)

                                        ^

In file included from ../../src/MasterXaction.h:12:0,

                 from ../../src/CommCalls.h:16,

                 from ../../src/comm.h:13,

                 from ../../src/client_side.h:16,

                 from ServerBump.cc:13:

../../src/anyp/forward.h:17:7: note: forward declaration of ‘class AnyP::PortCfg

 class PortCfg;




On Fri, Mar 4, 2016 at 10:24 AM, Alex Rousskov <rousskov@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
On 03/04/2016 09:54 AM, bma wrote:

> I want to start evaluating squid 4 beta version.
> Is there a tutorial or a step by step document I can use to setup a proxy
> that would do the following:
> - intercept traffic (transparent proxy)
> - handles HTTP and HTTPS (handles gracefully sites that cannot be 'bumped')
> - attach an ICAP server.

Sadly, no, there is no such tutorial or a step by step document,
especially when it comes to bumping with its highly environment-specific
definitions of "can be bumped" and the timing of applying that definition.

The wiki has working examples hiding among the noise of incorrect advice
and outdated or partial information.

When you make your setup work, please consider writing a good tutorial.


Thank you,

Alex.


_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux