Noel, I haven't compiled 0.9.6c, but I just finished compiling 0.9.6b - I didn't get any macro errors but I ran into the final problem with crytolib.h!!
Here are the instructions (as sent to me by my new pal Pascal Janse van Vuuren in NZ who helped so much with this problem a week or so ago):- Right, I'm going to go through all the steps EXACTLY as I'm doing them now - to get you a good build of OpenSSL. The first thing, I'm using Winzip 8.0, Visual C++ 6.0 Enterprise edition and ActiveState Perl, as suggested by OpenSSL. The first step I did was to extract "openssl-0.9.6b.tar.gz" to the root directory, specifying that it should use Folder Names. (So it creates a folder called "openssl-0.9.6b". I'm using my D:\ drive, so it ends up as D:\openssl-0.9.6b The drive is completely irrelevant, you can put it on anything from C:\ to Z:\. The path is also irrelevant, I normally use D:\Programming\@wgdev\openssl - so anything should work. I've attached a listing with a copy of the directory tree in it. You can compare yours to it. Then, I opened a command prompt and typed the following commands: 1. D: 2. cd\opensll-0.9.6.b 3. "d:\program files\microsoft visual studio\vc98\bin\vcvars32.bat 4. perl Configure VC-WIN32 5. ms\do_ms 6. nmake -f ms\ntdll.mak The important bit here is the vcvars32.bat which ISN'T mentioned in the install.w32 Good Luck! Myles Parker IT Security Team, Communications & IT Security Section -----Original Message----- From: Noel Burton-Krahn [mailto:[EMAIL PROTECTED]] Sent: Saturday, 29 December 2001 11:08 To: [EMAIL PROTECTED] Subject: HELP: making under Win32 I'm trying to compile openssl-0.9.6c under win32 without much success. I follow the instructions in INSTALL.WIN32. Here's how it goes: (1) perl Configure VC-WIN32 ... Configured for VC-WIN32. (2) ms\do_nasm.bat (3) nmake -f ms/ntdll.mak ms/ntdll.mak(239) : fatal error U1001: syntax error : illegal character '^M' in macro The ntdll.mak file is totall screwed up. It has references for files like ./..h, paths like '.\\cryptlib.h' and even \r chars in its macros! (4) ok, strip all \r chars and \\ perl -i.bak -pne 's/\r//g; s/\\\\/\\/g' ms/ntdll.mak nmake -f ms/ntdll.mak NMAKE : fatal error U1073: don't know how to make '.\cryptlib.h' This just isn't working at all. Has anyone build openssl under Win32? (not cygwin!) ----------------------------------------------------- Noel Burton-Krahn CTO, Mercurial Communications [EMAIL PROTECTED] 200B-1630 Store St. phone: 250-380-2006 Victoria, BC cell: 250-888-0864 V8W 1V3 fax: 250-380-2008 ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED] Notice: The information contained in this e-mail message and any attached files may be confidential information, and may also be the subject of legal professional privilege. If you are not the intended recipient any use, disclosure or copying of this e-mail is unauthorised. If you have received this e-mail in error, please notify the sender immediately by reply e-mail and delete all copies of this transmission together with any attachments. ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]