[vlc-devel] Re: Error building extras/contrib/libgcrypt on Cygwin

Mark Moriarty mfmbusiness at earthlink.net
Thu Sep 14 01:13:06 CEST 2006


Nobody has a clue on this one?
> _____________________________________________ 
> From: 	Mark Moriarty [mailto:mfmbusiness at earthlink.net] 
> Sent:	Wednesday, September 13, 2006 6:42 AM
> To:	'vlc-devel at videolan.org'
> Subject:	Error building extras/contrib/libgcrypt on Cygwin
> 
> Running WinXP, a completely fresh Cygwin installation.
> When building libgcrypt, I get:
> random.c:46:23: sys/times.h: No such file or directory
> random.c: In function `getfnc_fast_random_poll':
> random.c:925: warning: return from incompatible pointer type
> make[5]: *** [random.lo] Error 1
> make[5]: Leaving directory
> `/home/mfm/vlc-trunk/extras/contrib/src/libgcrypt/cip
> her'
> make[4]: *** [all-recursive] Error 1
> 
> I do see a cygwin/usr/include/sys/times.h, consisting of:
> #ifndef	_SYS_TIMES_H
> #ifdef __cplusplus
> extern "C" {
> #endif
> #define	_SYS_TIMES_H
> 
> #include <_ansi.h>
> #include <machine/types.h>
> 
> #ifndef __clock_t_defined
> typedef _CLOCK_T_ clock_t;
> #define __clock_t_defined
> #endif
> 
> /*  Get Process Times, P1003.1b-1993, p. 92 */
> struct tms {
> 	clock_t	tms_utime;		/* user time */
> 	clock_t	tms_stime;		/* system time */
> 	clock_t	tms_cutime;		/* user time, children */
> 	clock_t	tms_cstime;		/* system time, children */
> };
> 
> clock_t _EXFUN(times,(struct tms *));                           /* LINE 23
> OF THE FILE */
> 
> #ifdef __cplusplus
> }
> #endif
> #endif	/* !_SYS_TIMES_H */
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20060913/0f179789/attachment.html>


More information about the vlc-devel mailing list