Skip to content

Instantly share code, notes, and snippets.

@spolu
Created December 16, 2014 19:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save spolu/916b8a581ede4e126483 to your computer and use it in GitHub Desktop.
Save spolu/916b8a581ede4e126483 to your computer and use it in GitHub Desktop.
//usr/local/lib/libxdrpp.a(marshal.o): In function `xdr::marshal_base::get_bytes(unsigned int const*&, void*, unsigned long)':
/home/spolu/src/stellar/xdrpp/xdrpp/marshal.cc:30: undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'
/home/spolu/src/stellar/xdrpp/xdrpp/marshal.cc:30: undefined reference to `std::runtime_error::runtime_error(std::string const&)'
//usr/local/lib/libxdrpp.a(marshal.o): In function `std::string::_M_rep() const':
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/basic_string.h:240: undefined reference to `std::string::_Rep::_S_empty_rep_storage'
/usr/bin/../lib/gcc/x86_64-linux-gnu/4.8/../../../../include/c++/4.8/bits/basic_string.h:249: undefined reference to `std::string::_Rep::_M_destroy(std::allocator<char> const&)'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment