Windows NT / Visual C++ 6.0
===========================
C:\Source\openssl-SNAP-19990308-1530>perl Configure VC-WIN32
IsWindows=1
CC =cl
CFLAG =
EX_LIBS =
BN_ASM =bn_asm.o
DES_ENC =des_enc.o fcrypt_b.o
BF_ENC =bf_enc.o
CAST_ENC =c_enc.o
RC4_ENC =rc4_enc.o
RC5_ENC =rc5_enc.o
MD5_OBJ_ASM =
SHA1_OBJ_ASM =
RMD160_OBJ_ASM=
THIRTY_TWO_BIT mode
BN_LLONG mode
RC4_INDEX mode
BF_PTR2 used
C:\Source\openssl-SNAP-19990308-1530>ms\do_ms
C:\Source\openssl-SNAP-19990308-1530>perl util\mkfiles.pl 1>MINFO
C:\Source\openssl-SNAP-19990308-1530>rem perl util\mk1mf.pl VC-MSDOS
no-sock >ms\msdos.mak
C:\Source\openssl-SNAP-19990308-1530>rem perl util\mk1mf.pl VC-W31-32
>ms\w31.mak
C:\Source\openssl-SNAP-19990308-1530>perl util\mk1mf.pl VC-W31-32 dll
1>ms\w31dll.mak
C:\Source\openssl-SNAP-19990308-1530>perl util\mk1mf.pl VC-WIN32 no-asm
1>ms\nt.mak
C:\Source\openssl-SNAP-19990308-1530>perl util\mk1mf.pl VC-WIN32 dll
no-asm 1>ms\ntdll.mak
C:\Source\openssl-SNAP-19990308-1530>perl util\mkdef.pl 16 libeay
1>ms\libeay16.def
X509V3_EXT_CRL_add_conf does not have a number assigned
C:\Source\openssl-SNAP-19990308-1530>perl util\mkdef.pl 32 libeay
1>ms\libeay32.def
X509V3_EXT_CRL_add_conf does not have a number assigned
C:\Source\openssl-SNAP-19990308-1530>perl util\mkdef.pl 16 ssleay
1>ms\ssleay16.def
SSL_add_dir_cert_subjects_to_stack does not have a number assigned
SSL_add_file_cert_subjects_to_stack does not have a number assigned
C:\Source\openssl-SNAP-19990308-1530>perl util\mkdef.pl 32 ssleay
1>ms\ssleay32.def
SSL_add_dir_cert_subjects_to_stack does not have a number assigned
SSL_add_file_cert_subjects_to_stack does not have a number assigned
C:\Source\openssl-SNAP-19990308-1530>perl util\mkdef.pl crypto ssl
update
Updating SSLEAY
2 New Functions added
Updating LIBEAY
1 New Functions added
C:\Source\openssl-SNAP-19990308-1530>ms\do_ms
C:\Source\openssl-SNAP-19990308-1530>perl util\mkfiles.pl 1>MINFO
C:\Source\openssl-SNAP-19990308-1530>rem perl util\mk1mf.pl VC-MSDOS
no-sock >ms\msdos.mak
C:\Source\openssl-SNAP-19990308-1530>rem perl util\mk1mf.pl VC-W31-32
>ms\w31.mak
C:\Source\openssl-SNAP-19990308-1530>perl util\mk1mf.pl VC-W31-32 dll
1>ms\w31dll.mak
C:\Source\openssl-SNAP-19990308-1530>perl util\mk1mf.pl VC-WIN32 no-asm
1>ms\nt.mak
C:\Source\openssl-SNAP-19990308-1530>perl util\mk1mf.pl VC-WIN32 dll
no-asm 1>ms\ntdll.mak
C:\Source\openssl-SNAP-19990308-1530>perl util\mkdef.pl 16 libeay
1>ms\libeay16.def
C:\Source\openssl-SNAP-19990308-1530>perl util\mkdef.pl 32 libeay
1>ms\libeay32.def
C:\Source\openssl-SNAP-19990308-1530>perl util\mkdef.pl 16 ssleay
1>ms\ssleay16.def
C:\Source\openssl-SNAP-19990308-1530>perl util\mkdef.pl 32 ssleay
1>ms\ssleay32.def
C:\Source\openssl-SNAP-19990308-1530>nmake -f ms\ntdll.mak
<-- snip very much compiling and linking libeay32 -->
link /nologo /subsystem:console /machine:I386 /opt:ref /dll
/out:out32dll\ssleay32.dll /def:ms/SSLEAY32.def @C:\TEMP\nmc00217.
SSLEAY32.def : error LNK2001: unresolved external symbol
SSL_add_dir_cert_subjects_to_stack
out32dll\ssleay32.lib : fatal error LNK1120: 1 unresolved externals
LINK : fatal error LNK1141: failure during build of exports file
NMAKE : fatal error U1077: 'link' : return code '0x475'
Stop.
Hmm... In ssl_cert.c:
#ifndef WIN32
int SSL_add_dir_cert_subjects_to_stack(STACK *stack,const char *dir)
{
<-- snip all code -->
}
#endif
In or out? I'll remove it in SSLEAY32.def to get on.
Test trouble 1:
pem.out is unix type file, but the *.pem files in test is M$ type text
file (auto-converted by WinZip??). To run the tests,
conversion of pem.out in tpem.bat is necessary (I did it this way with
my own utility 'cr2crlf'):
echo test %1 %2
%ssleay% %1 -in %2 -out %tmp1%
cr2crlf %tmp1% ~luna.tmp <--
copy ~luna.tmp %tmp1% <--
%cmp% %2 %tmp1%
Test trouble 2:
No such file '..\test\testreq.pem', commented out that part to move on.
But besides from that above, all worked file!
Cheers,
Peter
(sorry about the long/broken lines, but maybe the more info the better
in this case)
(cc any comments/rants/flames to me since I'm not on this list)
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]