Undefined Reference to "bn_get_words()" and "bn_get_top()".

Kumar Mishra, Sanjeev Sanjeev.Kumar-Mishra at rbbn.com
Tue Jan 11 10:15:27 UTC 2022


Hi,
I am getting following linking Error for APIs "bn_get_words()" and "bn_get_top()" while compiling with OpenSSL 3.0. Although crypto/bn.h is included in file.
Please help to resolve it.
Regards,
Sanjeev


/bin/ld: warning: libssl.so.1.1, needed by /usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/libcurl.so, may conflict with libssl.so.3
/bin/ld: warning: libcrypto.so.1.1, needed by /usr/lib/gcc/x86_64-linux-gnu/8/../../../x86_64-linux-gnu/libcurl.so, may conflict with libcrypto.so.3
/bin/ld: /sonus/p4/ws/skumarmishra/openssl3_howard/orca/dist/libs/db64/libdrm.a(DrmDebugUtils.o): in function `DrmDbgNitroxCmd(int, char**, CLI_CMD_STR*, void*)':
/sonus/p4/ws/skumarmishra/openssl3_howard/orca/drm/lib/src/DrmDebugUtils.c:5704: undefined reference to `bn_get_words(bignum_st const*)'
/bin/ld: /sonus/p4/ws/skumarmishra/openssl3_howard/orca/drm/lib/src/DrmDebugUtils.c:5705: undefined reference to `bn_get_words(bignum_st const*)'
/bin/ld: /sonus/p4/ws/skumarmishra/openssl3_howard/orca/drm/lib/src/DrmDebugUtils.c:5708: undefined reference to `bn_get_top(bignum_st const*)'
/bin/ld: /sonus/p4/ws/skumarmishra/openssl3_howard/orca/drm/lib/src/DrmDebugUtils.c:5708: undefined reference to `bn_get_top(bignum_st const*)'
/bin/ld: /sonus/p4/ws/skumarmishra/openssl3_howard/orca/drm/lib/src/DrmDebugUtils.c:5709: undefined reference to `bn_get_top(bignum_st const*)'
/bin/ld: /sonus/p4/ws/skumarmishra/openssl3_howard/orca/drm/lib/src/DrmDebugUtils.c:5709: undefined reference to `bn_get_top(bignum_st const*)'
collect2: error: ld returned 1 exit status
gmake[1]: *** [/sonus/p4/ws/shared/cmn_thirdparty.buster_openssl3/ACE/ACE_wrappers/include/makeinclude/rules.bin.GNU:54: db64/PrsProcess] Error 1
gmake[1]: Target 'all' not remade because of errors.
gmake[1]: Leaving directory '/sonus/p4/ws/skumarmishra/openssl3_howard/orca/prs/proc/src'
gmake: *** [Makefile:23: orca] Error 2
gmake: Target 'all' not remade because of errors.

Notice: This e-mail together with any attachments may contain information of Ribbon Communications Inc. and its Affiliates that is confidential and/or proprietary for the sole use of the intended recipient. Any review, disclosure, reliance or distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, please notify the sender immediately and then delete all copies, including any attachments.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mta.openssl.org/pipermail/openssl-users/attachments/20220111/27430203/attachment.htm>


More information about the openssl-users mailing list