> From: Ángel González <[email protected]>
>> I had to include windows.h in lib\ioctl.c > No, but I don't have HANDLE nor get_osfhandle in lib/ioctl.c > Seems you have a different ioctl.c.. Try bootstrapping again. > > I am getting a "ioctl() failed. The socket could not be set as > blocking." failure, though. > I don't know what is exactly getting passed to it. ioctl() fails. So do > ioctlsocket(fd, ) and > ioctlsocket( _get_osfhandle (fd), ) I've got this one http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob;f=lib/ioctl.c;h=2e51c92d9a0f3e85a23b6017b7d7aacfd354093c;hb=master Which appears to be right. I think it just needs the include now. I see the same errors though: ioctl() failed. The socket could not be set as blocking. Winsock error: 10038 set_windows_fd_as_blocking_socket() expects a fd but instead it's being passed a handle/socket which it then passes to ioctl(). I'll re-compile with -g and see what's going on >> Also.. I notice that although I have ssl32 and it was found the LIBSSL32 > define no longer appears in my config.h. I checked the ac and don't see why > though. Do you have in your src\config.h.in something like this: >> /* Define to 1 if you have the `ssl32' library (-lssl32). */ >> #undef HAVE_LIBSSL32 >> >> it's missing in mine. > I was configuring without SSL. There is an issue where AC_LIBOBJ([openssl]) is needed when shared libraries are found but that still doesn't explain why there's no HAVE_LIBSSL32 define in my file. Do you have either that and/or HAVE_LIBEAY32 in your config.h.in? I'm curious if this is a parsing error or I'm missing something obvious here. I have the LIBEAY32 not LIBSSL32. Thanks
