Skip to content

Changing the BOOST_URL leads to linking error #89

@Weiming-Hu

Description

@Weiming-Hu

Due to the recurrent issue #88, I'm trying to use an alternative BOOST_URL from ``.

But after I changed the URL and recompile my code, the following linking errors appear:

"boost::filesystem::emit_error(int, boost::system::error_code*, char const*)", referenced from:
      boost::filesystem::error(int, boost::system::error_code*, char const*) in libboost_filesystem.a(operations.cpp.o)
  "boost::filesystem::emit_error(int, boost::filesystem::path const&, boost::system::error_code*, char const*)", referenced from:
      boost::filesystem::error(int, boost::filesystem::path const&, boost::system::error_code*, char const*) in libboost_filesystem.a(operations.cpp.o)
  "boost::filesystem::emit_error(int, boost::filesystem::path const&, boost::filesystem::path const&, boost::system::error_code*, char const*)", referenced from:
      boost::filesystem::error(int, boost::filesystem::path const&, boost::filesystem::path const&, boost::system::error_code*, char const*) in libboost_filesystem.a(operations.cpp.o)
  "boost::filesystem::filesystem_error::filesystem_error(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, boost::system::error_code)", referenced from:
      boost::filesystem::detail::current_path(boost::system::error_code*) in libboost_filesystem.a(operations.cpp.o)
  "boost::filesystem::filesystem_error::filesystem_error(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, boost::filesystem::path const&, boost::system::error_code)", referenced from:
      boost::filesystem::detail::canonical(boost::filesystem::path const&, boost::filesystem::path const&, boost::system::error_code*) in libboost_filesystem.a(operations.cpp.o)
      boost::filesystem::detail::symlink_status(boost::filesystem::path const&, boost::system::error_code*) in libboost_filesystem.a(operations.cpp.o)
      boost::filesystem::detail::read_symlink(boost::filesystem::path const&, boost::system::error_code*) in libboost_filesystem.a(operations.cpp.o)
      boost::filesystem::detail::create_directories(boost::filesystem::path const&, boost::system::error_code*) in libboost_filesystem.a(operations.cpp.o)
      boost::filesystem::detail::create_directory(boost::filesystem::path const&, boost::system::error_code*) in libboost_filesystem.a(operations.cpp.o)
      boost::filesystem::detail::permissions(boost::filesystem::path const&, boost::filesystem::perms, boost::system::error_code*) in libboost_filesystem.a(operations.cpp.o)
      boost::filesystem::detail::status(boost::filesystem::path const&, boost::system::error_code*) in libboost_filesystem.a(operations.cpp.o)
      ...
  "boost::filesystem::filesystem_error::filesystem_error(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, boost::filesystem::path const&, boost::filesystem::path const&, boost::system::error_code)", referenced from:
      boost::filesystem::detail::copy(boost::filesystem::path const&, boost::filesystem::path const&, boost::system::error_code*) in libboost_filesystem.a(operations.cpp.o)
  "boost::filesystem::filesystem_error::~filesystem_error()", referenced from:
      boost::filesystem::detail::canonical(boost::filesystem::path const&, boost::filesystem::path const&, boost::system::error_code*) in libboost_filesystem.a(operations.cpp.o)
      boost::filesystem::detail::symlink_status(boost::filesystem::path const&, boost::system::error_code*) in libboost_filesystem.a(operations.cpp.o)
      boost::filesystem::detail::read_symlink(boost::filesystem::path const&, boost::system::error_code*) in libboost_filesystem.a(operations.cpp.o)
      boost::filesystem::detail::copy(boost::filesystem::path const&, boost::filesystem::path const&, boost::system::error_code*) in libboost_filesystem.a(operations.cpp.o)
      boost::filesystem::detail::create_directories(boost::filesystem::path const&, boost::system::error_code*) in libboost_filesystem.a(operations.cpp.o)
      boost::filesystem::detail::create_directory(boost::filesystem::path const&, boost::system::error_code*) in libboost_filesystem.a(operations.cpp.o)
      boost::filesystem::detail::current_path(boost::system::error_code*) in libboost_filesystem.a(operations.cpp.o)
      ...
  "boost::filesystem::detail::dir_itr_close(void*&, void*&)", referenced from:
      boost::filesystem::detail::dir_itr_imp::~dir_itr_imp() in libAnEnIO.a(FunctionsIO.cpp.o)
      boost::filesystem::detail::dir_itr_imp::~dir_itr_imp() in libboost_filesystem.a(operations.cpp.o)
  "boost::filesystem::detail::directory_iterator_construct(boost::filesystem::directory_iterator&, boost::filesystem::path const&, unsigned int, boost::system::error_code*)", referenced from:
      boost::filesystem::directory_iterator::directory_iterator(boost::filesystem::path const&, boost::filesystem::directory_options) in libAnEnIO.a(FunctionsIO.cpp.o)
      boost::filesystem::directory_iterator::directory_iterator(boost::filesystem::path const&, boost::system::error_code&) in libboost_filesystem.a(operations.cpp.o)
      boost::filesystem::directory_iterator::directory_iterator(boost::filesystem::path const&, boost::filesystem::directory_options::enum_type) in libboost_filesystem.a(operations.cpp.o)
  "boost::filesystem::detail::directory_iterator_increment(boost::filesystem::directory_iterator&, boost::system::error_code*)", referenced from:
      boost::filesystem::directory_iterator::increment() in libAnEnIO.a(FunctionsIO.cpp.o)
      boost::filesystem::detail::(anonymous namespace)::remove_all_aux(boost::filesystem::path const&, boost::filesystem::file_type, boost::system::error_code*) in libboost_filesystem.a(operations.cpp.o)
  "boost::filesystem::directory_entry::get_status(boost::system::error_code*) const", referenced from:
      boost::filesystem::directory_entry::status() const in libAnEnIO.a(FunctionsIO.cpp.o)
  "typeinfo for boost::filesystem::filesystem_error", referenced from:
      boost::filesystem::detail::canonical(boost::filesystem::path const&, boost::filesystem::path const&, boost::system::error_code*) in libboost_filesystem.a(operations.cpp.o)
      boost::filesystem::detail::symlink_status(boost::filesystem::path const&, boost::system::error_code*) in libboost_filesystem.a(operations.cpp.o)
      boost::filesystem::detail::read_symlink(boost::filesystem::path const&, boost::system::error_code*) in libboost_filesystem.a(operations.cpp.o)
      boost::filesystem::detail::copy(boost::filesystem::path const&, boost::filesystem::path const&, boost::system::error_code*) in libboost_filesystem.a(operations.cpp.o)
      boost::filesystem::detail::create_directories(boost::filesystem::path const&, boost::system::error_code*) in libboost_filesystem.a(operations.cpp.o)
      boost::filesystem::detail::create_directory(boost::filesystem::path const&, boost::system::error_code*) in libboost_filesystem.a(operations.cpp.o)
      boost::filesystem::detail::current_path(boost::system::error_code*) in libboost_filesystem.a(operations.cpp.o)

This is how I'm using this module. You won't see the code where I change BOOST_URL because that is still local. Everything was working well when I don't change the URL (well, as for now, since the Boost mirror is down, the downloading won't go through).

Please advice. Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions