g++ -o harvest2 harvest2.o syntax_tree.o dictionary_sri.o -O3 -L/export/data/falva/srilm-1.7.1/lib/i686-m64 -loolm -lmisc -ldstruct -lz -fopenmp -L/usr/lib64 -lboost_regex -lboost_program_options -lm harvest2.o: In function `main': harvest2.cc:(.text+0x5e54): undefined reference to `boost::program_options::options_description::options_description(std::basic_string, std::allocator > const&, unsigned int, unsigned int)' harvest2.o: In function `boost::program_options::validation_error::validation_error(boost::program_options::validation_error::kind_t, std::basic_string, std::allocator > const&, std::basic_string, std::allocator > const&, int)': harvest2.cc:(.text._ZN5boost15program_options16validation_errorC2ENS1_6kind_tERKSsS4_i[_ZN5boost15program_options16validation_errorC5ENS1_6kind_tERKSsS4_i]+0x34): undefined reference to `boost::program_options::validation_error::get_template(boost::program_options::validation_error::kind_t)' harvest2.cc:(.text._ZN5boost15program_options16validation_errorC2ENS1_6kind_tERKSsS4_i[_ZN5boost15program_options16validation_errorC5ENS1_6kind_tERKSsS4_i]+0x4a): undefined reference to `boost::program_options::error_with_option_name::error_with_option_name(std::basic_string, std::allocator > const&, std::basic_string, std::allocator > const&, std::basic_string, std::allocator > const&, int)' harvest2.o: In function `boost::program_options::error_with_option_name::~error_with_option_name()': harvest2.cc:(.text._ZN5boost15program_options22error_with_option_nameD2Ev[_ZN5boost15program_options22error_with_option_nameD5Ev]+0x19): undefined reference to `vtable for boost::program_options::error_with_option_name' harvest2.o: In function `boost::program_options::validation_error::validation_error(boost::program_options::validation_error const&)': harvest2.cc:(.text._ZN5boost15program_options16validation_errorC2ERKS1_[_ZN5boost15program_options16validation_errorC5ERKS1_]+0x38): undefined reference to `vtable for boost::program_options::error_with_option_name' harvest2.o: In function `std::basic_string, std::allocator > const& boost::program_options::validators::get_single_string(std::vector, std::allocator >, std::allocator, std::allocator > > > const&, bool)': harvest2.cc:(.text._ZN5boost15program_options10validators17get_single_stringIcEERKSbIT_St11char_traitsIS3_ESaIS3_EERKSt6vectorIS7_SaIS7_EEb[std::basic_string, std::allocator > const& boost::program_options::validators::get_single_string(std::vector, std::allocator >, std::allocator, std::allocator > > > const&, bool)]+0xa0): undefined reference to `boost::program_options::validation_error::get_template(boost::program_options::validation_error::kind_t)' harvest2.cc:(.text._ZN5boost15program_options10validators17get_single_stringIcEERKSbIT_St11char_traitsIS3_ESaIS3_EERKSt6vectorIS7_SaIS7_EEb[std::basic_string, std::allocator > const& boost::program_options::validators::get_single_string(std::vector, std::allocator >, std::allocator, std::allocator > > > const&, bool)]+0xb4): undefined reference to `boost::program_options::error_with_option_name::error_with_option_name(std::basic_string, std::allocator > const&, std::basic_string, std::allocator > const&, std::basic_string, std::allocator > const&, int)' harvest2.o: In function `boost::program_options::basic_command_line_parser::run()': harvest2.cc:(.text._ZN5boost15program_options25basic_command_line_parserIcE3runEv[boost::program_options::basic_command_line_parser::run()]+0x22): undefined reference to `boost::program_options::detail::cmdline::get_canonical_option_prefix()' harvest2.o:(.rodata._ZTVN5boost15program_options16validation_errorE[vtable for boost::program_options::validation_error]+0x20): undefined reference to `boost::program_options::error_with_option_name::what() const' harvest2.o:(.rodata._ZTVN5boost15program_options16validation_errorE[vtable for boost::program_options::validation_error]+0x30): undefined reference to `boost::program_options::error_with_option_name::substitute_placeholders(std::basic_string, std::allocator > const&) const' harvest2.o:(.rodata._ZTIN5boost15program_options16validation_errorE[typeinfo for boost::program_options::validation_error]+0x10): undefined reference to `typeinfo for boost::program_options::error_with_option_name' harvest2.o:(.rodata._ZTVN5boost16exception_detail19error_info_injectorINS_15program_options16validation_errorEEE[vtable for boost::exception_detail::error_info_injector]+0x20): undefined reference to `boost::program_options::error_with_option_name::what() const' harvest2.o:(.rodata._ZTVN5boost16exception_detail19error_info_injectorINS_15program_options16validation_errorEEE[vtable for boost::exception_detail::error_info_injector]+0x30): undefined reference to `boost::program_options::error_with_option_name::substitute_placeholders(std::basic_string, std::allocator > const&) const' harvest2.o:(.rodata._ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_15program_options16validation_errorEEEEE[vtable for boost::exception_detail::clone_impl >]+0x28): undefined reference to `boost::program_options::error_with_option_name::what() const' harvest2.o:(.rodata._ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_15program_options16validation_errorEEEEE[vtable for boost::exception_detail::clone_impl >]+0x38): undefined reference to `boost::program_options::error_with_option_name::substitute_placeholders(std::basic_string, std::allocator > const&) const' harvest2.o:(.rodata._ZTVN5boost16exception_detail19error_info_injectorINS_15program_options20invalid_option_valueEEE[vtable for boost::exception_detail::error_info_injector]+0x20): undefined reference to `boost::program_options::error_with_option_name::what() const' harvest2.o:(.rodata._ZTVN5boost16exception_detail19error_info_injectorINS_15program_options20invalid_option_valueEEE[vtable for boost::exception_detail::error_info_injector]+0x30): undefined reference to `boost::program_options::error_with_option_name::substitute_placeholders(std::basic_string, std::allocator > const&) const' harvest2.o:(.rodata._ZTVN5boost15program_options20invalid_option_valueE[vtable for boost::program_options::invalid_option_value]+0x20): undefined reference to `boost::program_options::error_with_option_name::what() const' harvest2.o:(.rodata._ZTVN5boost15program_options20invalid_option_valueE[vtable for boost::program_options::invalid_option_value]+0x30): undefined reference to `boost::program_options::error_with_option_name::substitute_placeholders(std::basic_string, std::allocator > const&) const' harvest2.o:(.rodata._ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_15program_options20invalid_option_valueEEEEE[vtable for boost::exception_detail::clone_impl >]+0x28): undefined reference to `boost::program_options::error_with_option_name::what() const' harvest2.o:(.rodata._ZTVN5boost16exception_detail10clone_implINS0_19error_info_injectorINS_15program_options20invalid_option_valueEEEEE[vtable for boost::exception_detail::clone_impl >]+0x38): undefined reference to `boost::program_options::error_with_option_name::substitute_placeholders(std::basic_string, std::allocator > const&) const' collect2: ld returned 1 exit status make: *** [harvest2] Error 1