Mail Archives: cygwin/2012/12/17/04:53:33
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"
> >-mwin32 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
> >-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\"
> >-DPACKAGE_BUGREPORT=\"\" -DHAVE_NO_SEH=1 -DSTDC_HEADERS=1
> >-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
> >-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
> >-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
> >-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
unmaintained.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
- Raw text -