Dave, Thanks for the reply. How exactly do you debug OpenSSL? Do you use Visual Studio or some other tool? As I mentioned earlier I'm not Windows savy, I'm primarily a Java and/or Mac person so I'm quite at home with Eclipse, NetBeans, Xcode, etc., but not Microsoft's tools.
Bob -----Original Message----- From: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] On Behalf Of Dave Thompson Sent: Thursday, April 16, 2009 6:33 PM To: openssl-users@openssl.org Subject: RE: Win-32 build problem > From: owner-openssl-us...@openssl.org On Behalf Of Bob Barnes > Sent: Wednesday, 15 April, 2009 17:32 > I apologize up front if these questions seem particularly basic, >but I'm not a Windows developer and I'm not familiar with Visual >Studio, makefiles, Perl, etc. I'm trying to build a debug version on >Win-32 (Windows XP) and getting build errors. I was able to >successfully run the initial Configure for WIN32, modified the >mk1mf.pl lines in the do_ms batch file to add 'debug', but when I run >the do_ms batch file I get the following errors: > > %OSVERSION% is not defined at util/pl/VC-32.pl line 57. > Compilation failed in require at util\mk1mf.pl line 151. > > %OSVERSION% is not defined at util/pl/VC-32.pl line 57. > Compilation failed in require at util\mk1mf.pl line 151. You need to delete (or comment) the Configure VC-CE lines if you aren't doing Win-CE cross development (which you aren't). I'm not sure why these were included in the 'vanilla' procedure in the first place; IME if you're doing cross development you already expect and know how to tweak build procedures. They aren't in the do_masm and do_nasm variants. Which, if you care about performance, you should be using one of anyway. > I was able to successfully run the "nmake -f ms\ntdll.mak" > and "nmake -f ms\ntdll.mak testt"" steps without error so I'm > surmising that the do_ms errors are not serious, but can someone > explain what's going on here?. Right. The VC-WIN32 configures worked, just not the VC-CE ones, which you didn't try to use (i.e. nmake) and don't want. > Also, if possible I'd like to build some of the apps in the apps directory, > pkcs8 and pkcs12, for debug. Is that possible? You mean as separate executables, rather than in the monolith? I don't think so; at least I don't see any easy way. The monolith is included in the normal build, with symbols if you had debug, and I can debug that OK, which is good enough for me. ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org