From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13565 invoked by alias); 28 Apr 2011 16:39:07 -0000 Received: (qmail 13421 invoked by uid 22791); 28 Apr 2011 16:39:05 -0000 X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from sam.nabble.com (HELO sam.nabble.com) (216.139.236.26) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 28 Apr 2011 16:38:51 +0000 Received: from isper.nabble.com ([192.168.236.156]) by sam.nabble.com with esmtp (Exim 4.69) (envelope-from ) id 1QFUEs-0003lU-7L for insight@sourceware.org; Thu, 28 Apr 2011 09:38:50 -0700 Message-ID: <31498339.post@talk.nabble.com> Date: Thu, 28 Apr 2011 16:39:00 -0000 From: mizo_hazem_2 To: insight@sourceware.org Subject: Re: Build failure on Cygwin In-Reply-To: <4B424D16.6020204@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <000001ca8bec$6d6b6d20$48424760$@com> <4B424D16.6020204@redhat.com> X-IsSubscribed: yes Mailing-List: contact insight-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sourceware.org X-SW-Source: 2011-q2/txt/msg00007.txt.bz2 Hi, I have faced the same problem and I have solved it by adding the following line to the Makefile CFLAGS = -D__WIN32__ -D__INSIDE_CYGWIN__ Hope this can help Hossam Keith Seitz wrote: > > On 01/02/2010 12:44 PM, Jon Beniston wrote: >> make[3]: Entering directory `/home/Jon/t/import/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 -DEXCEPTION_DISPOSITION=int -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 >> ../../../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.3.4/../../../../include/w32api/winsock2.h:103: >> 2: warning: #warning "fd_set and associated macros have been defined in >> sys/types. This may cause runtime problems with W32 sockets" >> In file included 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.3.4/../../../../include/w32api/winsock2.h:632: >> error: conflicting types for 'select' >> /usr/include/sys/select.h:31: error: previous declaration of 'select' was >> here > > I haven't seen this one yet, but I admit, I don't really use much other > than linux nowadays... I'm going to update my cygwin box and kick off a > build. It should be done in a few hours. [It's a 500MHz P3!] >> >> I've just been running configure with no options (which used to work for >> Cygwin 1.5.x). Is there a magic option to get it to work, or does >> something >> need fixing? > > I'll get back to you on this... > > Keith > > -- View this message in context: http://old.nabble.com/Build-failure-on-Cygwin-tp26996349p31498339.html Sent from the Sourceware - insight list mailing list archive at Nabble.com.