Hi, I update latest pdns git head, build with boost 1.52 but failed. ./configure --with-boost=/root/pdns/boost_1_52_0/ --enable-static-boost
When make ,the error info is : pdnssec.o: In function `boost::program_options::error_with_option_name::~error_with_option_name()': pdnssec.cc:(.text._ZN5boost15program_options22error_with_option_nameD2Ev[_ZN5boost15program_options22error_with_option_nameD5Ev]+0xe): undefined reference to `vtable for boost::program_options::error_with_option_name' pdnssec.o: In function `boost::program_options::basic_command_line_parser<char>::run()': pdnssec.cc:(.text._ZN5boost15program_options25basic_command_line_parserIcE3runEv[_ZN5boost15program_options25basic_command_line_parserIcE3runEv]+0x1f): undefined reference to `boost::program_options::detail::cmdline::get_canonical_option_prefix()' pdnssec.o: In function `boost::program_options::error_with_option_name::error_with_option_name(boost::program_options::error_with_option_name const&)': pdnssec.cc:(.text._ZN5boost15program_options22error_with_option_nameC2ERKS1_[_ZN5boost15program_options22error_with_option_nameC5ERKS1_]+0x38): undefined reference to `vtable for boost::program_options::error_with_option_name' pdnssec.o:(.rodata._ZTVN5boost15program_options16validation_errorE[_ZTVN5boost15program_options16validation_errorE]+0x10): undefined reference to `boost::program_options::error_with_option_name::what() const' pdnssec.o:(.rodata._ZTVN5boost15program_options16validation_errorE[_ZTVN5boost15program_options16validation_errorE]+0x18): undefined reference to `boost::program_options::error_with_option_name::substitute_placeholders(std::string const&) const' pdnssec.o:(.rodata._ZTVN5boost15program_options20invalid_option_valueE[_ZTVN5boost15program_options20invalid_option_valueE]+0x10): undefined reference to `boost::program_options::error_with_option_name::what() const' pdnssec.o:(.rodata._ZTVN5boost15program_options20invalid_option_valueE[_ZTVN5boost15program_options20invalid_option_valueE]+0x18): undefined reference to `boost::program_options::error_with_option_name::substitute_placeholders(std::string const&) const' pdnssec.o:(.rodata._ZTVN5boost16exception_detail19error_info_injectorINS_15program_options20invalid_option_valueEEE[_ZTVN5boost16exception_detail19error_info_injectorINS_15program_options20invalid_option_valueEEE]+0x10): undefined reference to `boost::program_options::error_with_option_name::what() const' pdnssec.o:(.rodata._ZTVN5boost16exception_detail19error_info_injectorINS_15program_options20invalid_option_valueEEE[_ZTVN5boost16exception_detail19error_info_injectorINS_15program_options20invalid_option_valueEEE]+0x18): undefined reference to `boost::program_options::error_with_option_name::substitute_placeholders(std::string const&) const' pdnssec.o:(.rodata._ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_15program_options20invalid_option_valueEEEEE[_ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_15program_options20invalid_option_valueEEEEE]+0x14): undefined reference to `boost::program_options::error_with_option_name::what() const' pdnssec.o:(.rodata._ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_15program_options20invalid_option_valueEEEEE[_ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_15program_options20invalid_option_valueEEEEE]+0x1c): undefined reference to `boost::program_options::error_with_option_name::substitute_placeholders(std::string const&) const' pdnssec.o:(.rodata._ZTIN5boost15program_options16validation_errorE[_ZTIN5boost15program_options16validation_errorE]+0x8): undefined reference to `typeinfo for boost::program_options::error_with_option_name' collect2: error: ld returned 1 exit status It seems I use wrong boost version, can someone tell me which boost version I should use ? # uname -a Linux 3.5.0-21-generic #32-Ubuntu SMP Tue Dec 11 18:52:46 UTC 2012 i686 athlon i686 GNU/Linux The gcc version is 4.7.2. Thanks in advance. BR, DeltaY _______________________________________________ Pdns-dev mailing list Pdns-dev@mailman.powerdns.com http://mailman.powerdns.com/mailman/listinfo/pdns-dev