Hi Ian,

Ian Clough said at 20:16 22-7-2002:

>I was hoping you could spare a moment to help me.  I am trying to build pth
>on a i686-cygwin shell (on a PC w2k system), but the make fails for
>reason(s) unknow to me.

Please use 1.4.1. It compiles cleanly on the latest cygwin.
Only warning is the socklen_t issue, caused by:

#ifndef socklen_t
#define socklen_t int
#endif

in /usr/include/cygwin/socket.h

which makes:
typedef int socklen_t;

a useless statement, since after pre-processing it resolves to:
typedef int int;

A temporary fix is attached and verified to get rid of the warning, but as
in indicated in the comments, the AC_CHECK_TYPEDEF (or AC_CHECK_SOCKLENTYPE)
macro in aclocal.m4 should deal with this.



Best regards,

Melvyn Sopacua
WebMaster IDG.nl
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
If it applies, where it applies - this email is a personal
contribution and does not reflect the views of my employer
IDG.nl.
\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\

Attachment: pth.h.in.cygwin.patch
Description: Binary data

Reply via email to