From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
Reply-To: cygwin at cygwin dot com
To: Vishal Jain <vxj45 at hotmail dot com>
CC: cygwin at cygwin dot com
Subject: Re: Unable to compile 1.3.22-1 sources
Date: Tue, 8 Apr 2003 21:28:46 -0400 (EDT)
On Tue, 8 Apr 2003, Vishal Jain wrote:
> Hi,
> I am unable to compile 1.3.22-1 sources.
> I am getting following errors-
>
> In file included from /usr/include/w32api/windows.h:98,
> from
../../../../cygwin-1.3.22-1/winsup/utils/cygcheck.cc:17:
> /usr/include/w32api/winsock2.h:101: redefinition of `struct timeval'
>
/cygdrive/c/cygwin/usr/src/cygwin-1.3.22-1/newlib/libc/include/sys/time.h:16:
> previous definition of `struct timeval'
> [snip]
> make[2]: *** [cygcheck.o] Error 1
> make[2]: Leaving directory
> `/cygdrive/c/cygwin/usr/src/obj/i686-pc-cygwin/winsup/utils'
> make[1]: *** [utils] Error 1
>
> What do I need to do to fix this?
> thanks,
> Vishal
Get the latest w32api package. Since it was released after the latest
cygwin package, that should be enough.
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha at cs dot nyu dot edu
ZZZzz /,`.-'`' -. ;-;;,_ igor at watson dot ibm dot com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
Knowledge is an unending adventure at the edge of uncertainty.
-- Leto II