c-rack / squid-ecap-gzip

SQUID eCAP GZIP Adapter
GNU General Public License v2.0
20 stars 8 forks source link

Error compiling on Debian Squeeze #7

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Dear Sirs,

I'm trying to install ecap-gzip on Debian Squeeze but unfortunately failed! 
would you please advise... 

make[1]: Entering directory `/squid-ecap-gzip/src'
/bin/bash ../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H   -I../src  
 -g -O1 -Wall -Wwrite-strings -Woverloaded-virtual -pipe -MT adapter_gzip.lo 
-MD -MP -MF .deps/adapter_gzip.Tpo -c -o adapter_gzip.lo adapter_gzip.cc
libtool: compile:  g++ -DHAVE_CONFIG_H -I../src -g -O1 -Wall -Wwrite-strings 
-Woverloaded-virtual -pipe -MT adapter_gzip.lo -MD -MP -MF 
.deps/adapter_gzip.Tpo -c adapter_gzip.cc  -o .libs/adapter_gzip.o
adapter_gzip.cc:65: error: ISO C++ forbids declaration of âConfigâ with no 
type
adapter_gzip.cc:65: error: expected â,â or â...â before â&â token
adapter_gzip.cc:66: error: ISO C++ forbids declaration of âConfigâ with no 
type
adapter_gzip.cc:66: error: expected â,â or â...â before â&â token
/usr/local/include/libecap/adapter/service.h:24: warning: âvirtual void 
libecap::adapter::Service::configure(const libecap::Options&)â was hidden
adapter_gzip.cc:65: warning:   by âvirtual void 
Adapter::Service::configure(int)â
/usr/local/include/libecap/adapter/service.h:25: warning: âvirtual void 
libecap::adapter::Service::reconfigure(const libecap::Options&)â was hidden
adapter_gzip.cc:66: warning:   by âvirtual void 
Adapter::Service::reconfigure(int)â
adapter_gzip.cc:235: error: ISO C++ forbids declaration of âConfigâ with no 
type
adapter_gzip.cc:235: error: expected â,â or â...â before â&â token
adapter_gzip.cc:239: error: ISO C++ forbids declaration of âConfigâ with no 
type
adapter_gzip.cc:239: error: expected â,â or â...â before â&â token
adapter_gzip.cc: In member function âvirtual libecap::adapter::Xaction* 
Adapter::Service::makeXaction(libecap::host::Xaction*)â:
adapter_gzip.cc:263: error: cannot allocate an object of abstract type 
âAdapter::Xactionâ
adapter_gzip.cc:81: note:   because the following virtual functions are pure 
within âAdapter::Xactionâ:
/usr/local/include/libecap/common/options.h:21: note:   virtual const 
libecap::Area libecap::Options::option(const libecap::Name&) const
/usr/local/include/libecap/common/options.h:25: note:   virtual void 
libecap::Options::visitEachOption(libecap::NamedValueVisitor&) const
adapter_gzip.cc: In member function âvirtual void 
Adapter::Xaction::noteVbContentAvailable()â:
adapter_gzip.cc:587: warning: unused variable ârcâ
adapter_gzip.cc: At global scope:
adapter_gzip.cc:613: error: cannot allocate an object of abstract type 
âAdapter::Serviceâ
adapter_gzip.cc:56: note:   because the following virtual functions are pure 
within âAdapter::Serviceâ:
/usr/local/include/libecap/adapter/service.h:24: note:  virtual void 
libecap::adapter::Service::configure(const libecap::Options&)
/usr/local/include/libecap/adapter/service.h:25: note:  virtual void 
libecap::adapter::Service::reconfigure(const libecap::Options&)
make[1]: *** [adapter_gzip.lo] Error 1
make[1]: Leaving directory `/squid-ecap-gzip/src'
make: *** [install-recursive] Error 1

Original issue reported on code.google.com by maroon.i...@gmail.com on 8 Jan 2013 at 3:18

GoogleCodeExporter commented 9 years ago
I'm having the exact same issue...

Original comment by manuel.a...@gmail.com on 9 Apr 2013 at 7:54

GoogleCodeExporter commented 9 years ago
the same problem

Original comment by hcm.tung...@gmail.com on 24 May 2013 at 3:59

GoogleCodeExporter commented 9 years ago
Please refer issue#6 for patch against libecap-0.2.0 and issue#9 for patch 
against libecap-1.0.

Original comment by Dmitry.K...@gmail.com on 8 May 2014 at 12:37