Search squid archive

Problems compiling 3.1.12.3-RC with ICAP on RHEL

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

 



Hi all

Is anyone else seeing problems with compiling the 3.1.12.3 RC on RHEL, with --enable-icap-client?

It seems that patch 10313 (http://www.squid-cache.org/Versions/v3/3.1/changesets/squid-3.1-10313.patch) causes issues. This is the output I'm getting:

<snip>
ngs -Wcomments -Werror -D_REENTRANT -m64 -O2 -g -m64 -mtune=generic -c -o Initiate.lo Initiate.cc libtool: compile: g++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../src -I../../include -I../../libltdl -I/usr/include/libxml2 -I/usr/include/libxml2 -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -D_REENTRANT -m64 -O2 -g -m64 -mtune=generic -c Initiate.cc -fPIC -DPIC -o .libs/Initiate.o /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../src -I../../include -I../../libltdl -I/usr/include/libxml2 -I/usr/include/libxml2 -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -D_REENTRANT -m64 -O2 -g -m64 -mtune=generic -c -o Initiator.lo Initiator.cc libtool: compile: g++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../src -I../../include -I../../libltdl -I/usr/include/libxml2 -I/usr/include/libxml2 -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -D_REENTRANT -m64 -O2 -g -m64 -mtune=generic -c Initiator.cc -fPIC -DPIC -o .libs/Initiator.o
Initiate.cc: In destructor 'virtual Adaptation::AnswerCall::~AnswerCall()':
Initiate.cc:41: error: request for member 'message' in '((Adaptation::AnswerCall*)this)->Adaptation::AnswerCall::<anonymous>.AsyncCallT<Adaptation::AnswerDialer>::dialer.Adaptation::AnswerDialer::<anonymous>.UnaryMemFunT<Adaptation::Initiator, HttpMsg*>::arg1', which is of non-class type 'HttpMsg*' Initiate.cc:41: error: request for member 'message' in '((Adaptation::AnswerCall*)this)->Adaptation::AnswerCall::<anonymous>.AsyncCallT<Adaptation::AnswerDialer>::dialer.Adaptation::AnswerDialer::<anonymous>.UnaryMemFunT<Adaptation::Initiator, HttpMsg*>::arg1', which is of non-class type 'HttpMsg*' Initiate.cc:42: error: request for member 'message' in '((Adaptation::AnswerCall*)this)->Adaptation::AnswerCall::<anonymous>.AsyncCallT<Adaptation::AnswerDialer>::dialer.Adaptation::AnswerDialer::<anonymous>.UnaryMemFunT<Adaptation::Initiator, HttpMsg*>::arg1', which is of non-class type 'HttpMsg*' Initiate.cc: In member function 'void Adaptation::Initiate::sendAnswer(HttpMsg*)':
Initiate.cc:94: error: 'answer' was not declared in this scope
make[4]: *** [Initiate.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
libtool: compile: g++ -DHAVE_CONFIG_H -I../.. -I../../include -I../../src -I../../include -I../../libltdl -I/usr/include/libxml2 -I/usr/include/libxml2 -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Werror -D_REENTRANT -m64 -O2 -g -m64 -mtune=generic -c Initiator.cc -o Initiator.o >/dev/null 2>&1 make[4]: Leaving directory `/usr/src/redhat/BUILD/squid-3.1.12.3/src/adaptation'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/redhat/BUILD/squid-3.1.12.3/src/adaptation'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/redhat/BUILD/squid-3.1.12.3/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/redhat/BUILD/squid-3.1.12.3/src'
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.34664 (%build)


If I reverse that patch, Squid compiles OK.

Thoughts?

 - Lindsay


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

  Powered by Linux