<div dir="ltr"><div dir="ltr"><div dir="ltr"><div><div><div><div>Hi, all. Thanks for your help, I could finish compilation to the end. </div><div>However, athough I successfully compiled with _no-asm_ options, I found a problem when loading the compiled library in the 3rd party code base.</div></div></div></div><div>When looking into the source code, the definition of some function seems to require a specific preprocessor to be compiled. </div><div>(For example, PEM_write_bio_DSAPrivateKey needs '#define OPENSSL_FIPS'.)</div><div>I installed <i style="font-weight:bold">openssl-1.0.2r.tar.gz </i>and only provided <b><i>no-asm</i></b> for configuration.</div><div>Am I missing some dependencies or necessary options?</div><div>The error I'm facing is as follows:</div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px"><div><div><div><div><br></div></div></div></div><div><div><div><div>error: undefined symbol: AES_ctr128_encrypt</div></div></div></div><div><div><div><div>warning: To disable errors for undefined symbols use `-s ERROR_ON_UNDEFINED_SYMBOLS=0`</div></div></div></div><div><div><div><div>error: undefined symbol: AES_set_encrypt_key</div></div></div></div><div><div><div><div>error: undefined symbol: BIO_ctrl</div></div></div></div><div><div><div><div>error: undefined symbol: BIO_free</div></div></div></div><div><div><div><div>error: undefined symbol: BIO_new</div></div></div></div><div><div><div><div>error: undefined symbol: BIO_s_mem</div></div></div></div><div><div><div><div>error: undefined symbol: BN_bn2bin</div></div></div></div><div><div><div><div>error: undefined symbol: BN_free</div></div></div></div><div><div><div><div>error: undefined symbol: BN_is_bit_set</div></div></div></div><div><div><div><div>error: undefined symbol: BN_new</div></div></div></div><div><div><div><div>error: undefined symbol: BN_num_bits</div></div></div></div><div><div><div><div>error: undefined symbol: BN_set_word</div></div></div></div><div><div><div><div>error: undefined symbol: CRYPTO_free</div></div></div></div><div><div><div><div>error: undefined symbol: CRYPTO_malloc</div></div></div></div><div><div><div><div>error: undefined symbol: DSA_free</div></div></div></div><div><div><div><div>error: undefined symbol: DSA_generate_key</div></div></div></div><div><div><div><div>error: undefined symbol: DSA_generate_parameters_ex</div></div></div></div><div><div><div><div>error: undefined symbol: DSA_new</div></div></div></div><div><div><div><div>error: undefined symbol: EC_KEY_free</div></div></div></div><div><div><div><div>error: undefined symbol: EC_KEY_generate_key</div></div></div></div><div><div><div><div>error: undefined symbol: EC_KEY_get0_group</div></div></div></div><div><div><div><div>error: undefined symbol: EC_KEY_get0_public_key</div></div></div></div><div><div><div><div>error: undefined symbol: EC_KEY_new_by_curve_name</div></div></div></div><div><div><div><div>error: undefined symbol: EC_KEY_set_asn1_flag</div></div></div></div><div><div><div><div>error: undefined symbol: EC_POINT_point2oct</div></div></div></div></blockquote></div></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div dir="ltr"><div dir="ltr"><div>....</div><div><br></div></div></div></blockquote>Any advice would be a great help!<div>Thank you.</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, May 9, 2019 at 10:43 PM Dr Paul Dale <<a href="mailto:paul.dale@oracle.com">paul.dale@oracle.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;">Configure with the _no-asm_ option.<div><br></div><div>It will be a **lot** slower.</div><div><br></div><div><br></div><div>Pauli</div><div><div>
<div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none">-- <br>Dr Paul Dale | Cryptographer | Network Security & Encryption <br>Phone +61 7 3031 7217<br>Oracle Australia</div><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><br></div><br class="gmail-m_4111684997211625042Apple-interchange-newline">
</div>

<div><br><blockquote type="cite"><div>On 10 May 2019, at 3:33 pm, Sunghyun Park <<a href="mailto:sunggg@umich.edu" target="_blank">sunggg@umich.edu</a>> wrote:</div><br class="gmail-m_4111684997211625042Apple-interchange-newline"><div><div dir="ltr"><div>Nice to meet you all :)</div><div><br></div><div>I faced a problem while building assembly code in OpenSSL (e.g., crypto/x86_64cpuid.s) with Emscripten. </div><div>Since Emscripten does not support compilation for assembly code (As far as I know), I'm wondering if there is any version of OpenSSL that does not require compiling assembly code.</div><div>Or, if there is anyone who experienced the similar problem, please share your experience. </div><div><br></div><div>Thank you!</div><div><br></div>-- <br><div dir="ltr" class="gmail-m_4111684997211625042gmail_signature"><div dir="ltr"><div><div dir="ltr">Best, Sung<br></div></div></div></div></div>
</div></blockquote></div><br></div></div></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr">Best, Sung<br></div></div></div></div>