I have been trying to compile the latest 0.9.6 releases (e,f,g) on Windows
2000 in a cygwin environment using Visual C++ 6.0, perl v5.6.1 built for
cygwin-multi, and getting similar errors to those reported by aditya jha
on this mail list.

I have been doing the following:
% perl Configure shared --openssldir=h:winsslbuild VC-WIN32
% ms/do_masm.bat
% nmake -f ms/ntdll.mak

Everything seems to go well until the nmake command.  The first failures
result in the following error:

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

' in macroak(239) : fatal error U1001: syntax error : illegal character '
Stop.

This error appears to be caused by some carriage returns incorrectly
output in the makefile:
SSL
OBJ=$(OBJ_D)\ssl.obj \
        $(OBJ_D)\s2_meth.obj $(OBJ_D)\ssl.obj $(OBJ_D)\s2_srvr.obj \
        $(OBJ_D)\ssl.obj $(OBJ_D)\s2_clnt.obj $(OBJ_D)\ssl.obj \
        $(OBJ_D)\s2_lib.obj $(OBJ_D)\ssl.obj $(OBJ_D)\s2_enc.obj \
        $(OBJ_D)\ssl.obj $(OBJ_D)\s2_pkt.obj $(OBJ_D)\ssl.obj \

This also occurs for CRYPTO^MOBJ and RSAGLUE^MOBJ.

After I overwrite these carriage returns with '_' characters, which seems
to be correct, I then start getting the following errors:

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

Building OpenSSL
        mkdir tmp32dll
        mkdir out32dll
        mkdir inc32
        mkdir inc32\openssl
NMAKE : fatal error U1073: don't know how to make '.\\cryptlib.h'
Stop.

This appears to be caused by the makefile missing the relative directory
information in rules for compiling for containing directories for header
files in the source tree.

eg.

$(INCL_D)\cryptlib.h: $(SRC_D)\\cryptlib.h
        $(CP) $(SRC_D)\\cryptlib.h $(INCL_D)\cryptlib.h

$(INCL_D)\buildinf.h: $(SRC_D)\\buildinf.h
        $(CP) $(SRC_D)\\buildinf.h $(INCL_D)\buildinf.h

$(INCL_D)\md32_common.h: $(SRC_D)\\md32_common.h
        $(CP) $(SRC_D)\\md32_common.h $(INCL_D)\md32_common.h

$(INCL_D)\md4_locl.h: $(SRC_D)\\md4_locl.h
        $(CP) $(SRC_D)\\md4_locl.h $(INCL_D)\md4_locl.h

$(INCL_D)\md5_locl.h: $(SRC_D)\\md5_locl.h
        $(CP) $(SRC_D)\\md5_locl.h $(INCL_D)\md5_locl.h

instead of

$(INCL_D)\cryptlib.h: $(SRC_D)\\crypto\\cryptlib.h
        $(CP) $(SRC_D)\\crypto\\cryptlib.h $(INCL_D)\cryptlib.h

$(INCL_D)\buildinf.h: $(SRC_D)\\crypto\\buildinf.h
        $(CP) $(SRC_D)\\crypto\\buildinf.h $(INCL_D)\buildinf.h

$(INCL_D)\md32_common.h: $(SRC_D)\\crypto\\md32_common.h
        $(CP) $(SRC_D)\\crypto\\md32_common.h $(INCL_D)\md32_common.h

$(INCL_D)\md4_locl.h: $(SRC_D)\\crypto\\md4\\md4_locl.h
        $(CP) $(SRC_D)\\crypto\\md4\\md4_locl.h $(INCL_D)\md4_locl.h

I will continue to look for fixes/workarounds for these problems but would
be keen to hear from anyone else who has found a solution to these
problems.

Thanks,

Daniel
-- 
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to