[Pdns-users] Recursor fails to build on CentOS
Jesse Angell
Jesse.Angell at Firespring.com
Mon Jun 29 04:08:01 UTC 2009
Any idea why this is happening?
Fails with: lwres.cc:184: error: reference to âexceptionâ is ambiguous
wget http://downloads.powerdns.com/releases/pdns-recursor-3.1.7.tar.bz2
bzip2 -d pdns-recursor-3.1.7.tar.bz2
tar -xvf pdns-recursor-3.1.7.tar
cd pdns-recursor-3.1.7
CXXFLAGS=-I/root/src/boost_1_39_0/ ./configure
CXXFLAGS=-I/root/src/boost_1_39_0/ make
PLEASE READ: If you get an error mentioning #include <boost/something.hpp>,
please read README
PLEASE READ: for an easy fix!
mkdir optional
g++ -I/root/src/boost_1_39_0/ -Wall -DBOOST_SP_DISABLE_THREADS -O3
-D_GNU_SOURCE -c epollmplexer.cc -o optional/epollmplexer.o ; true
g++ -I/root/src/boost_1_39_0/ -Wall -DBOOST_SP_DISABLE_THREADS -O3
-D_GNU_SOURCE -c -o syncres.o syncres.cc
g++ -I/root/src/boost_1_39_0/ -Wall -DBOOST_SP_DISABLE_THREADS -O3
-D_GNU_SOURCE -c -o misc.o misc.cc
g++ -I/root/src/boost_1_39_0/ -Wall -DBOOST_SP_DISABLE_THREADS -O3
-D_GNU_SOURCE -c -o unix_utility.o unix_utility.cc
g++ -I/root/src/boost_1_39_0/ -Wall -DBOOST_SP_DISABLE_THREADS -O3
-D_GNU_SOURCE -c -o qtype.o qtype.cc
g++ -I/root/src/boost_1_39_0/ -Wall -DBOOST_SP_DISABLE_THREADS -O3
-D_GNU_SOURCE -c -o logger.o logger.cc
g++ -I/root/src/boost_1_39_0/ -Wall -DBOOST_SP_DISABLE_THREADS -O3
-D_GNU_SOURCE -c -o arguments.o arguments.cc
g++ -I/root/src/boost_1_39_0/ -Wall -DBOOST_SP_DISABLE_THREADS -O3
-D_GNU_SOURCE -c -o lwres.o lwres.cc
lwres.cc: In function âint asyncresolve(const ComboAddress&, const
std::string&, int, bool, bool, timeval*, LWResult*)â:
lwres.cc:184: error: reference to âexceptionâ is ambiguous
/root/src/boost_1_39_0/boost/exception/exception.hpp:177: error: candidates
are: class boost::exception
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../include/c++/4.1.2/excepti
on:55: error: class std::exception
lwres.cc:184: error: expected type-specifier before âexceptionâ
lwres.cc:184: error: expected `)' before â&â token
lwres.cc:184: error: expected `{' before â&â token
lwres.cc:184: error: âmdeâ was not declared in this scope
lwres.cc:184: error: expected `;' before â)â token
lwres.cc:188: error: expected primary-expression before âcatchâ
lwres.cc:188: error: expected `;' before âcatchâ
make: *** [lwres.o] Error 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20090628/89471abc/attachment.html>
More information about the Pdns-users
mailing list