Build Insight 6.8-1 on Cygwin 1.7.5-1

Phil Fong <[email protected]>
Newsgroups gmane.comp.debugging.insight
Message-ID <[email protected]>
I am trying to build Insight on Cygwin for target=arm-none-eabi.  I am running 
into a problem that was reported to the mailing list in January.  Compilation 
fails with:
In file included from 
../../../insight-6.8-1/tcl/win/../generic/../win/tclWinPort.h:72,

                 from ../../../insight-6.8-1/tcl/win/../generic/tclPort.h:22,
                 from ../../../insight-6.8-1/tcl/win/../generic/tclAlloc.c:29:
/usr/lib/gcc/i686-pc-cygwin/3.4.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 
../../../insight-6.8-1/tcl/win/../generic/../win/tclWinPort.h:72,
                 from ../../../insight-6.8-1/tcl/win/../generic/tclPort.h:22,
                 from ../../../insight-6.8-1/tcl/win/../generic/tclAlloc.c:29:
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock2.h:632: 
error: conflicting types for 'select'
/usr/include/sys/select.h:31: error: previous declaration of 'select' was here

The last message from that thread suggested trying CC=gcc-3.  That did not 
help.  The same error still occurs.

Any ideas?

Thanks,
Phil
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.