To: Francesco Dal Bello Re: R: need help

2002-04-05 Thread Alberto Isais
Thanks for replying again. Now, i have these error messages. Please help me again. Sorry for disturbing you again. 

C:\opensslnmake -f ms\nt.mak
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
Building OpenSSL cl /Fotmp32\cryptlib.obj -Iinc32 -Itmp32 /MD /W3 /WX /G5 /Ox /O2 /Ob2 /Gs0 /GF /Gy /nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DDSO_WIN32 /Fdout32 -DOPENSSL_NO_KRB5 -c .\crypto\cryptlib.ccryptlib.ctmp32\e_os.h(294) : fatal error C1083: Cannot open include file: 'unistd.h': Nosuch file or directoryNMAKE : fatal error U1077: 'cl' : return code '0x2'
 Francesco Dal Bello [EMAIL PROTECTED] wrote: 
I have install activeperl with default setting.Try  nmake -f ms\nt.mak-Messaggio originale-Da: Alberto T Isais [mailto:[EMAIL PROTECTED]]Inviato: sabato 6 aprile 2002 0.59A: [EMAIL PROTECTED]Oggetto: need helpThank you Sir Francesco for helping me. i did that and now i have new errors. Can you still help me with this one? My system is windows 2000 OS SP1, Windows 2000 DDK, ActivePerl-5.6.1.631-MSWin32-x86, and MSVC++ 6. By the way, how did you install activepearl?C:\opensslnmake -f ms\ntdll.makMicrosoft (R) Program Maintenance Utility Version 6.00.8168.0Copyright (C) Microsoft Corp 1988-1998. All rights reserved.Building OpenSSLcopy nul+ .\crypto\buildinf.h tmp32dll\buildinf.hnul.\crypto\buildinf.h1 file(s) copied.copy nul+ .\crypto\opensslconf.h inc32\opens!
 sl\opensslconf.hnul.\crypto\opensslconf.h1 file(s) copied.cl /Fotmp32dll\o_time.obj -Iinc32 -Itmp32dll /MD /W3 /WX /G5 /Ox /O2 /Ob2 /Gs0 /GF /Gy /nologo -DOPENSSL_SYSNAME_WIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN-DDSO_WIN32 -DBN_ASM -DMD5_ASM -DSHA1_ASM -DRMD160_ASM /Fdout32dll -DOPENSSL_NO_KRB5 -D_WINDLL -D_DLL -DOPENSSL_BUILD_SHLIBCRYPTO -c .\crypto\o_time.co_time.c.\crypto\o_time.c(79) : error C2220: warning treated as error - no object file generated.\crypto\o_time.c(79) : warning C4013: 'gmtime_r' undefined; assuming extern returning intNMAKE : fatal error U1077: 'cl' : return code '0x2'Stop.C:\openssl[EMAIL PROTECTED] wrote:I have build OpenSSL on my platform (very similar to your plat) with those steps and they had worked fine. Unpack openssl package (openssl-0.9.7-stable-SNAP-20020226 in my case) on HD (ex. C:\OpenSSL)You don't have to modify anything.Copy VCVARS32.BAT on this folder (for convenience).Instal

l ActivePerl (you have alredy do it).Go to cmd session. Go to C:\OpenSSL. VCVARS32 perl Configure VC-WIN32 ms\do_ms nmake -f ms\ntdll.makFrancescoDal Bello-Messaggio originale-Da: Alberto T Isais [mailto:[EMAIL PROTECTED]]Inviato: venerd?5 aprile 2002 0.47A: [EMAIL PROTECTED]Cc: [EMAIL PROTECTED]Oggetto: Re: R: need helpThank you very much for attending to my needs. However, i already did that - i ran VCVARS32.BAT before, still the same problem. My system is windows 2000 OS SP1, Windows 2000 DDK, ActivePerl-5.6.1.631-MSWin32-x86, and MSVC++ 6. I opened the hw_aep.c it has the line #include . I tried to search for that file and found only one! It is in the active pearl directory(C:\perl\site\lib\Tk\pTk\compat). I tried to include this directory in t!
 he c++ environment and i receive the error messages below. i still think that this is not the unistd.h needed. Please help me on this one. i also included the steps i did to compile it. please see below.Microsoft Windows 2000 [Version 5.00.2195](C) Copyright 1985-1999 Microsoft Corp.C:\cd C:\openssl-engine-0.9.6cC:\openssl-engine-0.9.6cperl Configure VC-WIN32Configuring for VC-WIN32IsWindows=1CC =clCFLAG =-DTHREADS -DDSO_WIN32EX_LIBS =BN_ASM =bn_asm.oDES_ENC =des_enc.o fcrypt_b.oBF_ENC =bf_enc.oCAST_ENC =c_enc.oRC4_ENC =rc4_enc.oRC5_ENC =rc5_enc.oMD5_OBJ_ASM =SHA1_OBJ_ASM =RMD160_OBJ_ASM=PROCESSOR =RANLIB =truePERL =perlTHIRTY_TWO_BIT modeBN_LLONG modeRC4_INDEX modeRC4_CHUNK is undefinedConfigured for VC-WIN32.C:\o!
 penssl-engine-0.9.6cms\do_masmGenerating x86 for MASM asse

mberBignumDES"crypt(3)"BlowfishCAST5RC4MD5SHA1RIPEMD160RC5\32C:\openssl-engine-0.9.6cperl util\mkfiles.pl 1MINFOC:\openssl-engine-0.9.6crem perl util\mk1mf.pl VC-MSDOS no-sock ms\msdos.makC:\openssl-engine-0.9.6crem perl util\mk1mf.pl VC-W31-32 ms\w31.makC:\openssl-engine-0.9.6cperl util\mk1mf.pl dll VC-W31-32 1ms\w31dll.makC:\openssl-engine-0.9.6cperl util\mk1mf.pl VC-WIN32 1ms\nt.makC:\openssl-engine-0.9.6cperl util\mk1mf.pl dll VC-WIN32 1ms\ntdll.makC:\openssl-engine-0.9.6cperl util\mkdef.pl 16 libeay 1ms\libeay16.defC:\openssl-engine-0.9.6cperl util\mkdef.pl 32 libeay 1ms\libeay32.defC:\openssl-engine-0.9.6cperl util\mkdef.pl 16 ssleay 1ms\ssleay16.defC:\openssl-en!
 gine-0.9.6cperl util\mkdef.pl 32 ssleay 1ms\ssleay32.defC:\openssl-engine-0.9.6cvcvars32.batSetting environment for using Microsoft Visual C++ tools.C:\openssl-engine-0.9.6cC:\openssl-engine-0.9.6cnmake -f ms\ntdll.makMicrosoft (R) Program Maintenance Utility Version 6.00.8168.0Copyright (C) Microsoft Corp 1988-1998. All rights 

To: Francesco Dal Bello Re: R: need help

2002-04-05 Thread Red


thanks for help but nothing is still change now errors are:

what can I do now?


 cl /Fotmp32\hw_aep.obj  -Iinc32 -Itmp32 /MD /W3 /WX /G5 /Ox /O2 
/Ob2 /Gs
0 /GF /Gy /nologo -DWIN32 -DWIN32_LEAN_AND_MEAN -DL_ENDIAN -DDSO_WIN32 /Fdout32
  -c .\crypto\engine\hw_aep.c
hw_aep.c
C:\PROGRA~1\MICROS~4\VC98\INCLUDE\unistd.h(691) : error C2220: warning 
treated a
s error - no object file generated
C:\PROGRA~1\MICROS~4\VC98\INCLUDE\unistd.h(691) : warning C4273: 'unlink' : 
inco
nsistent dll linkage.  dllexport assumed.
C:\PROGRA~1\MICROS~4\VC98\INCLUDE\stdlib.h(353) : error C2375: '_exit' : 
redefin
ition; different linkage
 C:\PROGRA~1\MICROS~4\VC98\INCLUDE\unistd.h(491) : see declaration 
of '_e
xit'
C:\PROGRA~1\MICROS~4\VC98\INCLUDE\stdlib.h(367) : warning C4028: formal 
paramete
r 1 different from declaration
C:\PROGRA~1\MICROS~4\VC98\INCLUDE\stdlib.h(385) : warning C4028: formal 
paramete
r 1 different from declaration
C:\PROGRA~1\MICROS~4\VC98\INCLUDE\io.h(175) : warning C4028: formal parameter 1
different from declaration
C:\PROGRA~1\MICROS~4\VC98\INCLUDE\io.h(176) : warning C4028: formal parameter 1
different from declaration
C:\PROGRA~1\MICROS~4\VC98\INCLUDE\io.h(176) : warning C4028: formal parameter 2
different from declaration
C:\PROGRA~1\MICROS~4\VC98\INCLUDE\io.h(181) : warning C4028: formal parameter 1
different from declaration
C:\PROGRA~1\MICROS~4\VC98\INCLUDE\io.h(225) : error C2375: 'access' : 
redefiniti
on; different linkage
 C:\PROGRA~1\MICROS~4\VC98\INCLUDE\unistd.h(248) : see declaration 
of 'ac
cess'
C:\PROGRA~1\MICROS~4\VC98\INCLUDE\io.h(228) : error C2375: 'close' : 
redefinitio
n; different linkage
 C:\PROGRA~1\MICROS~4\VC98\INCLUDE\unistd.h(296) : see declaration 
of 'cl
ose'
C:\PROGRA~1\MICROS~4\VC98\INCLUDE\io.h(230) : error C2375: 'dup' : 
redefinition;
  different linkage
 C:\PROGRA~1\MICROS~4\VC98\INCLUDE\unistd.h(437) : see declaration 
of 'du
p'
C:\PROGRA~1\MICROS~4\VC98\INCLUDE\io.h(231) : error C2375: 'dup2' : 
redefinition
; different linkage
 C:\PROGRA~1\MICROS~4\VC98\INCLUDE\unistd.h(440) : see declaration 
of 'du
p2'
C:\PROGRA~1\MICROS~4\VC98\INCLUDE\io.h(234) : error C2375: 'isatty' : 
redefiniti
on; different linkage
 C:\PROGRA~1\MICROS~4\VC98\INCLUDE\unistd.h(668) : see declaration 
of 'is
atty'
C:\PROGRA~1\MICROS~4\VC98\INCLUDE\io.h(236) : error C2375: 'lseek' : 
redefinitio
n; different linkage
 C:\PROGRA~1\MICROS~4\VC98\INCLUDE\unistd.h(279) : see declaration 
of 'ls
eek'
C:\PROGRA~1\MICROS~4\VC98\INCLUDE\io.h(239) : error C2375: 'read' : 
redefinition
; different linkage
 C:\PROGRA~1\MICROS~4\VC98\INCLUDE\unistd.h(301) : see declaration 
of 're
ad'
C:\PROGRA~1\MICROS~4\VC98\INCLUDE\io.h(244) : warning C4028: formal parameter 1
different from declaration
C:\PROGRA~1\MICROS~4\VC98\INCLUDE\io.h(244) : warning C4273: 'unlink' : 
inconsis
tent dll linkage.  dllexport assumed.
C:\PROGRA~1\MICROS~4\VC98\INCLUDE\io.h(245) : error C2375: 'write' : 
redefinitio
n; different linkage
 C:\PROGRA~1\MICROS~4\VC98\INCLUDE\unistd.h(305) : see declaration 
of 'wr
ite'
inc32\openssl/e_os.h(198) : warning C4005: 'ssize_t' : macro redefinition
 C:\PROGRA~1\MICROS~4\VC98\INCLUDE\unistd.h(194) : see previous 
definitio
n of 'ssize_t'
.\crypto\engine\hw_aep.c(192) : error C2061: syntax error : identifier 
'recorded
_pid'
.\crypto\engine\hw_aep.c(192) : error C2059: syntax error : ';'
.\crypto\engine\hw_aep.c(192) : error C2513: '/*global*/ ' : no variable 
declare
d before '='
.\crypto\engine\hw_aep.c(468) : warning C4018: '=' : signed/unsigned mismatch
.\crypto\engine\hw_aep.c(623) : error C2065: 'pid_t' : undeclared identifier
.\crypto\engine\hw_aep.c(623) : error C2146: syntax error : missing ';' 
before i
dentifier 'curr_pid'
.\crypto\engine\hw_aep.c(623) : error C2065: 'curr_pid' : undeclared identifier
.\crypto\engine\hw_aep.c(631) : error C2065: 'recorded_pid' : undeclared 
identif
ier
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.


At 13.07 05/04/2002 +0200, you wrote:

I have install activeperl with default setting.
Try
  nmake -f ms\nt.mak


-Messaggio originale-
Da: Alberto T Isais [mailto:[EMAIL PROTECTED]]
Inviato: sabato 6 aprile 2002 0.59
A: [EMAIL PROTECTED]
Oggetto: need help


Thank you Sir Francesco for helping me. i did that and now i have new 
errors. Can you still help me with this one? My system is windows 2000 OS 
SP1, Windows 2000 DDK, ActivePerl-5.6.1.631-MSWin32-x86, and MSVC++ 6. By 
the way, how did you install activepearl?

C:\opensslnmake -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.
 cl