[openssl.org #433] 0.9.7 compilation problem with Borland C++ 5.5
I'm trying to compile 0.9.7 with Borland C++ 5.5 and NASM 0.98.35 on Windows XP Professional SP1 with all updates. I did perl Configure BC-32 no-idea no-mdc2 no-rc5 ms\do_nasm make -f ms\bcb.mak It fails at: bcc32 -otmp32\x_all.obj -Iinc32 -Itmp32 -DWIN32_LEAN_AND_MEAN -q -w-aus -w-par -w-inl -c -tWC -tWM -DOPENSSL_SYSNAME_WIN32 -DL_ENDIAN -DDSO_WIN32 -D_stricmp=stricmp -O2 -ff -fp -DBN_ASM -DMD5_ASM -DSHA1_ASM -DRMD160_ASM -DOPENSSL_NO_IDEA -DOPENSSL_NO_RC5 -DOPENSSL_NO_MDC2 -DOPENSSL_NO_KRB5 -c .\crypto\x509\x_all.c .\crypto\x509\x_all.c: Error E2450 .\crypto\x509\x_all.c 72: Undefined structure 'ASN1_ITEM_st' in function X509_verify Error E2450 .\crypto\x509\x_all.c 72: Undefined structure 'ASN1_ITEM_st' in function X509_verify *** 2 errors in Compile *** ** error 1 ** deleting tmp32\x_all.obj -- 0@pervalidus.{net, dyndns.org} -- http://fastmail.fm - I mean, what is it about a decent email service? __ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
Re: [openssl.org #433] 0.9.7 compilation problem with Borland C++ 5.5
Just to inform you that 0.9.6h compiled with the same setup. I don't know if the following are serious: bcc32 -otmp32\c_zlib.obj -Iinc32 -Itmp32 -DWIN32_LEAN_AND_MEAN -q -w-aus -w-par -w-inl -c -tWC -tWM -DWINDOWS -DWIN32 -DL_ENDIAN -DDSO_WIN32 -O2 -ff -fp -DBN_ASM -DMD5_ASM -DSHA1_ASM -DRMD160_ASM -DNO_IDEA -DNO_RC5 -DNO_MDC2 -c .\crypto\comp\c_zlib.c .\crypto\comp\c_zlib.c: echo LIB 0 LIB 0 tlib /P64 out32\libeay32.lib -+tmp32\cryptlib.obj TLIB 4.5 Copyright (c) 1987, 1999 Inprise Corporation Warning: 'cryptlib' not found in library tlib /P64 out32\libeay32.lib -+tmp32\mem.obj TLIB 4.5 Copyright (c) 1987, 1999 Inprise Corporation Warning: 'mem' not found in library ... TLIB 4.5 Copyright (c) 1987, 1999 Inprise Corporation Warning: 'err_all' not found in library Warning: public '_ERR_load_crypto_strings' in module 'err_all' clashes with prior module 'cpt_err' tlib /P64 out32\libeay32.lib -+tmp32\err_prn.obj TLIB 4.5 Copyright (c) 1987, 1999 Inprise Corporation Warning: public '_ERR_load_crypto_strings' in module 'err_all' clashes with prior module 'cpt_err' bcc32 -otmp32\ssl_err.obj -Iinc32 -Itmp32 -DWIN32_LEAN_AND_MEAN -q -w-aus -w-par -w-inl -c -tWC -tWM -DWINDOWS -DWIN32 -DL_ENDIAN -DDSO_WIN32 -O2 -ff -fp -DBN_ASM -DMD5_ASM -DSHA1_ASM -DRMD160_ASM -DNO_IDEA -DNO_RC5 -DNO_MDC2 -c .\ssl\ssl_err.c .\ssl\ssl_err.c: echo LIB 0 LIB 0 tlib /P64 out32\ssleay32.lib -+tmp32\s2_meth.obj TLIB 4.5 Copyright (c) 1987, 1999 Inprise Corporation Warning: 's2_meth' not found in library tlib /P64 out32\ssleay32.lib -+tmp32\s2_srvr.obj TLIB 4.5 Copyright (c) 1987, 1999 Inprise Corporation Warning: 's2_srvr' not found in library ... -- 0@pervalidus.{net, dyndns.org} -- http://fastmail.fm - Accessible with your email software or over the web __ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
Re: [openssl.org #433] 0.9.7 compilation problem with Borland C++ 5.5
On Fri, 10 Jan 2003 21:27:56 +0100 (MET), "Lutz Jaenicke via RT" <[EMAIL PROTECTED]> said: > > [[EMAIL PROTECTED] - Fri Jan 3 06:45:12 2003]: > > > I'm trying to compile 0.9.7 with Borland C++ 5.5 and NASM 0.98.35 on > > Windows XP Professional SP1 with all updates. > > > > I did > > > > perl Configure BC-32 no-idea no-mdc2 no-rc5 > > ms\do_nasm > > make -f ms\bcb.mak > > > > It fails at: > > > > bcc32 -otmp32\x_all.obj -Iinc32 -Itmp32 -DWIN32_LEAN_AND_MEAN > -q > > -w-aus -w-par -w-inl -c -tWC -tWM -DOPENSSL_SYSNAME_WIN32 > > -DL_ENDIAN -DDSO_WIN32 -D_stricmp=stricmp -O2 -ff -fp > -DBN_ASM > > -DMD5_ASM -DSHA1_ASM -DRMD160_ASM -DOPENSSL_NO_IDEA > > -DOPENSSL_NO_RC5 -DOPENSSL_NO_MDC2 -DOPENSSL_NO_KRB5 -c > > .\crypto\x509\x_all.c > > .\crypto\x509\x_all.c: > > Error E2450 .\crypto\x509\x_all.c 72: Undefined structure > 'ASN1_ITEM_st' > > in function X509_verify > > Error E2450 .\crypto\x509\x_all.c 72: Undefined structure > 'ASN1_ITEM_st' > > in function X509_verify > > ASN1_ITEM_st was added in OpenSSL 0.9.7. It therefore seems, that > old header files are picked up. I tried 0.9.7 before succesfully compiling 0.9.6h. As Doug Kaufman suggested for some reason asn1t.h doesn't get included. I had to manually edit a dozen source files. I also have Cygwin in c:\cygwin, but my PATH shows: PATH=C:\usr\Perl\bin\;C:\usr\Borland\Bcc55\Bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem I really don't see how it could be including other headers if I did everything from g:\Linux\openssl-0.9.7. -- 0@pervalidus.{net, dyndns.org} -- http://fastmail.fm - And now for something completely different... __ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
[openssl.org #713] $(INSTALL_PREFIX)$(OPENSSLDIR)/lib
Makefile has $(INSTALL_PREFIX)$(INSTALLTOP)/lib and $(INSTALL_PREFIX)$(OPENSSLDIR)/lib If I use --prefix=/usr --openssldir=/etc/ssl I get all libraries in /usr/lib, but also an empty /etc/ssl/lib. The question is: What's the purpose of /etc/ssl/lib when the libraries are installed in another directory ? BTW, I'm very sorry for the late openssl.pc report I sent after 0.9.7c. I thought other people would report it but nobody seems to install snapshots with --prefix=/usr and use pkg-config :-) I noticed the following in my logs. From now on I'll always send it remotely. 2003-09-16 04:15:26 19zA3a-0006sh-JP <= [EMAIL PROTECTED] H=localhost[127.0.0.1] P=esmtp S=934 [EMAIL PROTECTED] 2003-09-16 04:15:31 19zA3a-0006sh-JP == [EMAIL PROTECTED] R=dnslookup T=remote_smtp defer (0): SMTP error from remote mailer after RCPT TO:<[EMAIL PROTECTED]>: host master.openssl.org [195.27.176.155]: 450 Client host rejected: cannot find your hostname, [200.141.117.37] And remotely: <[EMAIL PROTECTED]>: 195.27.176.155 does not like recipient. Remote host said: 450 Client host rejected: cannot find your hostname, [200.222.67.102] Giving up on 195.27.176.155. I'm not going to try again; this message has been in the queue too long. So, it's hard to send an e-mail with. Now using a webmail. I really think the openssl.pc problem may cause some trouble. Maybe it's even worth releasing a fixed tarball. -- [EMAIL PROTECTED], dyndns.org} -- http://www.fastmail.fm - Or how I learned to stop worrying and love email again __ OpenSSL Project http://www.openssl.org Development Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]