This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem building Cygwin from CVS

On Dec 15 15:20, Chris J. Breisch wrote:
> I'm having difficulty building the Cygwin tree. My cygcheck.out is
> attached.
> I have the "Default" Cygwin set up, with the following additions:
> gcc4, make, perl, cocom, bison, flex, vim, m4, and libiconv.
> I've checked the archives for similar issues and have found none.
> After my research, it appears that this is the correct mailing list
> for this issue, but if not, I apologize.
> The error is as follows:
> >make[3]: Entering directory `/home/cbreisch/cygwin/build/tcl/win'
> >gcc -c -g -O2 -Wall -Wconversion
> >-I"../../../src/tcl/win/../generic" -I"../../../src/tcl/win"
> >-DBUILD_tcl ../../../src/tcl/win/../generic/tclAlloc.c -o
> >tclAlloc.o
> >In file included from /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../include/w32api/winsock2.h:56:0,
> >from ../../../src/tcl/win/../generic/../win/tclWinPort.h:72,
> >from ../../../src/tcl/win/../generic/tclPort.h:22,
> >from ../../../src/tcl/win/../generic/tclAlloc.c:29:
> >/usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../include/w32api/psdk_inc/_fd_types.h:100:2:
> >warning: #warning "fd_set and associated macros have been defined
> >in sys/types. This can cause runtime problems with W32 sockets"
> >In file included from
> >../../../src/tcl/win/../generic/../win/tclWinPort.h:72:0,
> >from ../../../src/tcl/win/../generic/tclPort.h:22,
> >from ../../../src/tcl/win/../generic/tclAlloc.c:29:
> >/usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../../include/w32api/winsock2.h:986:34:
> >error: conflicting types for âselectâ
> >/usr/include/sys/select.h:31:5: note: previous declaration of
> >âselectâ was here
> >Makefile:423: recipe for target `tclAlloc.o' failed
> The -mwin32 option causes tclWinPort.h and therefore winsock2.h to
> be included by virtue of the __WIN32__ define.
> Anyone have any suggestions?

Yes, don't try to build tcl/tk from the sourceware repo.  It's old, it's


Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]