Hi Steven,

I resolved the problem. Besides of Cygwin I had also MinGW installed.
Cygwin then used the gcc compiler which was installed in the MinGW
directory. Then the makefile stepped back in the MinGW folder to find
the sys/times.h which does not exist. After uninstalling MinGW and
reinstalling Cygwin I could get past the error. Unfortunately I receive
another error now which seems to be something different. I will post a
new thread for this problem.
But thank you for your help so far...

Michael

Steven Reddie <[EMAIL PROTECTED]> schrieb am 21.10.2004, 15:36:11:
> No, gcc should know where to look.  Try a separate test program, independent
> of OpenSSL, that includes that header.  If that gives you problems you might
> get help from the Cygwin list.
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> [EMAIL PROTECTED]
> Sent: Thursday, 21 October 2004 1:04 AM
> To: [EMAIL PROTECTED]
> Subject: Re: RE: error while running "make" - No such file or directory
> 
> 
> Hi Steven,
> 
> I do have the directory and the file within my Cygwin installation. So maybe
> there is something missing in my configuration?
> Do I have to set other environment variables besides of the PATH variable? 
> 
> TIA,
> Michael
> 
> 
> Steven Reddie  schrieb am 20.10.2004, 16:22:16:
> > The sys directory refered to is under the system include directory, 
> > probably /usr/include/sys.  Do you have a /usr/include/sys/time.h?  If 
> > not, you may need to reinstall gcc.
> > 
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On Behalf Of 
> > [EMAIL PROTECTED]
> > Sent: Thursday, 21 October 2004 12:14 AM
> > To: [EMAIL PROTECTED]
> > Subject: error while running "make" - No such file or directory
> > 
> > 
> > Hi,
> > 
> > When trying to make the OpenSSL version on my Win2k pc I get the 
> > following
> > error:
> > 
> > tmdiff.c:80:25: sys/times.h: No such file or directory
> > 
> > I donīt have a sys directory in my unpacked version (openssl-0.9.7d).
> > I am using Cygwin and ActivePerl to build OpoenSSL. I followed all the 
> > steps described in the install.w32 file.
> > Here is the complete output of my "build attempt":
> > 
> > $ make
> > making all in crypto...
> > make[1]: Entering directory `/cygdrive/c/OpenSSL/openssl-0.9.7d/crypto'
> > ( echo "#ifndef MK1MF_BUILD"; \
> > echo '  /* auto-generated by crypto/Makefile.ssl for crypto/cversion.c 
> > */'; \ echo '  #define CFLAGS "gcc -DOPENSSL_SYSNAME_CYGWIN32 
> > -DOPENSSL_THREADS -DDSO_
> > WIN32 -DOPENSSL_NO_KRB5 -DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3
> > -march=i48
> > 6 -Wall -DSHA1_ASM -DMD5_ASM -DRMD160_ASM"'; \ echo '  #define 
> > PLATFORM "Cygwin"'; \ echo "  #define DATE \"`LC_ALL=C LC_TIME=C 
> > date`\""; \ echo '#endif' ) >buildinf.h gcc -I. -I.. -I../include 
> > -DOPENSSL_SYSNAME_CYGWIN32 -DOPENSSL_THREADS -DDSO_WI
> > N32 -DOPENSSL_NO_KRB5 -DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3
> > -march=i486
> > -Wall -DSHA1_ASM -DMD5_ASM -DRMD160_ASM   -c -o cryptlib.o cryptlib.c
> > gcc -I. -I.. -I../include -DOPENSSL_SYSNAME_CYGWIN32 -DOPENSSL_THREADS 
> > -DDSO_WI
> > N32 -DOPENSSL_NO_KRB5 -DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3
> > -march=i486
> > -Wall -DSHA1_ASM -DMD5_ASM -DRMD160_ASM   -c -o mem.o mem.c
> > gcc -I. -I.. -I../include -DOPENSSL_SYSNAME_CYGWIN32 -DOPENSSL_THREADS 
> > -DDSO_WI
> > N32 -DOPENSSL_NO_KRB5 -DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3
> > -march=i486
> > -Wall -DSHA1_ASM -DMD5_ASM -DRMD160_ASM   -c -o mem_clr.o mem_clr.c
> > gcc -I. -I.. -I../include -DOPENSSL_SYSNAME_CYGWIN32 -DOPENSSL_THREADS 
> > -DDSO_WI
> > N32 -DOPENSSL_NO_KRB5 -DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3
> > -march=i486
> > -Wall -DSHA1_ASM -DMD5_ASM -DRMD160_ASM   -c -o mem_dbg.o mem_dbg.c
> > gcc -I. -I.. -I../include -DOPENSSL_SYSNAME_CYGWIN32 -DOPENSSL_THREADS 
> > -DDSO_WI
> > N32 -DOPENSSL_NO_KRB5 -DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3
> > -march=i486
> > -Wall -DSHA1_ASM -DMD5_ASM -DRMD160_ASM   -c -o cversion.o cversion.c
> > gcc -I. -I.. -I../include -DOPENSSL_SYSNAME_CYGWIN32 -DOPENSSL_THREADS 
> > -DDSO_WI
> > N32 -DOPENSSL_NO_KRB5 -DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3
> > -march=i486
> > -Wall -DSHA1_ASM -DMD5_ASM -DRMD160_ASM   -c -o ex_data.o ex_data.c
> > gcc -I. -I.. -I../include -DOPENSSL_SYSNAME_CYGWIN32 -DOPENSSL_THREADS 
> > -DDSO_WI
> > N32 -DOPENSSL_NO_KRB5 -DTERMIOS -DL_ENDIAN -fomit-frame-pointer -O3
> > -march=i486
> > -Wall -DSHA1_ASM -DMD5_ASM -DRMD160_ASM   -c -o tmdiff.o tmdiff.c
> > tmdiff.c:80:25: sys/times.h: No such file or directory
> > tmdiff.c:126: field `ms_tms' has incomplete type
> > tmdiff.c: In function `ms_time_get':
> > tmdiff.c:169: warning: implicit declaration of function `times'
> > make[1]: *** [tmdiff.o] Error 1
> > make[1]: Leaving directory `/cygdrive/c/OpenSSL/openssl-0.9.7d/crypto'
> > make: *** [sub_all] Error 1
> > 
> > 
> > 
> > What can the problem be? Does anybody know?
> > I appreciate any help.
> > 
> > Regards,
> > Michael
> > ______________________________________________________________________
> > 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]

Reply via email to