<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7036.0">
<TITLE>Error building extras/contrib/libgcrypt on Cygwin</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT FACE="Times New Roman">Running WinXP, a completely fresh Cygwin installation.</FONT>

<BR><FONT FACE="Times New Roman">When building libgcrypt, I get:</FONT>

<BR><FONT FACE="Times New Roman">random.c:46:23: sys/times.h: No such file or directory</FONT>

<BR><FONT FACE="Times New Roman">random.c: In function `getfnc_fast_random_poll':</FONT>

<BR><FONT FACE="Times New Roman">random.c:925: warning: return from incompatible pointer type</FONT>

<BR><FONT FACE="Times New Roman">make[5]: *** [random.lo] Error 1</FONT>

<BR><FONT FACE="Times New Roman">make[5]: Leaving directory `/home/mfm/vlc-trunk/extras/contrib/src/libgcrypt/cip</FONT>

<BR><FONT FACE="Times New Roman">her'</FONT>

<BR><FONT FACE="Times New Roman">make[4]: *** [all-recursive] Error 1</FONT>
</P>

<P><FONT FACE="Times New Roman">I do see a cygwin/usr/include/sys/times.h, consisting of:</FONT>

<BR><FONT FACE="Times New Roman">#ifndef _SYS_TIMES_H</FONT>

<BR><FONT FACE="Times New Roman">#ifdef __cplusplus</FONT>

<BR><FONT FACE="Times New Roman">extern "C" {</FONT>

<BR><FONT FACE="Times New Roman">#endif</FONT>

<BR><FONT FACE="Times New Roman">#define _SYS_TIMES_H</FONT>
</P>

<P><FONT FACE="Times New Roman">#include <_ansi.h></FONT>

<BR><FONT FACE="Times New Roman">#include <machine/types.h></FONT>
</P>

<P><FONT FACE="Times New Roman">#ifndef __clock_t_defined</FONT>

<BR><FONT FACE="Times New Roman">typedef _CLOCK_T_ clock_t;</FONT>

<BR><FONT FACE="Times New Roman">#define __clock_t_defined</FONT>

<BR><FONT FACE="Times New Roman">#endif</FONT>
</P>

<P><FONT FACE="Times New Roman">/*  Get Process Times, P1003.1b-1993, p. 92 */</FONT>

<BR><FONT FACE="Times New Roman">struct tms {</FONT>

<BR>        <FONT FACE="Times New Roman">clock_t tms_utime;              /* user time */</FONT>

<BR>        <FONT FACE="Times New Roman">clock_t tms_stime;              /* system time */</FONT>

<BR>        <FONT FACE="Times New Roman">clock_t tms_cutime;             /* user time, children */</FONT>

<BR>        <FONT FACE="Times New Roman">clock_t tms_cstime;             /* system time, children */</FONT>

<BR><FONT FACE="Times New Roman">};</FONT>
</P>

<P><FONT FACE="Times New Roman">clock_t _EXFUN(times,(struct tms *));                           /* LINE 23 OF THE FILE */</FONT>
</P>

<P><FONT FACE="Times New Roman">#ifdef __cplusplus</FONT>

<BR><FONT FACE="Times New Roman">}</FONT>

<BR><FONT FACE="Times New Roman">#endif</FONT>

<BR><FONT FACE="Times New Roman">#endif  /* !_SYS_TIMES_H */</FONT>
</P>

</BODY>
</HTML>