[erlang-questions] Issues with Erlang Build under SUSE SLES 11 SP 1 on S390

CGS cgsmcmlxxv@REDACTED
Thu Apr 26 15:03:59 CEST 2012


Hi,

I suppose you need to install OpenSSL-dev (from the error it looks like you
are missing some OpenSSL headers).

CGS





On Thu, Apr 26, 2012 at 2:17 PM, <claudef@REDACTED> wrote:

> Dear colleagues,
>
>  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:
>
> ./configure --with-ssl --with-ssl=/usr/lib64/openssl
>
> The configure completes normal, but the subsequent "make" step throws a
> sequence of errors like this:
> ..
> crypto.c: In function âhmac_md5â:
> crypto.c:1713: error: âMD5_CTXâ undeclared (first use in this function)
> crypto.c:1713: error: expected â;â before âctxâ
> crypto.c:1714: warning: ISO C90 forbids mixed declarations and code
> crypto.c:1737: error: âctxâ undeclared (first use in this function)
> crypto.c: In function âhmac_sha1â:
> crypto.c:1752: error: âSHA_CTXâ undeclared (first use in this function)
> crypto.c:1752: error: expected â;â before âctxâ
> crypto.c:1753: warning: ISO C90 forbids mixed declarations and code
> crypto.c:1776: error: âctxâ undeclared (first use in this function)
> make[4]: *** [../priv/obj/s390x-ibm-linux-gnu/crypto.o] Error 1
> make[4]: Leaving directory `/opt/erlang/otp_src_R14B03/lib/crypto/c_src'
> make[3]: *** [opt] Error 2
> make[3]: Leaving directory `/opt/erlang/otp_src_R14B03/lib/crypto/c_src'
> make[2]: *** [opt] Error 2
> make[2]: Leaving directory `/opt/erlang/otp_src_R14B03/lib/crypto'
> make[1]: *** [opt] Error 2
> make[1]: Leaving directory `/opt/erlang/otp_src_R14B03/lib'
> make: *** [libs] Error 2
> ..
>
>  Without OpenSSL support, the Erlang package compiles successfully and
> I've tested it with the console prompt.
> Thanks in advance for your hints how to fix this issue with the crypto
> module.
>
> Regards,
> Claude
>
> *
> Claude Falbriard
> Certified IT Specialist L2 - Middleware
> AMS Hortolândia / SP - Brazil
> phone:    +55 19 9837 0789
> cell:         +55 13 8117 3316
> e-mail:    claudef@REDACTED
> *
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20120426/49c9ec81/attachment.htm>


More information about the erlang-questions mailing list