Actually, you can just get rid of all ^M in ntdll.mak.

But then, the next set of problems arise:

        1.  There are many references to $(OBJ_D)\\\.obj ... which .obj was
this supposed to be?
        2.  Many paths are incorrect, for example,

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

            should be

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

How long has it been since someone has successfully built OpenSSL with VC++?

Tom


-----Original Message-----
From: Justin Desrochers [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 21, 2001 2:43 PM
To: 'Halliley, Tom'
Subject: RE: Build problems on VC-WIN32 


Tom,
        I am onto it but unfortunatly need to do something else for a couple
of hours.  The first problem is the continuation lines in the .h files as
you mentioned.  To fix this I manually deleted all the continuation \ and
made each #define one line seeing how whitespace is not a big deal to C.
After doing this ms\do_ms works properly.  Next problem which I started to
work on.  The next step is to run
        nmake /f ms\ntdll.mak
This should immediately give you an error like so
        ' in macroak(198) : fatal error U1001: syntax error : illegal
character '
It took a while but I finally figured out what the character was and what
file it is in.  First of all there is no file named macroak.  That is the
first clue.  Then it occurred to me that the format of the error message is
supposed to end with in macro.  So, how the hell did it end up at the
beginning of the error message.  It did because the illegal character was a
carraige return.  Watch this.
        ' in macroak(198) : fatal error U1001: syntax error : illegal
character '
        ms\ntdll.mak(198) : fatal error U1001: syntax error : illegal
character '' in macro
So as you can see the problem is in ntdll.mak(198)
There is in fact a prolem on that line.
        SSL
        OBJ=$(OBJ_D)\ssl.obj \  
it should be 
        SSLOBJ=$(OBJ_D)\ssl.obj \
Then you will keep running into problem and I do not have the time right now
to completly fix the mak file.
The place where I stopped was

vclean:
        $(RM) $(TMP_D)\*.*
        $(RM) $(OUT_D)\*.*

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

You will have to fix all the paths to get it to work.
Hope this helps. If you get to it before I do please send me the fixed mak
file I will do the same.           
        

-----Original Message-----
From: Halliley, Tom [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 21, 2001 8:46 AM
To: 'Justin Desrochers'; [EMAIL PROTECTED]
Subject: RE: Build problems on VC-WIN32


The problem seems to be with continuation lines in .h files,
e.g., ssl/ssl.h, crypto/crypto.h, etc.  These are being parsed incorrectly
by the util\mkdef.pl perl script.


Tom

<geek>
   <firstName>Tom</firstName><lastName>Halliley</lastName>
   <title>Software Architect</title><company>Compuware Corporation</company>
   <workPhone>248.737.7300 ext.10117</workPhone>
</geek>

-----Original Message-----
From: Justin Desrochers [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 20, 2001 6:31 PM
To: '[EMAIL PROTECTED]'
Subject: Build problems on VC-WIN32


Hi Tom
        I saw your post about your build problem.  I am trying to do the
same thing and am getting the same results.  Have you figured out how to get
it to work?  If you have please let me know what you did to get it to work.
I have tried several different things as I am sure you have as well.  Maybe
we should compare notes to save each other from going down the wrong path.
I will let you know if I figure out how to make it work.

Regards,
____________________________________________
Justin Desrochers              Main:   (603) 621-4300 
Software Engineer                 Direct: (603) 621-4326              
Chordiant Software, Inc.        Fax:    (603) 621-4330
1750 Elm Street      
Suite 1000      
Manchester, NH 03104

" Chordiant Software - Unified CRM for Extreme Demands"
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to