---"Ralf S. Engelschall" <[EMAIL PROTECTED]> wrote:
> OpenSSL today enters into source tree freeze state in order to be prepared for
> the forthcoming OpenSSL 0.9.2 release next Monday (March 15th). We'll now try
> to commit only bugfixes and cleanups until the release.
=============================================
Platform: WinNT Server 4 SP 4
Compiler: MickeySoft VC 5.0 SP 3.
Snapshot: openssl-SNAP-19990309-0930.tar.gz
=============================================
Issues:
All win32 makefiles seem to complain about "too many rules" for out32[dll].[dbg]:
>Microsoft (R) Program Maintenance Utility Version 1.62.7022
>Copyright (C) Microsoft Corp 1988-1997. All rights reserved.
>
> mkdir tmp32
>NMAKE : warning U4004: too many rules for target 'out32'
>NMAKE : warning U4004: too many rules for target 'out32'
> mkdir out32
> copy nul+ .\crypto\cryptlib.h tmp32\cryptlib.h
The NT LIB debug/release version compiles fine.
The NT DLL debug/release version is broken!!!:
> cl.exe /Fotmp32dll.dbg\c_zlib.obj -Iinc32 -Itmp32dll.dbg /MDd /W3 /WX /
>Zi /Yd /Od /nologo -DWINDOWS -DWIN32 -D_DEBUG -DL_ENDIAN -DWIN32_LEAN_AND_MEAN -
>DDEBUG -DWINNT /Fdout32dll /GD -D_WINDLL -D_DLL -c .\crypto\comp\c_zlib.c
>c_zlib.c
> link.exe /debug /nologo /subsystem:console /machine:I386 /opt:ref /debug
> /dll /out:out32dll.dbg\libeay32.dll /def:ms/LIBEAY32.def @C:\TEMP\nma00460.
> Creating library out32dll.dbg\libeay32.lib and object out32dll.dbg\libeay32.exp
>bss_log.obj : error LNK2001: unresolved external symbol __imp__ReportEventA@36
>bss_log.obj : error LNK2001: unresolved external symbol __imp__RegisterEventSourceA@8
>bss_log.obj : error LNK2001: unresolved external symbol __imp__DeregisterEventSource@4
>out32dll.dbg\libeay32.dll : fatal error LNK1120: 3 unresolved externals
>NMAKE : fatal error U1077: 'link.exe' : return code '0x460'
>Stop.
The cmp.pl script still does not work on Win32 because of CR vs CRLF.
> for ($i=0; $i<=$#a1; $i++)
> {
> if ($a1[$i] ne $a2[$i])
Solution: replace cmp.pl by fc.exe.
Testenc.bat is stuffed up with references to d:\openssl.
I've attached my test batches. Using these test batches,
I was able to verify that the static LIB build works OK.
=============================================
Platform: WinNT Server 4 SP 4, VC 5.0 SP 3.
Compiler: Cygwin gcc
Snapshot: openssl-SNAP-19990309-0930.tar.gz
=============================================
> $ cd openssl
> $ sh config
> $ make
> $ make rehash
> $ make test
The make from cyngus bombed at crypto/Makefile.ssl because it could not
find or make ../include/bio.h needed for cryptlib.o. After copying all the
include files from inc32 to include, it compiled fine.... until it hit
make test (not the application test, but the building of the test
exe files):
>rm -f openssl
>gcc.exe -o openssl -DMONOLITH -I../include -DTERMIOS -DL_ENDIAN -fomit-frame-poi
>nter -O3 -m486 -Wall openssl.o verify.o asn1pars.o req.o dgst.o dh.o enc.o gendh
>.o errstr.o ca.o pkcs7.o crl2p7.o crl.o rsa.o dsa.o dsaparam.o x509.o genrsa.o g
>endsa.o s_server.o s_client.o speed.o s_time.o apps.o s_cb.o s_socket.o version.
>o sess_id.o ciphers.o nseq.o -L. -L.. -L../.. -L../../.. -L.. -lssl -L.. -lcrypt
>o
>making all in test...
>gcc.exe -o bntest -I../include -DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3 -m4
>86 -Wall bntest.o -L. -L.. -L../.. -L../../.. -L.. -lcrypto
>gcc.exe: bntest.o: No such file or directory
>make[1]: *** [bntest] Error 1
>make: *** [all] Error 1
>bash.exe-2.02$
And I thought it was my fault since I did not run make links.
>bash.exe-2.02$ make -f Makefile.ssl links
>./util/point.sh: not found
>make: *** [links] Error 127
>bash.exe-2.02$ cd util
>bash.exe-2.02$ ls
>FreeBSD.sh err-ins.pl mkfiles.pl speed.sh
>add_cr.pl files.pl mklink.sh src-dep.pl
>bat.sh fixNT.sh perlpath.pl ssldir.pl
>ck_errf.pl install.sh pl ssleay.num
>clean-depend.pl libeay.num point.sh tab_num.pl
>deleof.pl mk1mf.pl ranlib.sh up_ver.pl
>do_ms.sh mkcerts.sh sep_lib.sh x86asm.sh
>domd mkdef.pl sp-diff.pl
So I make a bin directory, and copied every EXE and DLL I could find
over there. Only to find out that I now get "" Application error
The instruction at Ox6105ae4e" referenced memory at
0x755c303f". The memory could not be "written" "".
After that, I retried make, and it built to the end.
Make rehash worked, but make test failed:
>./casttest
>ecb cast5 ok
>This test will take some time....123456789ABCDEF ok
>./randtest
>test 1 done
>test 2 done
>test 3 done
>test 4 done
>cat
>base64
>rc4
>cmp: EOF on ./p.rc4.clear
>make[1]: *** [test_enc] Error 1
>make: *** [tests] Error 2
>bash.exe-2.02$
I gave up.
=============================================
Platform: HP 9000, HPUX 10.20, series 800
Compiler: brain-dead HP cc
Snapshot: openssl-SNAP-19990309-0930.tar.gz
=============================================
The cc of HPUX is a NOPROTO compiler. Could you add this
to Configure?
making all in crypto/md5...
cc -I.. -I../../include -DB_ENDIAN -D_HPUX_SOURCE -DNOPROTO -Aa -Ae +ESlit +O4
-Wl,-a,archive -c md5_dgst.c
(Bundled) cc: warning 480: The -A option is available only with the C/ANSI C product;
ignored.
(Bundled) cc: warning 480: The -A option is available only with the C/ANSI C product;
ignored.
(Bundled) cc: warning 480: The +ESlit option is available only with the C/ANSI C
product; ignored.
(Bundled) cc: warning 480: The +O4 option is available only with the C/ANSI C product;
ignored.
(Bundled) cc: "md5_dgst.c", line 102: warning 5: "const" will become a keyword.
(Bundled) cc: "md5_dgst.c", line 102: error 1000: Unexpected symbol: "const".
(Bundled) cc: "md5_dgst.c", line 105: warning 5: "const" will become a keyword.
(Bundled) cc: "md5_dgst.c", line 105: error 1000: Unexpected symbol: "unsigned".
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
$
Ah, I guess that I found out why Eric never put in the const qualifiers.
The best thing IMHO would be to replace const by CONST and make a NOCONST
compilation which resolves CONST to the empty string.
Further down the road
CFLAG= -DB_ENDIAN -D_HPUX_SOURCE -DNOPROTO -DCONST="" -Aa -Ae +ESlit +O4
-Wl,-a,archive
I met what I've included below.
To conclude, I have trouble with HPUX and Win32. These are my two primary platforms.
Files, context diffs, and more available upon request.
Cheers!
Ulrich Kr�ner
============================================================
$ make -f Makefile.ssl
making all in crypto...
making all in crypto/md2...
making all in crypto/md5...
making all in crypto/sha...
making all in crypto/mdc2...
making all in crypto/hmac...
cc -I.. -I../../include -DB_ENDIAN -D_HPUX_SOURCE -DNOPROTO -DCONST="" -Aa -Ae
+ESlit +O4 -Wl,-a,archive -c hmac.c
(Bundled) cc: warning 480: The -A option is available only with the C/ANSI C product;
ignored.
(Bundled) cc: warning 480: The -A option is available only with the C/ANSI C product;
ignored.
(Bundled) cc: warning 480: The +ESlit option is available only with the C/ANSI C
product; ignored.
(Bundled) cc: warning 480: The +O4 option is available only with the C/ANSI C product;
ignored.
(Bundled) cc: "../../include/evp.h", line 768: error 1000: Unexpected symbol: "*".
(Bundled) cc: "../../include/evp.h", line 768: error 1000: Unexpected symbol: ")".
(Bundled) cc: "../../include/evp.h", line 769: error 1616: Unable to open intrinsic
file "/usr/local/lib/sysintr".
(Bundled) cc: "../../include/evp.h", line 769: error 1000: Unexpected symbol: "*".
(Bundled) cc: "../../include/evp.h", line 769: error 1000: Unexpected symbol: ")".
(Bundled) cc: "../../include/evp.h", line 771: error 1616: Unable to open intrinsic
file "/usr/local/lib/sysintr".
(Bundled) cc: "hmac.h", line 71: error 1000: Unexpected symbol: "EVP_MD".
(Bundled) cc: "hmac.h", line 72: error 1000: Unexpected symbol: "md_ctx".
(Bundled) cc: "hmac.h", line 73: error 1000: Unexpected symbol: "i_ctx".
(Bundled) cc: "hmac.h", line 74: error 1000: Unexpected symbol: "o_ctx".
(Bundled) cc: "hmac.h", line 77: error 1000: Unexpected symbol: "}".
(Bundled) cc: "hmac.c", line 64: error 1000: Unexpected symbol: "HMAC_CTX".
(Bundled) cc: "hmac.c", line 67: error 1000: Unexpected symbol: "EVP_MD".
(Bundled) cc: "hmac.h", line 72: error 1584: Inconsistent type declaration:
"EVP_MD_CTX".
(Bundled) cc: "hmac.h", line 72: warning 525: Redeclaration of identifier "EVP_MD_CTX".
(Bundled) cc: "hmac.h", line 73: error 1584: Inconsistent type declaration:
"EVP_MD_CTX".
(Bundled) cc: "hmac.h", line 73: warning 525: Redeclaration of identifier "EVP_MD_CTX".
(Bundled) cc: "hmac.h", line 74: error 1584: Inconsistent type declaration:
"EVP_MD_CTX".
(Bundled) cc: "hmac.h", line 74: warning 525: Redeclaration of identifier "EVP_MD_CTX".
(Bundled) cc: "hmac.h", line 77: error 1573: Type of "HMAC_CTX" is undefined due to an
illegal declaration.
(Bundled) cc: "hmac.c", line 64: error 1573: Type of "ctx" is undefined due to an
illegal declaration.
(Bundled) cc: "hmac.c", line 67: error 1573: Type of "md" is undefined due to an
illegal declaration.
(Bundled) cc: "hmac.c", line 72: error 1563: Expression in if must be scalar.
(Bundled) cc: "hmac.c", line 75: error 1532: Reference through a non-pointer.
(Bundled) cc: "hmac.c", line 75: error 1549: Modifiable lvalue required for assignment
operator.
(Bundled) cc: "hmac.c", line 78: error 1532: Reference through a non-pointer.
(Bundled) cc: "hmac.c", line 78: error 1549: Modifiable lvalue required for assignment
operator.
(Bundled) cc: "hmac.c", line 83: error 1532: Reference through a non-pointer.
(Bundled) cc: "hmac.c", line 86: error 1532: Reference through a non-pointer.
(Bundled) cc: "hmac.c", line 86: error 1555: Address operator requires an lvalue.
(Bundled) cc: "hmac.c", line 87: error 1532: Reference through a non-pointer.
(Bundled) cc: "hmac.c", line 87: error 1555: Address operator requires an lvalue.
(Bundled) cc: "hmac.c", line 88: error 1532: Reference through a non-pointer.
(Bundled) cc: "hmac.c", line 88: error 1555: Address operator requires an lvalue.
(Bundled) cc: "hmac.c", line 88: error 1532: Reference through a non-pointer.
(Bundled) cc: "hmac.c", line 89: error 1532: Reference through a non-pointer.
(Bundled) cc: "hmac.c", line 89: error 1555: Address operator requires an lvalue.
(Bundled) cc: "hmac.c", line 93: error 1532: Reference through a non-pointer.
(Bundled) cc: "hmac.c", line 94: error 1532: Reference through a non-pointer.
(Bundled) cc: "hmac.c", line 94: error 1528: Subscript expression must combine pointer
and integer.
(Bundled) cc: "hmac.c", line 94: error 1532: Reference through a non-pointer.
(Bundled) cc: "hmac.c", line 95: error 1532: Reference through a non-pointer.
(Bundled) cc: "hmac.c", line 95: error 1549: Modifiable lvalue required for assignment
operator.
(Bundled) cc: "hmac.c", line 102: error 1532: Reference through a non-pointer.
(Bundled) cc: "hmac.c", line 102: error 1528: Subscript expression must combine
pointer and integer.
(Bundled) cc: "hmac.c", line 103: error 1532: Reference through a non-pointer.
(Bundled) cc: "hmac.c", line 103: error 1555: Address operator requires an lvalue.
(Bundled) cc: "hmac.c", line 104: error 1532: Reference through a non-pointer.
(Bundled) cc: "hmac.c", line 104: error 1555: Address operator requires an lvalue.
(Bundled) cc: "hmac.c", line 104: error 1532: Reference through a non-pointer.
(Bundled) cc: "hmac.c", line 107: error 1532: Reference through a non-pointer.
(Bundled) cc: "hmac.c", line 107: error 1528: Subscript expression must combine
pointer and integer.
(Bundled) cc: "hmac.c", line 108: error 1532: Reference through a non-pointer.
(Bundled) cc: "hmac.c", line 108: error 1555: Address operator requires an lvalue.
(Bundled) cc: "hmac.c", line 109: error 1532: Reference through a non-pointer.
(Bundled) cc: "hmac.c", line 109: error 1555: Address operator requires an lvalue.
(Bundled) cc: "hmac.c", line 109: error 1532: Reference through a non-pointer.
(Bundled) cc: "hmac.c", line 112: error 1532: Reference through a non-pointer.
(Bundled) cc: "hmac.c", line 112: error 1555: Address operator requires an lvalue.
(Bundled) cc: "hmac.c", line 112: error 1532: Reference through a non-pointer.
(Bundled) cc: "hmac.c", line 112: error 1555: Address operator requires an lvalue.
(Bundled) cc: "hmac.c", line 112: error 1532: Reference through a non-pointer.
(Bundled) cc: "hmac.c", line 116: error 1000: Unexpected symbol: "HMAC_CTX".
(Bundled) cc: "hmac.c", line 116: error 1573: Type of "ctx" is undefined due to an
illegal declaration.
(Bundled) cc: "hmac.c", line 120: error 1532: Reference through a non-pointer.
(Bundled) cc: "hmac.c", line 120: error 1555: Address operator requires an lvalue.
(Bundled) cc: "hmac.c", line 124: error 1000: Unexpected symbol: "HMAC_CTX".
(Bundled) cc: "hmac.c", line 124: error 1573: Type of "ctx" is undefined due to an
illegal declaration.
(Bundled) cc: "hmac.c", line 132: error 1532: Reference through a non-pointer.
(Bundled) cc: "hmac.c", line 132: error 1532: Reference through a non-pointer.
(Bundled) cc: "hmac.c", line 134: error 1532: Reference through a non-pointer.
(Bundled) cc: "hmac.c", line 134: error 1555: Address operator requires an lvalue.
(Bundled) cc: "hmac.c", line 135: error 1532: Reference through a non-pointer.
(Bundled) cc: "hmac.c", line 135: error 1555: Address operator requires an lvalue.
(Bundled) cc: "hmac.c", line 135: error 1532: Reference through a non-pointer.
(Bundled) cc: "hmac.c", line 135: error 1555: Address operator requires an lvalue.
(Bundled) cc: "hmac.c", line 135: error 1532: Reference through a non-pointer.
(Bundled) cc: "hmac.c", line 136: error 1532: Reference through a non-pointer.
(Bundled) cc: "hmac.c", line 136: error 1555: Address operator requires an lvalue.
(Bundled) cc: "hmac.c", line 137: error 1532: Reference through a non-pointer.
(Bundled) cc: "hmac.c", line 137: error 1555: Address operator requires an lvalue.
(Bundled) cc: "hmac.c", line 141: error 1000: Unexpected symbol: "HMAC_CTX".
(Bundled) cc: "hmac.c", line 141: error 1573: Type of "ctx" is undefined due to an
illegal declaration.
(Bundled) cc: "hmac.c", line 147: error 1000: Unexpected symbol: "EVP_MD".
(Bundled) cc: "hmac.c", line 155: error 1000: Unexpected symbol: "c".
(Bundled) cc: "hmac.c", line 147: error 1573: Type of "evp_md" is undefined due to an
illegal declaration.
(Bundled) cc: "hmac.c", line 155: error 1573: Type of "c" is undefined due to an
illegal declaration.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com
test.zip