> From: openssl-users [mailto:openssl-users-bounces@xxxxxxxxxxx] On Behalf Of Thiagu Mohan > Sent: Tuesday, January 22, 2019 00:59 > > When i tried compiling openssl 1.0.2q for OS390-Unix i got sevaeral warning like below but > got the libraries libcrypto.a and libssl.a compiled > INFORMATIONAL CCN3764 /usr/include/signal.h:62 Option rent is ignored for variable __sigign > because pragma variable(NORENT) is specified. > INFORMATIONAL CCN3684 ./openssl.c:218 Exporting function main is not allowed. > INFORMATIONAL CCN3684 ./bntest.c:143 Exporting function main is not allowed. IEW2689W 4C40 > DEFINITION SIDE FILE IS NOT DEFINED. > FSUM3065 The LINKEDIT step ended with return code 4. None of those look relevant to your issue. The RENT (reentrant, if memory serves) option is specifically suppressed for __sigign by a pragma; that's probably done in the system header, so it's behaving as expected. For the openssl utility program and the test programs, you're getting diagnostics saying you can't export the main function - that's expected too. > But while building my project with these libraries i am getting lot of unresolved errors like > plink: error: symbol 'X509_SIG_it' from archive member "libcrypto.a(p12_asn.o)" is unresolved > plink: error: symbol 'PKCS12_AUTHSAFES_it' from archive member "libcrypto.a(p12_add.o)" is > unresolved Are you sure you're linking against the libraries you built, and not other copies elsewhere on the system? I did a quick scan through the 1.0.2n source (don't have 1.0.2q handy), and I don't see X509_SIG_it anywhere. There's X509_SIG, X509_SIG_new, and X509_SIG_free. Similarly, there's PKCS12_AUTHSAFES but no PKCS12_AUTHSAFES_it. It's possible those were introduced after 1.0.2n, though. My suggestion would be to scan all the generated .o files with nm to see where those symbols are being introduced (apparently they're at least in p12_asn.o and p12_add.o, but maybe elsewhere as well?). That will help narrow the problem down. -- Michael Wojcik Distinguished Engineer, Micro Focus -- openssl-users mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users