|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Recursor fails to build on CentOSFails 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/exception: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 _______________________________________________ Pdns-users mailing list Pdns-users@... http://mailman.powerdns.com/mailman/listinfo/pdns-users |
|
|
Re: Recursor fails to build on CentOSBoost 1.39 is too new for the Recursor 3.1.7. Either use an older
Boost, or use a snapshot of the recursor, which has this problem fixed. Bert On Mon, Jun 29, 2009 at 6:08 AM, Jesse Angell<Jesse.Angell@...> wrote: > 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/exception: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 !DSPAM:4a483e4b128571156014651! > _______________________________________________ > Pdns-users mailing list > Pdns-users@... > http://mailman.powerdns.com/mailman/listinfo/pdns-users > > > !DSPAM:4a483e4b128571156014651! > > Pdns-users mailing list Pdns-users@... http://mailman.powerdns.com/mailman/listinfo/pdns-users |
|
|
Re: Recursor fails to build on CentOSBoot 1.35 worked. Thank you
On 6/29/09 1:11 AM, "bert hubert" <bert.hubert@...> wrote: > Boost 1.39 is too new for the Recursor 3.1.7. Either use an older > Boost, or use a snapshot of the recursor, which has this problem > fixed. > > Bert > > On Mon, Jun 29, 2009 at 6:08 AM, Jesse > Angell<Jesse.Angell@...> wrote: >> 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/exceptio >> n: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 !DSPAM:4a483e4b128571156014651! >> _______________________________________________ >> Pdns-users mailing list >> Pdns-users@... >> http://mailman.powerdns.com/mailman/listinfo/pdns-users >> >> >> !DSPAM:4a483e4b128571156014651! >> >> _______________________________________________ Pdns-users mailing list Pdns-users@... http://mailman.powerdns.com/mailman/listinfo/pdns-users |
| Free embeddable forum powered by Nabble | Forum Help |