delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Thu, 13 Dec 2012 19:47:24 +0100 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Openssl program not compiling |
Message-ID: | <20121213184724.GC6237@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <20121213171248 DOT 188070 AT gmx DOT com> |
MIME-Version: | 1.0 |
In-Reply-To: | <20121213171248.188070@gmx.com> |
User-Agent: | Mutt/1.5.21 (2010-09-15) |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
On Dec 13 18:12, Eduardo Chappa wrote: > >> This used to work in the past, there was no need to switch the order, but it fails now. Why? > > > Because the new Windows headers from Mingw64 define X509_NAME and > > OCSP_RESPONSE, which the former Mingw32 Windows headers didn't. > > Hi Corinna, > > Â Thank you for your reply. In this case, the reason for the #include <windows.h> and also <sys/cygwin.h> > is because there is code in Alpine to login to the imap server. It uses calls such as cygwin_logon_user > and cygwin_set_impersonation_token. Actually the code is in the c-client library - a cygwin package - so that the imap server will be able to login a user. The c-client package does not build in cygwin because of that. I do need to include <openssl/crypt.h> too. As a result the c-client package needs to be patched for it to build. This was not needed in the past. > > Â I can live with reversing the order of the includes, but would prefer the status quo if possible. Do I have to switch the includes permanently? Thank you. You should rather add the #define NOCRYPT, but otherwise the answer is "yes". We switched to the newer set of Windows header files deliberately. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |