X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Mon, 17 Dec 2012 10:53:05 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Problem building Cygwin from CVS Message-ID: <20121217095305.GA1183@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <50CCDB70 DOT 3050601 AT breisch DOT org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <50CCDB70.3050601@breisch.org> User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com 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