Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build break on Linux/CLang #15

Closed
evoskuil opened this issue Jan 6, 2015 · 2 comments
Closed

Build break on Linux/CLang #15

evoskuil opened this issue Jan 6, 2015 · 2 comments
Labels

Comments

@evoskuil
Copy link
Member

evoskuil commented Jan 6, 2015

CXXLD  bitcoin_server
src/bitcoin_server-config.o: In function `server::load_config(server::config_type&, boost::filesystem::path&)':
src/config.cpp:(.text+0x5b3): undefined reference to `libconfig::Setting::lookupValue(char const*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) const'
src/config.cpp:(.text+0x5c4): undefined reference to `libconfig::Setting::lookupValue(char const*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) const'
src/config.cpp:(.text+0x5d5): undefined reference to `libconfig::Setting::lookupValue(char const*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) const'
src/config.cpp:(.text+0x5e6): undefined reference to `libconfig::Setting::lookupValue(char const*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) const'
src/config.cpp:(.text+0x5f7): undefined reference to `libconfig::Setting::lookupValue(char const*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) const'
src/bitcoin_server-config.o:src/config.cpp:(.text+0x608): more undefined references to `libconfig::Setting::lookupValue(char const*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) const' follow
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [bitcoin_server] Error 1

OK on Linux/GCC, OSX/CLang and VC++.

@evoskuil evoskuil added the bug label Jan 6, 2015
@evoskuil
Copy link
Member Author

evoskuil commented Jan 6, 2015

This would be rendered moot by switching to boost::program_options, which we should do in any case.

@evoskuil
Copy link
Member Author

evoskuil commented Jan 8, 2015

This has been resolved by the change to stdlibc++ in linux/clang.

@evoskuil evoskuil closed this as completed Jan 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant