You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brpc.apache.org by "ZhangChaoming (via GitHub)" <gi...@apache.org> on 2024/05/03 03:02:26 UTC

[I] brpc产物编译失败,链接的时候不对?? (brpc)

ZhangChaoming opened a new issue, #2631:
URL: https://github.com/apache/brpc/issues/2631

   ```
   /usr/bin/ld: /root/workspace/xxxx/third_party/brpc/src/brpc/policy/hasher.cpp:31: undefined reference to `MD5_Update'
   /usr/bin/ld: /root/workspace/xxxx/third_party/brpc/src/brpc/policy/hasher.cpp:32: undefined reference to `MD5_Final'
   /usr/bin/ld: /root/workspace/xxxx/lib/brpc/lib/libbrpc.a(hasher.cpp.o): in function `brpc::policy::MD5Hash32V(butil::BasicStringPiece<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > const*, unsigned long)':
   ```
   
   ``` 
   nm lib/brpc/lib/libbrpc.a | grep MD
                    U MD5
                    U _ZN4brpc6policy16MD5HashSignatureEPKvmPh
                    U _ZN4brpc6policy9MD5Hash32EPKvm
                    U MD5_Final
                    U MD5_Init
                    U MD5_Update
   00000000000000e0 T _ZN4brpc6policy10MD5Hash32VEPKN5butil16BasicStringPieceINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEm
   0000000000000070 T _ZN4brpc6policy16MD5HashSignatureEPKvmPh
   00000000000000c0 T _ZN4brpc6policy9MD5Hash32EPKvm
   ```
   


-- 
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@brpc.apache.org.apache.org

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


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


Re: [I] brpc产物编译失败,链接的时候不对?? (brpc)

Posted by "ZhangChaoming (via GitHub)" <gi...@apache.org>.
ZhangChaoming closed issue #2631: brpc产物编译失败,链接的时候不对??
URL: https://github.com/apache/brpc/issues/2631


-- 
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@brpc.apache.org

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


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