Re: error build sid on cygwin
"Frank Ch. Eigler" <[email protected]>
| Newsgroups | gmane.comp.emulators.sid.devel |
|---|---|
| Message-ID | <[email protected]> |
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