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

Brpc cannot link on Ubuntu LTS 16.04 #13

Closed
beenchaos opened this issue Sep 18, 2017 · 1 comment
Closed

Brpc cannot link on Ubuntu LTS 16.04 #13

beenchaos opened this issue Sep 18, 2017 · 1 comment

Comments

@beenchaos
Copy link

Linking echo_client
../..//output/lib/libbrpc.a(channel.o): In function std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > butil::class_name_str<brpc::Describable>(brpc::Describable const&)': /home/brpc/brpc/./src/butil/class_name.h:52: undefined reference to butil::demangle(char const*)'
../..//output/lib/libbrpc.a(load_balancer.o): In function std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > butil::class_name_str<brpc::NonConstDescribable>(brpc::NonConstDescribable const&)': /home/brpc/brpc/./src/butil/class_name.h:52: undefined reference to butil::demangle(char const*)'
/home/brpc/brpc/./src/butil/class_name.h:52: undefined reference to butil::demangle(char const*)' ../..//output/lib/libbrpc.a(socket.o): In function std::__cxx11::basic_string<char, std::char_traits, std::allocator > butil::class_name_strbrpc::Describable(brpc::Describable const&)':
/home/brpc/brpc/./src/butil/class_name.h:52: undefined reference to butil::demangle(char const*)' ../..//output/lib/libbrpc.a(socket.o): In function std::__cxx11::basic_string<char, std::char_traits, std::allocator > butil::class_name_strbrpc::SocketUser(brpc::SocketUser const&)':
/home/brpc/brpc/./src/butil/class_name.h:52: undefined reference to butil::demangle(char const*)' ../..//output/lib/libbrpc.a(socket.o):/home/brpc/brpc/./src/butil/class_name.h:52: more undefined references to butil::demangle(char const*)' follow
collect2: error: ld returned 1 exit status
Makefile:34: recipe for target 'echo_client' failed
make: *** [echo_client] Error 1

@chenzhangyi
Copy link
Member

Looks like it's duplicated with #6. Please try update brpc.

@zgb40302 zgb40302 mentioned this issue Dec 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants