[sr #107827] Build GnuTLS 3.0.2 for windows!

Nikos Mavrogiannopoulos nmav at gnu.org
Tue Oct 4 15:22:26 CEST 2011


2011/10/4 Vincent Torri <vincent.torri at gmail.com>:

>> <sys/select.h> is not available under windows, it tried with <winsock2.h>
>> where select in define for windows but it did not help.
> use MSDN:
> http://msdn.microsoft.com/en-us/library/windows/desktop/ms740141%28v=vs.85%29.aspx
> select() is declared when winsock2.h is included.
[...]
> I don't understand why there are problems. I use select() for a project I'm
> working on without any issue. I just include winsock2.h on Windows:

It was gnulib that caused that. It seems it is defining select to an
unknown symbol unless a "proper" header is included.

regards,
Nikos




More information about the Gnutls-devel mailing list