[openssl-users] OpenSSL 1.0.2.f undefined reference: _Stoul

Craig_Weeks at trendmicro.com Craig_Weeks at trendmicro.com
Fri Oct 14 20:17:02 UTC 2016


We are integrating 1.0.2f into a single product that is built for a Pentium-based platform and a Mips-based platform, both running on VxWorks.  The Pentium-based version compiles and links without error.  But the Mips-based version fails with undefined references to _Stoul.  If I search the 2 libcrypto.a files for 'toul' I see this:

Mips-based:
nm vendor/openssl/62/install/lib/libcrypto.a | grep -i toul
         U _Stoul
         U _Stoul
         U _Stoul
         U _Stoul
         U _Stoul
         U _Stoul
         U _Stoul
         U _Stoul
         U _Stoul

Pentium-based:
nm vendor/openssl/69/install/lib/libcrypto.a | grep -i toul
         U strtoul
         U strtoul
         U strtoul

What can I do to get libcrypto.a to reference a function that will actually be resolved by the library files I use?

Craig Weeks | Senior Software Engineer, Support Response Team (SRT)

craig_weeks at trendmicro.com

14231 Tandem Blvd, Austin TX 78728

www.trendmicro.com

<table class="TM_EMAIL_NOTICE"><tr><td><pre>
TREND MICRO EMAIL NOTICE
The information contained in this email and any attachments is confidential 
and may be subject to copyright or other intellectual property protection. 
If you are not the intended recipient, you are not authorized to use or 
disclose this information, and we request that you notify us by reply mail or
telephone and delete the original message from your mail system.
</pre></td></tr></table>



More information about the openssl-users mailing list