This is the mail archive of the
sid@sources.redhat.com
mailing list for the SID project.
Re: error build sid on cygwin
- From: "Frank Ch. Eigler" <fche at redhat dot com>
- To: we <kyjdzw at 21cn dot com>
- Cc: sid at sources dot redhat dot com
- Date: Sun, 24 Oct 2004 10:02:50 -0400
- Subject: Re: error build sid on cygwin
- References: <P0958975794360.13552@webmail1.inner-21cn.com>
Hi -
> I am trying to build SID, and I get the following error.
> [...]
> make[2]: Entering directory `/cygdrive/h/bak/src-041024/tcl/win'
> gcc -c -g -O2 -Wall -Wconversion -I"./../generic" -I"." -mwin32 -DHAVE_NO_SEH=1 -DEXCEPTION_DISPOSITION=int -DBUILD_tcl "tclWin32Dll.c" -o tclWin32Dll.o
> In file included from ../win/tclWinPort.h:72,
> from ../generic/tclPort.h:22,
> from tclWinInt.h:21,
> from tclWin32Dll.c:15:
> /usr/include/w32api/winsock2.h:95:2: warning: #warning "fd_set and associated macros have been defined in sys/types. This may cause runtime problems with W32 sockets"
> tclWin32Dll.c:54: error: initializer element is not constant
> [...]
That's odd in that I would expect the UNIX / cygwin port of tcl to be
selected, not the Windows one, in such a configuration. Maybe some
major src/tcl replacement has occurred that broke this logic.
I recommend removing (!) the tcl and tk subdirectories from the sid
sources, then configuring anew. In this case, the configury should
attempt to find the system's tcl libraries (if any), and failing that,
it should just omit the tcl-bridge component.
- FChE