Any errors you can share with us?

S pozdravem * Mit freundlichen Grüßen * Sincerely,

Peter Ondruška

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of 
Magnus Persson
Sent: Tuesday, June 05, 2012 12:31 PM
To: IBM-MAIN@bama.ua.edu
Subject: Re: OpenSSL MAKE test problem.

Well, I tried it all, but still no luck.

It just won't work for me....

Hälsningar / Best regards,

Magnus Persson, Mainframe
Tieto 

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of 
Ondruška Peter
Sent: den 26 maj 2012 17:49
To: IBM-MAIN@bama.ua.edu
Subject: Re: OpenSSL MAKE test problem.

This is my step by step to build OpenSSL under z/OS UNIX System Services:

Get GNU Make from 
http://www-03.ibm.com/systems/z/os/zos/features/unix/library/IBM+Redbooks/index.html.
 I have GNU Make installed in $HOME/oss.

Patch some files before building:

patch Configure << EOF
514a515
> "OS/390","c99_x:-O -DB_ENDIAN -DCHARSET_EBCDIC -DNO_SYS_PARAM_H 
> -D_ALL_SOURCE::(unknown):::THIRTY_TWO_BIT DES_PTR DES_UNROLL MD2_CHAR 
> RC4_INDEX RC4_CHAR BF_PTR:::",
EOF

patch crypto/bio/b_sock.c << EOF
101a102,109
> #ifndef NI_MAXSERV
> #define NI_MAXSERV 32
> #endif
>
> #ifndef NI_MAXHOST
> #define NI_MAXHOST 1025
> #endif
>
EOF

patch apps/Makefile << EOF
27,30c27,30
< DLIBCRYPTO=../libcrypto.a
< DLIBSSL=../libssl.a
< LIBCRYPTO=-L.. -lcrypto
< LIBSSL=-L.. -lssl
---
> #DLIBCRYPTO=../libcrypto.a
> #DLIBSSL=../libssl.a
> LIBCRYPTO=../libcrypto.a
> LIBSSL=../libssl.a
EOF

patch test/Makefile << EOF
26,29c26,29
< DLIBCRYPTO= ../libcrypto.a
< DLIBSSL= ../libssl.a
< LIBCRYPTO= -L.. -lcrypto
< LIBSSL= -L.. -lssl
---
> #DLIBCRYPTO= ../libcrypto.a
> #DLIBSSL= ../libssl.a
> LIBCRYPTO=../libcrypto.a
> LIBSSL=../libssl.a
EOF

Set environment and build (and have a cup of coffee/tea/...):

export PATH=$HOME/oss/bin:/usr/lpp/cbclib/xlc/bin:$PATH
export MAKE=gmake

chmod +x tools/*

./Configure \
--prefix=$HOME/oss \
no-asm \
no-krb5 \
OS/390



S pozdravem * Mit freundlichen Grüßen * Sincerely,

Peter Ondruška

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of 
Magnus Persson
Sent: Friday, May 25, 2012 9:42 AM
To: IBM-MAIN@bama.ua.edu
Subject: Re: OpenSSL MAKE test problem.

Hi.

I've managed to run the MAKE with c99_x now, but I still get this 0C4 abend in 
MAKE test.

Is there anybody who can give me a pointer on where to start looking, I'm all 
out of ideas.

Hälsningar / Best regards,

Magnus Persson, Mainframe
Tieto 


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of 
Magnus Persson
Sent: den 14 maj 2012 15:02
To: IBM-MAIN@bama.ua.edu
Subject: OpenSSL MAKE test problem.

Hi.

Is there anybody out there who has runned the MAKE TEST of OpenSSL succefully?

When I try it I end up with a 0C4 ABEND:

ÅMAKE TEST

cfb64 idea ok
../util/shlib_wrap.sh ./shatest
CEE3204S The system detected a protection exception (System Completion 
Code=0C4) .
         From entry point _openssl_ebcdic2ascii at compile unit offset 
+0000007C  at entry offset +0000007C at address
         0E10AA04.
gmakeÝ1¨: *** Ýtest_sha¨ Segmentation fault
gmakeÝ1¨: Leaving directory é/tc/openssl/openssl-1.0.1b/test'
gmake: *** Ýtests¨ Error 2

Anybody with any ideas? I will start looking at the dump first thing tomorrow...

Br.Magnus Persson

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@bama.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@bama.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@bama.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN

Reply via email to