<font size=2 face="sans-serif">Dear colleagues,</font>
<br>
<br><font size=2 face="sans-serif"> I'm compiling an Erlang  environment
under the SUSE SLES 11 SP1 on a S390 platform building it from the source.
I'm facing an error condition when adding the support for OpenSSL and Erlang
"crypto" support using the following configuration: </font>
<br>
<br><font size=2 face="sans-serif">.</font><tt><font size=2>/configure
--with-ssl --with-ssl=/usr/lib64/openssl</font></tt>
<br>
<br><font size=2 face="sans-serif">The configure completes normal, but
the subsequent "make" step throws a sequence of errors like this:
</font>
<br><font size=2 face="sans-serif">.. </font>
<br><tt><font size=2>crypto.c: In function âhmac_md5â:</font></tt>
<br><tt><font size=2>crypto.c:1713: error: âMD5_CTXâ undeclared (first
use in this function)</font></tt>
<br><tt><font size=2>crypto.c:1713: error: expected â;â before âctxâ</font></tt>
<br><tt><font size=2>crypto.c:1714: warning: ISO C90 forbids mixed declarations
and code</font></tt>
<br><tt><font size=2>crypto.c:1737: error: âctxâ undeclared (first use
in this function)</font></tt>
<br><tt><font size=2>crypto.c: In function âhmac_sha1â:</font></tt>
<br><tt><font size=2>crypto.c:1752: error: âSHA_CTXâ undeclared (first
use in this function)</font></tt>
<br><tt><font size=2>crypto.c:1752: error: expected â;â before âctxâ</font></tt>
<br><tt><font size=2>crypto.c:1753: warning: ISO C90 forbids mixed declarations
and code</font></tt>
<br><tt><font size=2>crypto.c:1776: error: âctxâ undeclared (first use
in this function)</font></tt>
<br><tt><font size=2>make[4]: *** [../priv/obj/s390x-ibm-linux-gnu/crypto.o]
Error 1</font></tt>
<br><tt><font size=2>make[4]: Leaving directory `/opt/erlang/otp_src_R14B03/lib/crypto/c_src'</font></tt>
<br><tt><font size=2>make[3]: *** [opt] Error 2</font></tt>
<br><tt><font size=2>make[3]: Leaving directory `/opt/erlang/otp_src_R14B03/lib/crypto/c_src'</font></tt>
<br><tt><font size=2>make[2]: *** [opt] Error 2</font></tt>
<br><tt><font size=2>make[2]: Leaving directory `/opt/erlang/otp_src_R14B03/lib/crypto'</font></tt>
<br><tt><font size=2>make[1]: *** [opt] Error 2</font></tt>
<br><tt><font size=2>make[1]: Leaving directory `/opt/erlang/otp_src_R14B03/lib'</font></tt>
<br><tt><font size=2>make: *** [libs] Error 2</font></tt>
<br><tt><font size=2>..</font></tt>
<br>
<br><font size=2 face="sans-serif"> Without OpenSSL support, the Erlang
package compiles successfully and I've tested it with the console prompt.
</font>
<br><font size=2 face="sans-serif">Thanks in advance for your hints how
to fix this issue with the crypto module. </font>
<br><font size=2 face="sans-serif">  </font>
<br><font size=2 face="sans-serif">Regards, </font>
<br><font size=2 face="sans-serif">Claude </font>
<br><font size=2 face="sans-serif"><br>
</font><font size=1 color=#a2a2a2 face="Arial"><b><br>
Claude Falbriard <br>
Certified IT Specialist L2 - Middleware<br>
AMS Hortolândia / SP - Brazil<br>
phone:    +55 19 9837 0789<br>
cell:         +55 13 8117 3316<br>
e-mail:    claudef@br.ibm.com<br>
</b></font>