[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sr #107827] Build GnuTLS 3.0.2 for windows!
From: |
Bjørn Christensen |
Subject: |
[sr #107827] Build GnuTLS 3.0.2 for windows! |
Date: |
Tue, 04 Oct 2011 08:10:36 +0000 |
User-agent: |
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; InfoPath.2; .NET CLR 3.5.21022; .NET CLR 3.5.30729; .NET CLR 3.0.30618; .NET4.0C) |
Follow-up Comment #13, sr #107827 (project gnutls):
<sys/select.h> is not available under windows, it tried with <winsock2.h>
where select in define for windows but it did not help.
If I add <sys/select.h> I get file not found.
I can see that the old gcrypt.h had a forward declarations for select, but now
where we have moved to nettle gcrypt.h is not included any more.
I am sure that the declaration of select is in the winsock2.h
The declaration of select is cover by a:
#if ! (defined (__INSIDE_CYGWIN__) || defined (__INSIDE_MSYS__))
Which is not is not the case. I do not know what that means.
I can solve the problem by in the #ifdef _WIN32 section of system.c include
the winsock2.h and add a forward declaration for select. (stolen from
gcrypt.h)
#ifdef _WIN32
#include <windows.h>
#include <winsock2.h>
ssize_t (*select) (int nfd, void *rset, void *wset, void *eset, struct timeval
*timeout);
#else
That is not a nice solution but it works.
Better suggestions are appreciated
/bhc
PS: --disable-cxx worked.
Thanks!
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/support/?107827>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [sr #107827] Build GnuTLS 3.0.2 for windows!, (continued)
- [sr #107827] Build GnuTLS 3.0.2 for windows!, Bjørn Christensen, 2011/10/03
- Re: [sr #107827] Build GnuTLS 3.0.2 for windows!, Nikos Mavrogiannopoulos, 2011/10/03
- [sr #107827] Build GnuTLS 3.0.2 for windows!, Bjørn Christensen, 2011/10/03
- [sr #107827] Build GnuTLS 3.0.2 for windows!, Bjørn Christensen, 2011/10/03
- [sr #107827] Build GnuTLS 3.0.2 for windows!, Nikos Mavrogiannopoulos, 2011/10/03
- [sr #107827] Build GnuTLS 3.0.2 for windows!, Bjørn Christensen, 2011/10/03
- [sr #107827] Build GnuTLS 3.0.2 for windows!, Nikos Mavrogiannopoulos, 2011/10/03
- [sr #107827] Build GnuTLS 3.0.2 for windows!, Bjørn Christensen, 2011/10/03
- [sr #107827] Build GnuTLS 3.0.2 for windows!, Bjørn Christensen, 2011/10/03
- [sr #107827] Build GnuTLS 3.0.2 for windows!, Nikos Mavrogiannopoulos, 2011/10/03
- [sr #107827] Build GnuTLS 3.0.2 for windows!,
Bjørn Christensen <=
- [sr #107827] Build GnuTLS 3.0.2 for windows!, anonymous, 2011/10/04
- [sr #107827] Build GnuTLS 3.0.2 for windows!, Bjørn Christensen, 2011/10/04
- [sr #107827] Build GnuTLS 3.0.2 for windows!, Nikos Mavrogiannopoulos, 2011/10/23
RE: [sr #107827] Build GnuTLS 3.0.2 for windows!, Bjørn Christensen, 2011/10/03
RE: [sr #107827] Build GnuTLS 3.0.2 for windows!, Bjørn Christensen, 2011/10/04
RE: [sr #107827] Build GnuTLS 3.0.2 for windows!, Bjørn Christensen, 2011/10/04