public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* Build Insight 6.8-1 on Cygwin 1.7.5-1
@ 2010-08-06 17:30 Phil Fong
  2010-08-24  4:20 ` J
  0 siblings, 1 reply; 3+ messages in thread
From: Phil Fong @ 2010-08-06 17:30 UTC (permalink / raw)
  To: insight

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


      

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Build Insight 6.8-1 on Cygwin 1.7.5-1
  2010-08-06 17:30 Build Insight 6.8-1 on Cygwin 1.7.5-1 Phil Fong
@ 2010-08-24  4:20 ` J
  2010-08-24 13:41   ` Matthias Andree
  0 siblings, 1 reply; 3+ messages in thread
From: J @ 2010-08-24  4:20 UTC (permalink / raw)
  To: insight



Just wanted to follow up that I'm having this problem too.  Just ran ./configure
without any special options and am getting the error Phil is.  Any ideas from
anyone on how to solve this?  Very frustrating.

J



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Build Insight 6.8-1 on Cygwin 1.7.5-1
  2010-08-24  4:20 ` J
@ 2010-08-24 13:41   ` Matthias Andree
  0 siblings, 0 replies; 3+ messages in thread
From: Matthias Andree @ 2010-08-24 13:41 UTC (permalink / raw)
  To: insight

Am 24.08.2010 06:03, schrieb J:
> 
> 
> Just wanted to follow up that I'm having this problem too.  Just ran ./configure
> without any special options and am getting the error Phil is.  Any ideas from
> anyone on how to solve this?  Very frustrating.

This has to do with changes in the Cygwin headers, but nobody seemed to care
when this was reported early this year.  I never bothered to check if Cygwin
1.7.6 improved things.

The issue is apparently with the [I]{Tcl/Tk} stuff that ships as part of the
Insight sources, but I don't know how severely patched up it is and if it's
needed.  I also did not bother to check what happens if you removed the whole
tcl, tk, itcl and related stuff before running ./configure, and install a Cygwin
Tcl/Tk instead.

-- 
Matthias Andree

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-08-24 13:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-06 17:30 Build Insight 6.8-1 on Cygwin 1.7.5-1 Phil Fong
2010-08-24  4:20 ` J
2010-08-24 13:41   ` Matthias Andree

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).