You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pegasus.apache.org by GitBox <gi...@apache.org> on 2021/10/13 10:31:14 UTC

[GitHub] [incubator-pegasus] Smityz opened a new issue #826: Can't build C++ client by tutorial

Smityz opened a new issue #826:
URL: https://github.com/apache/incubator-pegasus/issues/826


   ```
   ../lib/libpegasus_client_static.a(sasl_server_wrapper.cpp.o): In function `dsn::security::sasl_server_wrapper::start(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, dsn::blob const&, dsn::blob&)':
   /home/tangyanzhao/Code/pegasus/rdsn/src/runtime/security/sasl_server_wrapper.cpp:43: undefined reference to `dsn::fail::_S_FAIL_POINT_ENABLED'
   /home/tangyanzhao/Code/pegasus/rdsn/src/runtime/security/sasl_server_wrapper.cpp:51: undefined reference to `sasl_server_start'
   /home/tangyanzhao/Code/pegasus/rdsn/src/runtime/security/sasl_server_wrapper.cpp:43: undefined reference to `dsn::fail::eval[abi:cxx11](dsn::string_view)'
   /home/tangyanzhao/Code/pegasus/rdsn/src/runtime/security/sasl_server_wrapper.cpp:43: undefined reference to `dsn::error_code::try_get(char const*, dsn::error_code)'
   ../lib/libpegasus_client_static.a(sasl_server_wrapper.cpp.o): In function `dsn::security::sasl_server_wrapper::init()':
   /home/tangyanzhao/Code/pegasus/rdsn/src/runtime/security/sasl_server_wrapper.cpp:31: undefined reference to `dsn::fail::_S_FAIL_POINT_ENABLED'
   /home/tangyanzhao/Code/pegasus/rdsn/src/runtime/security/sasl_server_wrapper.cpp:37: undefined reference to `sasl_server_new'
   /home/tangyanzhao/Code/pegasus/rdsn/src/runtime/security/sasl_server_wrapper.cpp:31: undefined reference to `dsn::fail::eval[abi:cxx11](dsn::string_view)'
   /home/tangyanzhao/Code/pegasus/rdsn/src/runtime/security/sasl_server_wrapper.cpp:31: undefined reference to `dsn::error_code::try_get(char const*, dsn::error_code)'
   ../lib/libpegasus_client_static.a(sasl_server_wrapper.cpp.o): In function `dsn::security::sasl_server_wrapper::step(dsn::blob const&, dsn::blob&)':
   /home/tangyanzhao/Code/pegasus/rdsn/src/runtime/security/sasl_server_wrapper.cpp:59: undefined reference to `dsn::fail::_S_FAIL_POINT_ENABLED'
   /home/tangyanzhao/Code/pegasus/rdsn/src/runtime/security/sasl_server_wrapper.cpp:66: undefined reference to `sasl_server_step'
   /home/tangyanzhao/Code/pegasus/rdsn/src/runtime/security/sasl_server_wrapper.cpp:59: undefined reference to `dsn::fail::eval[abi:cxx11](dsn::string_view)'
   /home/tangyanzhao/Code/pegasus/rdsn/src/runtime/security/sasl_server_wrapper.cpp:59: undefined reference to `dsn::error_code::try_get(char const*, dsn::error_code)'
   ../lib/libpegasus_client_static.a(sasl_server_wrapper.cpp.o): In function `_GLOBAL__sub_I_sasl_server_wrapper.cpp':
   /home/tangyanzhao/Code/pegasus/rdsn/include/dsn/utility/error_code.h:132: undefined reference to `dsn::error_code::error_code(char const*)'
   /home/tangyanzhao/Code/pegasus/rdsn/include/dsn/utility/error_code.h:131: undefined reference to `dsn::error_code::error_code(char const*)'
   /home/tangyanzhao/Code/pegasus/rdsn/include/dsn/utility/error_code.h:130: undefined reference to `dsn::error_code::error_code(char const*)'
   /home/tangyanzhao/Code/pegasus/rdsn/include/dsn/utility/error_code.h:129: undefined reference to `dsn::error_code::error_code(char const*)'
   /home/tangyanzhao/Code/pegasus/rdsn/include/dsn/utility/error_code.h:128: undefined reference to `dsn::error_code::error_code(char const*)'
   ../lib/libpegasus_client_static.a(sasl_server_wrapper.cpp.o):/home/tangyanzhao/Code/pegasus/rdsn/include/dsn/utility/error_code.h:127: more undefined references to `dsn::error_code::error_code(char const*)' follow
   ../lib/libpegasus_client_static.a(builtin_counters.cpp.o): In function `dsn::builtin_counters::update_counters()':
   /home/tangyanzhao/Code/pegasus/rdsn/src/perf_counter/builtin_counters.cpp:44: undefined reference to `dsn::utils::process_mem_usage(double&, double&)'
   /home/tangyanzhao/Code/pegasus/rdsn/src/perf_counter/builtin_counters.cpp:49: undefined reference to `dsn_log_start_level'
   /home/tangyanzhao/Code/pegasus/rdsn/src/perf_counter/builtin_counters.cpp:49: undefined reference to `dsn_logf(char const*, char const*, int, dsn_log_level_t, char const*, ...)'
   collect2: error: ld returned 1 exit status
   make: *** [pegasus_cpp_sample] Error 1
   ```
   Can't build C++ client by tutorial in the https://pegasus.apache.org/clients/cpp-client
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pegasus.apache.org
For additional commands, e-mail: dev-help@pegasus.apache.org