Turn of the /WX flag. This flag threads warning as errors. I also had the problem.
I solved my problem. I have a problem with a combined installation of VC6 and .NET Regards, Erik Ulrichts HypertrustNV ----- Original Message ----- From: "Chuo HUANG(CMS)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, April 26, 2002 3:52 PM Subject: Re: RE: RE: nmake problem on win2000 > Eric, > I've got an error different from you. > > D:\openSSL\openssl-engine-0.9.6c>nmake -f ms\ntdll.mak > > Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 > Copyright (C) Microsoft Corp 1988-1998. All rights reserved. > > Building OpenSSL > copy nul+ .\crypto\buildinf.h tmp32dll\buildinf.h > nul > .\crypto\buildinf.h > 1 file(s) copied. > copy nul+ .\crypto\opensslconf.h inc32\openssl\opensslconf.h > nul > .\crypto\opensslconf.h > 1 file(s) copied. > nasmw -f win32 -o crypto\md5\asm\m5-win32.obj > .\crypto\md5\asm\m5-win32.asm > nasmw -f win32 -o crypto\sha\asm\s1-win32.obj > .\crypto\sha\asm\s1-win32.asm > nasmw -f win32 -o crypto\ripemd\asm\rm-win32.obj > .\crypto\ripemd\asm\rm-win32.asm > nasmw -f win32 -o crypto\des\asm\d-win32.obj > .\crypto\des\asm\d-win32.asm > nasmw -f win32 -o crypto\des\asm\y-win32.obj > .\crypto\des\asm\y-win32.asm > nasmw -f win32 -o crypto\rc4\asm\r4-win32.obj > .\crypto\rc4\asm\r4-win32.asm > nasmw -f win32 -o crypto\rc5\asm\r5-win32.obj > .\crypto\rc5\asm\r5-win32.asm > nasmw -f win32 -o crypto\bf\asm\b-win32.obj .\crypto\bf\asm\b-win32.asm > nasmw -f win32 -o crypto\cast\asm\c-win32.obj > .\crypto\cast\asm\c-win32.asm > nasmw -f win32 -o crypto\bn\asm\bn-win32.obj > .\crypto\bn\asm\bn-win32.asm > cl /Fotmp32dll\hw_aep.obj -Iinc32 -Itmp32dll /MD /W3 /WX /G5 /Ox /O2 > /Ob2 /Gs0 /GF /Gy /nologo -DWIN32 -DWIN32_ > LEAN_AND_MEAN -DL_ENDIAN -DDSO_WIN32 -DBN_ASM -DMD5_ASM -DSHA1_ASM -DRMD160_ ASM > /Fdout32dll /GD -D_WINDLL -D_DLL -c .\c > rypto\engine\hw_aep.c > hw_aep.c > .\crypto\engine\hw_aep.c(476) : error C2220: warning treated as error - no > object file generated > .\crypto\engine\hw_aep.c(476) : warning C4018: '<=' : signed/unsigned mismatch > NMAKE : fatal error U1077: 'cl' : return code '0x2' > Stop. > > I don't what I can do next. > > Zoe > > [EMAIL PROTECTED] writes: > >You need to replace it in the file : hw_aep.c. > > > > > >But I get problems in a later stage. I get some link-problems. > > > >This the output I get : > > > >Building OpenSSL > > > >link /nologo /subsystem:console /machine:I386 /opt:ref /dll > >/out:out32dll\libeay32.dll /def:ms/LIBEAY32.def > >@C:\DOCUME~1\ERIK~1.HEV\LOCALS~1\Temp\nmA5.tmp > >ms/LIBEAY32.def(7) : warning LNK4017: DESCRIPTION statement not > >supported for the target platform; ignored > > Creating library out32dll\libeay32.lib and object > >out32dll\libeay32.exp > >b_print.obj : error LNK2019: unresolved external symbol __ftol2 > >referenced in function _roundv > >b_print.obj : error LNK2019: unresolved external symbol __aulldvrm > >referenced in function _fmtint > >out32dll\libeay32.dll : fatal error LNK1120: 2 unresolved externals > >NMAKE : fatal error U1077: 'link' : return code '0x460' > >Stop. > > > >Can you give me feedback if you have the same problems > > > > > >Regards, > > > > > >Ulrichts Erik > >Hypertrust NV > >Belgium > >[EMAIL PROTECTED] > > > >-----Original Message----- > >From: [EMAIL PROTECTED] > >[mailto:[EMAIL PROTECTED]]On Behalf Of Chuo HUANG(CMS) > >Sent: donderdag 25 april 2002 18:47 > >To: [EMAIL PROTECTED] > >Subject: Re: RE: nmake problem on win2000 > > > > > >Erik, > >Thank you for your helpful suggestion. But where can I edit the follwing > >content? What's the file name that ' #include unistd.h' locates? > >Many thanks to you. > > > >Zoe > >[EMAIL PROTECTED] writes: > >>Hi, > >> > >>This problem has been mentoned before. > >> > >>In the mailing lists from openssl the following is proposed : > >> > >>replace : #include unistd.h > >> > >>with > >> > >>#include <openssl/e_os.h> > >>#ifndef MSDOS > >>#include <unistd.h> > >>#else > >>#include <process.h> > >>typedef int pid_t; > >>#endif > >> > >> > >> > >>Regards, > >> > >> > >>Erik Ulrichts > >>Hypertrust NV > >>Belgium > >>[EMAIL PROTECTED] > >> > >>-----Original Message----- > >>From: [EMAIL PROTECTED] > >>[mailto:[EMAIL PROTECTED]]On Behalf Of Chuo HUANG(CMS) > >>Sent: donderdag 25 april 2002 16:13 > >>To: [EMAIL PROTECTED] > >>Subject: nmake problem on win2000 > >> > >> > >>Hello!I encountered a problem (might be a silly one you think) when I > >>install > >>0.9.6c. > >> My system is windows 2000, ActivePerl-5.6.1.631-MSWin32-x86.msi, and > >>MSVC++ 6. > >> Please see below. > >>C:\>cd D:\openssl-engine-0.9.6c > >>D:\openssl-engine-0.9.6c>perl Configure VC-WIN32 > >>D:\openssl-engine-0.9.6c>ms\do-nasm > >>(I installed nasm. ) > >>D:\openssl-engine-0.9.6c>nmake -f ms\ntdll.mak > >>It compiled for a long time then displayed: > >>.... > >>.... > >>rypto\engine\hw_aep.c > >>hw_aep.c > >>.\crypto\engine\hw_aep.c(61): fatal error C1083: Cannot open include > >>file: > >>'unistd.h': No such file or directory > >>NMAKE: fatal error U1077: 'cl': return code '0x2' > >>stop > >> > >>Then I searched in my computer and found there is a unistd.h under" > >>C:\Perl\Site\Tk\pTk\compat\". > >> > >>Could you help me to find what wrong is? > >>Many thanks to you. > >>Special thanks to the owner of [EMAIL PROTECTED] > >> > >>Zoe > >> > >> > >>______________________________________________________________________ > >>OpenSSL Project http://www.openssl.org > >>User Support Mailing List [EMAIL PROTECTED] > >>Automated List Manager [EMAIL PROTECTED] > >>______________________________________________________________________ > >>OpenSSL Project http://www.openssl.org > >>User Support Mailing List [EMAIL PROTECTED] > >>Automated List Manager [EMAIL PROTECTED] > > > > > >______________________________________________________________________ > >OpenSSL Project http://www.openssl.org > >User Support Mailing List [EMAIL PROTECTED] > >Automated List Manager [EMAIL PROTECTED] > >______________________________________________________________________ > >OpenSSL Project http://www.openssl.org > >User Support Mailing List [EMAIL PROTECTED] > >Automated List Manager [EMAIL PROTECTED] > > > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > User Support Mailing List [EMAIL PROTECTED] > Automated List Manager [EMAIL PROTECTED] ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]