[Pdns-users] PDNS Recursor compile errors on g++ 4.4.0
Roger Libiez
rlibiez at arthmoor.com
Sun Jul 5 08:43:08 UTC 2009
pdns_recursor.cc: In function "void startDoResolve(void*)":
pdns_recursor.cc:669: error: reference to "exception" is ambiguous
/usr/include/boost/exception/exception.hpp:177: error: candidates are:
class boost::exception
/usr/lib/gcc/x86_64-redhat-linux/4.4.0/../../../../include/c++/4.4.0/exception:60:
error: class std::exception
pdns_recursor.cc:669: error: expected type-specifier before "exception"
pdns_recursor.cc:669: error: expected ) before & token
pdns_recursor.cc:669: error: expected { before & token
pdns_recursor.cc:669: error: e was not declared in this scope
pdns_recursor.cc:669: error: expected ; before ) token
pdns_recursor.cc:672: error: expected primary-expression before catch
pdns_recursor.cc:672: error: expected ; before catch
The above is displayed when attempting to compile on a server where g++
4.4.0 is the only available compiler. Downgrading the compiler is not an
option. What's the correct fix for these? There are quite a few of them
in various different spots in that module.
--
Arthmoor MUD Hosting Services: http://www.arthmoor.com/
More information about the Pdns-users
mailing list