Lunohod Posted February 8, 2020 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 41 Reputation: 1 Joined: 01/29/16 Last Seen: April 23, 2023 Share Posted February 8, 2020 такая ошибка на Centos 7 при компиляции сервера он у меня работал год назад obj/inter.o: In function `yaml_invalid_warning(char const*, YAML::Node&, std::string&)': /root/rathena/src/char/inter.cpp:842: undefined reference to `YAML::Emitter::Emitter()' /root/rathena/src/char/inter.cpp:843: undefined reference to `YAML::operator<<(YAML::Emitter&, YAML::Node const&)' /root/rathena/src/char/inter.cpp:845: undefined reference to `YAML::Emitter::c_str() const' /root/rathena/src/char/inter.cpp:845: undefined reference to `YAML::Emitter::~Emitter()' /root/rathena/src/char/inter.cpp:845: undefined reference to `YAML::Emitter::~Emitter()' obj/inter.o: In function `inter_config_readConf()': /root/rathena/src/char/inter.cpp:861: undefined reference to `YAML::LoadFile(std::string const&)' obj/inter.o: In function `YAML::detail::node_ref::begin()': /usr/include/yaml-cpp/node/detail/node_ref.h:41: undefined reference to `YAML::detail::node_data::begin()' obj/inter.o: In function `YAML::detail::node_ref::end()': /usr/include/yaml-cpp/node/detail/node_ref.h:44: undefined reference to `YAML::detail::node_data::end()' obj/inter.o: In function `YAML::detail::memory_holder::create_node()': /usr/include/yaml-cpp/node/detail/memory.h:30: undefined reference to `YAML::detail::memory::create_node()' obj/inter.o: In function `YAML::detail::node_ref::set_null()': /usr/include/yaml-cpp/node/detail/node_ref.h:34: undefined reference to `YAML::detail::node_data::set_null()' obj/inter.o: In function `YAML::Node::AssignNode(YAML::Node const&)': /usr/include/yaml-cpp/node/impl.h:270: undefined reference to `YAML::detail::memory_holder::merge(YAML::detail::memory_holder&)' obj/inter.o: In function `YAML::detail::node_ref::mark_defined()': /usr/include/yaml-cpp/node/detail/node_ref.h:29: undefined reference to `YAML::detail::node_data::mark_defined()' /usr/include/yaml-cpp/node/detail/node_ref.h:29: undefined reference to `YAML::detail::node_data::mark_defined()' /usr/include/yaml-cpp/node/detail/node_ref.h:29: undefined reference to `YAML::detail::node_data::mark_defined()' /usr/include/yaml-cpp/node/detail/node_ref.h:29: undefined reference to `YAML::detail::node_data::mark_defined()' /usr/include/yaml-cpp/node/detail/node_ref.h:29: undefined reference to `YAML::detail::node_data::mark_defined()' obj/inter.o: In function `YAML::detail::memory_holder::create_node()': /usr/include/yaml-cpp/node/detail/memory.h:30: undefined reference to `YAML::detail::memory::create_node()' obj/inter.o: In function `YAML::detail::node_ref::set_null()': /usr/include/yaml-cpp/node/detail/node_ref.h:34: undefined reference to `YAML::detail::node_data::set_null()' obj/inter.o: In function `YAML::detail::memory_holder::create_node()': /usr/include/yaml-cpp/node/detail/memory.h:30: undefined reference to `YAML::detail::memory::create_node()' obj/inter.o: In function `YAML::detail::node_ref::set_scalar(std::string const&)': /usr/include/yaml-cpp/node/detail/node_ref.h:35: undefined reference to `YAML::detail::node_data::set_scalar(std::string const&)' obj/inter.o: In function `convert_to_node<std::basic_string<char> >': /usr/include/yaml-cpp/node/detail/impl.h:162: undefined reference to `YAML::detail::memory_holder::merge(YAML::detail::memory_holder&)' obj/inter.o: In function `YAML::detail::memory_holder::create_node()': /usr/include/yaml-cpp/node/detail/memory.h:30: undefined reference to `YAML::detail::memory::create_node()' obj/inter.o: In function `YAML::detail::node& YAML::detail::node_data::get<std::string>(std::string const&, boost::shared_ptr<YAML::detail::memory_holder>)': /usr/include/yaml-cpp/node/detail/impl.h:102: undefined reference to `YAML::detail::node_data::insert_map_pair(YAML::detail::node&, YAML::detail::node&)' /usr/include/yaml-cpp/node/detail/impl.h:89: undefined reference to `YAML::detail::node_data::convert_to_map(boost::shared_ptr<YAML::detail::memory_holder>)' obj/inter.o: In function `YAML::detail::memory_holder::create_node()': /usr/include/yaml-cpp/node/detail/memory.h:30: undefined reference to `YAML::detail::memory::create_node()' obj/inter.o: In function `YAML::detail::node_ref::set_null()': /usr/include/yaml-cpp/node/detail/node_ref.h:34: undefined reference to `YAML::detail::node_data::set_null()' obj/inter.o: In function `YAML::detail::memory_holder::create_node()': /usr/include/yaml-cpp/node/detail/memory.h:30: undefined reference to `YAML::detail::memory::create_node()' obj/inter.o: In function `YAML::detail::node_ref::set_null()': /usr/include/yaml-cpp/node/detail/node_ref.h:34: undefined reference to `YAML::detail::node_data::set_null()' obj/inter.o: In function `YAML::detail::memory_holder::create_node()': /usr/include/yaml-cpp/node/detail/memory.h:30: undefined reference to `YAML::detail::memory::create_node()' obj/inter.o: In function `YAML::detail::node_ref::set_null()': /usr/include/yaml-cpp/node/detail/node_ref.h:34: undefined reference to `YAML::detail::node_data::set_null()' obj/inter.o: In function `YAML::detail::memory_holder::create_node()': /usr/include/yaml-cpp/node/detail/memory.h:30: undefined reference to `YAML::detail::memory::create_node()' obj/inter.o: In function `YAML::detail::node_ref::set_null()': /usr/include/yaml-cpp/node/detail/node_ref.h:34: undefined reference to `YAML::detail::node_data::set_null()' obj/inter.o: In function `YAML::detail::memory_holder::create_node()': /usr/include/yaml-cpp/node/detail/memory.h:30: undefined reference to `YAML::detail::memory::create_node()' obj/inter.o: In function `YAML::detail::node_ref::set_null()': /usr/include/yaml-cpp/node/detail/node_ref.h:34: undefined reference to `YAML::detail::node_data::set_null()' obj/inter.o: In function `YAML::detail::memory_holder::create_node()': /usr/include/yaml-cpp/node/detail/memory.h:30: undefined reference to `YAML::detail::memory::create_node()' obj/inter.o: In function `YAML::detail::node_ref::set_null()': /usr/include/yaml-cpp/node/detail/node_ref.h:34: undefined reference to `YAML::detail::node_data::set_null()' collect2: error: ld returned 1 exit status Quote Link to comment Share on other sites More sharing options...
chatterboy Posted April 12, 2020 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 309 Reputation: 24 Joined: 11/26/12 Last Seen: November 22 Share Posted April 12, 2020 Может быть, вы обновите компилятор вот почему. Удалите его снова, затем переустановите версию, которую предлагает rAthena Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.