Jump to content
Sign in to follow this  
Lunohod

Нужна помощь компиляция

Recommended Posts

такая ошибка на 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

Share this post


Link to post
Share on other sites

Может быть, вы обновите компилятор вот почему. Удалите его снова, затем переустановите версию, которую предлагает rAthena

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.