<!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>RE: Error building extras/contrib/libgcrypt on Cygwin -- Got it I think</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Courier New">I ran into this on the Web:</FONT>

<BR><FONT SIZE=2 FACE="Courier New">"</FONT><FONT SIZE=2 FACE="Courier New">Solution: Make it explict with #UNDEF HAVE_TIMES in<BR>
$objdir\i686-pc-mingw32\libiberty\config.h, because it doesn't exist on<BR>
MinGW.</FONT><FONT SIZE=2 FACE="Courier New">"</FONT>
</P>

<P><FONT SIZE=2 FACE="Courier New">The above was for another app that was generating the same error as I ran into with the VLC extras/contrib/libgcrypt make.</FONT></P>

<P><FONT SIZE=2 FACE="Courier New">I ended up adding #undef HAVE_GETTIMEOFDAY</FONT>

<BR><FONT SIZE=2 FACE="Courier New">To my libgcrypt config.h, and it now compiles (apparently something awry in the Cygwin distribution)</FONT>
</P>

<P><FONT SIZE=2 FACE="Courier New">Can something be added to the patches for extras/contrib, that will sense if it's mingw, and if so do the undef in the config.h generated for libgcrypt, else in random.c, at line 42 toss in a similar exlusion (so you don't invoke sys/times.h)?</FONT> </P>

<P><FONT SIZE=1 FACE="Tahoma">_____________________________________________ </FONT>

<BR><B><FONT SIZE=1 FACE="Tahoma">From:  </FONT></B> <FONT SIZE=1 FACE="Tahoma">Mark Moriarty [</FONT><A HREF="mailto:mfmbusiness@earthlink.net"><U><FONT COLOR="#0000FF" SIZE=1 FACE="Tahoma">mailto:mfmbusiness@earthlink.net</FONT></U></A><FONT SIZE=1 FACE="Tahoma">] </FONT>

<BR><B><FONT SIZE=1 FACE="Tahoma">Sent:  </FONT></B> <FONT SIZE=1 FACE="Tahoma">Wednesday, September 13, 2006 7:13 PM</FONT>

<BR><B><FONT SIZE=1 FACE="Tahoma">To:    </FONT></B> <FONT SIZE=1 FACE="Tahoma">'vlc-devel@videolan.org'</FONT>

<BR><B><FONT SIZE=1 FACE="Tahoma">Subject:       </FONT></B> <FONT SIZE=1 FACE="Tahoma">RE: Error building extras/contrib/libgcrypt on Cygwin</FONT>
</P>
<BR>

<P><FONT COLOR="#0000FF" FACE="Times New Roman">Nobody has a clue on this one?</FONT>
</P>

</BODY>
</HTML>