This is the mail archive of the
insight@sourceware.org
mailing list for the Insight project.
Can't build Insight with Cygwin
- From: Peter Rockett <p dot rockett at sheffield dot ac dot uk>
- To: insight at sources dot redhat dot com
- Date: Thu, 22 Dec 2005 15:24:12 +0000
- Subject: Can't build Insight with Cygwin
I too cannot build Insight with cygwin although I seem to get a
different problem from Eigil. Any ideas?
Attached is the last n lines of the bash shell output.
Peter
########################################################################################################
...
tclWinSerial.c: In function `SerialErrorStr':
tclWinSerial.c:1480: warning: negative integer implicitly converted to
unsigned
type
tclWinSerial.c: In function `SerialSetOptionProc':
tclWinSerial.c:1662: warning: passing arg 4 of `Tcl_SplitList' from
incompatible
pointer type
tclWinSerial.c:1692: warning: passing arg 4 of `Tcl_SplitList' from
incompatible
pointer type
tclWinSerial.c:1708: warning: passing arg 2 of `EscapeCommFunction' as
unsigned
due to prototype
tclWinSerial.c:1716: warning: passing arg 2 of `EscapeCommFunction' as
unsigned
due to prototype
tclWinSerial.c:1724: warning: passing arg 2 of `EscapeCommFunction' as
unsigned
due to prototype
tclWinSerial.c:1754: warning: negative integer implicitly converted to
unsigned
type
tclWinSerial.c:1754: warning: negative integer implicitly converted to
unsigned
type
tclWinSerial.c:1756: warning: passing arg 4 of `Tcl_SplitList' from
incompatible
pointer type
tclWinSerial.c: In function `SerialGetOptionProc':
tclWinSerial.c:2025: warning: passing arg 2 of `ClearCommError' from
incompatibl
e pointer type
gcc -c -g -O2 -Wall -Wconversion -I"../.././tcl/win/../generic"
-I"../.././tcl
/win" -mwin32 -DHAVE_NO_SEH=1 -DEXCEPTION_DISPOSITION=int
-DBUILD_tcl "tclWi
nError.c" -o tclWinError.o
In file included from ../.././tcl/win/../generic/../win/tclWinPort.h:72,
from ../.././tcl/win/../generic/tclPort.h:22,
from tclWinInt.h:21,
from tclWinError.c:15:
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock2.h:95:2:
wa
rning: #warning "fd_set and associated macros have been defined in
sys/types.
This may cause runtime problems with W32 sockets"
gcc -c -g -O2 -Wall -Wconversion -I"../.././tcl/win/../generic"
-I"../.././tcl
/win" -mwin32 -DHAVE_NO_SEH=1 -DEXCEPTION_DISPOSITION=int
-DBUILD_tcl "tclWi
nFCmd.c" -o tclWinFCmd.o
In file included from ../.././tcl/win/../generic/../win/tclWinPort.h:72,
from ../.././tcl/win/../generic/tclPort.h:22,
from tclWinInt.h:21,
from tclWinFCmd.c:15:
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock2.h:95:2:
wa
rning: #warning "fd_set and associated macros have been defined in
sys/types.
This may cause runtime problems with W32 sockets"
tclWinFCmd.c: In function `TclpObjDeleteFile':
tclWinFCmd.c:698: warning: implicit declaration of function `TclpDeleteFile'
tclWinFCmd.c: In function `TraverseWinTree':
tclWinFCmd.c:1130: warning: 'targetLen' might be used uninitialized in
this func
tion
gcc -c -g -O2 -Wall -Wconversion -I"../.././tcl/win/../generic"
-I"../.././tcl
/win" -mwin32 -DHAVE_NO_SEH=1 -DEXCEPTION_DISPOSITION=int
-DBUILD_tcl "tclWi
nFile.c" -o tclWinFile.o
In file included from ../.././tcl/win/../generic/../win/tclWinPort.h:72,
from ../.././tcl/win/../generic/tclPort.h:22,
from tclWinInt.h:21,
from tclWinFile.c:19:
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock2.h:95:2:
wa
rning: #warning "fd_set and associated macros have been defined in
sys/types.
This may cause runtime problems with W32 sockets"
tclWinFile.c: In function `WinSymLinkDirectory':
tclWinFile.c:314: warning: implicit declaration of function `wcslen'
tclWinFile.c: In function `TclWinSymLinkDelete':
tclWinFile.c:405: warning: passing arg 7 of `DeviceIoControl' from
incompatible
pointer type
tclWinFile.c: In function `NativeReadReparse':
tclWinFile.c:522: warning: passing arg 7 of `DeviceIoControl' from
incompatible
pointer type
tclWinFile.c: In function `NativeWriteReparse':
tclWinFile.c:573: warning: passing arg 4 of `DeviceIoControl' as
unsigned due to
prototype
tclWinFile.c:573: warning: passing arg 7 of `DeviceIoControl' from
incompatible
pointer type
tclWinFile.c: In function `TclpGetUserHome':
tclWinFile.c:1148: warning: dereferencing type-punned pointer will break
strict-
aliasing rules
tclWinFile.c:1156: warning: dereferencing type-punned pointer will break
strict-
aliasing rules
tclWinFile.c: In function `TclpObjChdir':
tclWinFile.c:1347: warning: implicit declaration of function `chdir'
tclWinFile.c: In function `TclpReadlink':
tclWinFile.c:1393: warning: implicit declaration of function `readlink'
tclWinFile.c: In function `TclpObjNormalizePath':
tclWinFile.c:2030: warning: unused variable `temp'
tclWinFile.c:2190: warning: passing arg 3 of `Tcl_DStringAppend' as
signed due t
o prototype
tclWinFile.c: In function `TclpMatchInDirectory':
tclWinFile.c:693: warning: 'found' might be used uninitialized in this
function
gcc -c -g -O2 -Wall -Wconversion -I"../.././tcl/win/../generic"
-I"../.././tcl
/win" -mwin32 -DHAVE_NO_SEH=1 -DEXCEPTION_DISPOSITION=int
-DBUILD_tcl "tclW
inInit.c" -o tclWinInit.o
In file included from ../.././tcl/win/../generic/../win/tclWinPort.h:72,
from ../.././tcl/win/../generic/tclPort.h:22,
from tclWinInt.h:21,
from tclWinInit.c:13:
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock2.h:95:2:
wa
rning: #warning "fd_set and associated macros have been defined in
sys/types.
This may cause runtime problems with W32 sockets"
tclWinInit.c: In function `TclpSetVariables':
tclWinInit.c:601: warning: dereferencing type-punned pointer will break
strict-a
liasing rules
gcc -c -g -O2 -Wall -Wconversion -I"../.././tcl/win/../generic"
-I"../.././tcl
/win" -mwin32 -DHAVE_NO_SEH=1 -DEXCEPTION_DISPOSITION=int
-DBUILD_tcl "tclWi
nLoad.c" -o tclWinLoad.o
In file included from ../.././tcl/win/../generic/../win/tclWinPort.h:72,
from ../.././tcl/win/../generic/tclPort.h:22,
from tclWinInt.h:21,
from tclWinLoad.c:16:
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock2.h:95:2:
wa
rning: #warning "fd_set and associated macros have been defined in
sys/types.
This may cause runtime problems with W32 sockets"
gcc -c -g -O2 -Wall -Wconversion -I"../.././tcl/win/../generic"
-I"../.././tcl
/win" -mwin32 -DHAVE_NO_SEH=1 -DEXCEPTION_DISPOSITION=int
-DBUILD_tcl "tclWi
nMtherr.c" -o tclWinMtherr.o
In file included from ../.././tcl/win/../generic/../win/tclWinPort.h:72,
from ../.././tcl/win/../generic/tclPort.h:22,
from tclWinInt.h:21,
from tclWinMtherr.c:15:
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock2.h:95:2:
wa
rning: #warning "fd_set and associated macros have been defined in
sys/types.
This may cause runtime problems with W32 sockets"
gcc -c -g -O2 -Wall -Wconversion -I"../.././tcl/win/../generic"
-I"../.././tcl
/win" -mwin32 -DHAVE_NO_SEH=1 -DEXCEPTION_DISPOSITION=int
-DBUILD_tcl "tclWi
nNotify.c" -o tclWinNotify.o
In file included from ../.././tcl/win/../generic/../win/tclWinPort.h:72,
from ../.././tcl/win/../generic/tclPort.h:22,
from tclWinInt.h:21,
from tclWinNotify.c:16:
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock2.h:95:2:
wa
rning: #warning "fd_set and associated macros have been defined in
sys/types.
This may cause runtime problems with W32 sockets"
tclWinNotify.c: In function `Tcl_Sleep':
tclWinNotify.c:547: warning: passing arg 1 of `Sleep' as unsigned due to
prototy
pe
gcc -c -g -O2 -Wall -Wconversion -I"../.././tcl/win/../generic"
-I"../.././tcl
/win" -mwin32 -DHAVE_NO_SEH=1 -DEXCEPTION_DISPOSITION=int
-DBUILD_tcl "tclWi
nPipe.c" -o tclWinPipe.o
In file included from ../.././tcl/win/../generic/../win/tclWinPort.h:72,
from ../.././tcl/win/../generic/tclPort.h:22,
from tclWinInt.h:21,
from tclWinPipe.c:15:
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock2.h:95:2:
wa
rning: #warning "fd_set and associated macros have been defined in
sys/types.
This may cause runtime problems with W32 sockets"
tclWinPipe.c: In function `Tcl_PidObjCmd':
tclWinPipe.c:2579: warning: implicit declaration of function `getpid'
gcc -c -g -O2 -Wall -Wconversion -I"../.././tcl/win/../generic"
-I"../.././tcl
/win" -mwin32 -DHAVE_NO_SEH=1 -DEXCEPTION_DISPOSITION=int
-DBUILD_tcl "tclWi
nSock.c" -o tclWinSock.o
In file included from ../.././tcl/win/../generic/../win/tclWinPort.h:72,
from ../.././tcl/win/../generic/tclPort.h:22,
from tclWinInt.h:21,
from tclWinSock.c:14:
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock2.h:95:2:
wa
rning: #warning "fd_set and associated macros have been defined in
sys/types.
This may cause runtime problems with W32 sockets"
tclWinSock.c: In function `InitSockets':
tclWinSock.c:416: warning: passing arg 1 of pointer to function with
different w
idth due to prototype
tclWinSock.c: In function `TcpCloseProc':
tclWinSock.c:931: warning: passing arg 1 of `TclWinConvertWSAError' as
unsigned
due to prototype
tclWinSock.c: In function `CreateSocket':
tclWinSock.c:1070: warning: passing arg 1 of `TclSockMinimumBuffers' as
signed d
ue to prototype
tclWinSock.c:1130: warning: passing arg 2 of pointer to function as
signed due t
o prototype
tclWinSock.c:1141: warning: passing arg 1 of `TclWinConvertWSAError' as
unsigned
due to prototype
tclWinSock.c:1176: warning: passing arg 2 of pointer to function as
signed due t
o prototype
tclWinSock.c:1183: warning: passing arg 1 of `TclWinConvertWSAError' as
unsigned
due to prototype
tclWinSock.c: In function `CreateSocketAddress':
tclWinSock.c:1234: warning: passing arg 1 of pointer to function with
different
width due to prototype
tclWinSock.c: In function `Tcl_MakeTcpClientChannel':
tclWinSock.c:1433: warning: passing arg 1 of `TclSockMinimumBuffers' as
signed d
ue to prototype
tclWinSock.c: In function `TcpAccept':
tclWinSock.c:1617: warning: passing arg 1 of pointer to function with
different
width due to prototype
tclWinSock.c: In function `TcpInputProc':
tclWinSock.c:1725: warning: passing arg 1 of `TclWinConvertWSAError' as
unsigned
due to prototype
tclWinSock.c: In function `TcpOutputProc':
tclWinSock.c:1836: warning: passing arg 1 of `TclWinConvertWSAError' as
unsigned
due to prototype
tclWinSock.c: In function `TcpGetOptionProc':
tclWinSock.c:1932: warning: passing arg 1 of `TclWinConvertWSAError' as
unsigned
due to prototype
tclWinSock.c:1963: warning: passing arg 1 of pointer to function with
different
width due to prototype
tclWinSock.c:1978: warning: passing arg 1 of `TclWinConvertWSAError' as
unsigned
due to prototype
tclWinSock.c:2013: warning: passing arg 1 of pointer to function with
different
width due to prototype
tclWinSock.c:2022: warning: passing arg 1 of `TclWinConvertWSAError' as
unsigned
due to prototype
tclWinSock.c: In function `SocketProc':
tclWinSock.c:2268: warning: passing arg 1 of `TclWinConvertWSAError' as
unsigned
due to prototype
tclWinSock.c:2276: warning: passing arg 1 of `TclWinConvertWSAError' as
unsigned
due to prototype
tclWinSock.c: In function `TclWinNToHS':
tclWinSock.c:2449: warning: passing arg 1 of pointer to function with
different
width due to prototype
tclWinSock.c: In function `CreateSocket':
tclWinSock.c:1030: warning: 'sock' might be used uninitialized in this
function
gcc -c -g -O2 -Wall -Wconversion -I"../.././tcl/win/../generic"
-I"../.././tcl
/win" -mwin32 -DHAVE_NO_SEH=1 -DEXCEPTION_DISPOSITION=int
-DBUILD_tcl "tclWi
nThrd.c" -o tclWinThrd.o
In file included from ../.././tcl/win/../generic/../win/tclWinPort.h:72,
from ../.././tcl/win/../generic/tclPort.h:22,
from tclWinInt.h:21,
from tclWinThrd.c:15:
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock2.h:95:2:
wa
rning: #warning "fd_set and associated macros have been defined in
sys/types.
This may cause runtime problems with W32 sockets"
tclWinThrd.c:44: warning: type-punning to incomplete type might break
strict-ali
asing rules
tclWinThrd.c:44: warning: 'allocLockPtr' defined but not used
tclWinThrd.c:78: warning: 'dataKey' defined but not used
gcc -c -g -O2 -Wall -Wconversion -I"../.././tcl/win/../generic"
-I"../.././tcl
/win" -mwin32 -DHAVE_NO_SEH=1 -DEXCEPTION_DISPOSITION=int
-DBUILD_tcl "tclWi
nTime.c" -o tclWinTime.o
In file included from ../.././tcl/win/../generic/../win/tclWinPort.h:72,
from ../.././tcl/win/../generic/tclPort.h:22,
from tclWinInt.h:21,
from tclWinTime.c:15:
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock2.h:95:2:
wa
rning: #warning "fd_set and associated macros have been defined in
sys/types.
This may cause runtime problems with W32 sockets"
tclWinTime.c:108: warning: missing braces around initializer
tclWinTime.c:108: warning: (near initialization for `timeInfo.lastFileTime')
gcc -c -g -O2 -Wall -Wconversion -I"../.././tcl/win/../generic"
-I"../.././tcl
/win" -mwin32 -DHAVE_NO_SEH=1 -DEXCEPTION_DISPOSITION=int
-DBUILD_tcl "../..
/./tcl/win/../compat/strftime.c" -o strftime.o
In file included from ../.././tcl/win/../generic/../win/tclWinPort.h:72,
from ../.././tcl/win/../generic/tclPort.h:22,
from ../.././tcl/win/../compat/strftime.c:57:
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock2.h:95:2:
wa
rning: #warning "fd_set and associated macros have been defined in
sys/types.
This may cause runtime problems with W32 sockets"
gcc -c -g -O2 -Wall -Wconversion -I"../.././tcl/win/../generic"
-I"../.././tcl
/win" -mwin32 -DHAVE_NO_SEH=1 -DEXCEPTION_DISPOSITION=int
-DBUILD_tcl "../..
/./tcl/win/../compat/strtoll.c" -o strtoll.o
In file included from ../.././tcl/win/../generic/../win/tclWinPort.h:72,
from ../.././tcl/win/../generic/tclPort.h:22,
from ../.././tcl/win/../compat/strtoll.c:16:
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock2.h:95:2:
wa
rning: #warning "fd_set and associated macros have been defined in
sys/types.
This may cause runtime problems with W32 sockets"
gcc -c -g -O2 -Wall -Wconversion -I"../.././tcl/win/../generic"
-I"../.././tcl
/win" -mwin32 -DHAVE_NO_SEH=1 -DEXCEPTION_DISPOSITION=int
-DBUILD_tcl "../..
/./tcl/win/../compat/strtoull.c" -o strtoull.o
In file included from ../.././tcl/win/../generic/../win/tclWinPort.h:72,
from ../.././tcl/win/../generic/tclPort.h:22,
from ../.././tcl/win/../compat/strtoull.c:16:
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../../include/w32api/winsock2.h:95:2:
wa
rning: #warning "fd_set and associated macros have been defined in
sys/types.
This may cause runtime problems with W32 sockets"
windres -o tcl.res.o --include "../.././tcl/win/../generic" --include
"../../.
/tcl/win" "tcl.rc"
gcc -shared -g -O2 -o tcl84.dll -mwin32
-Wl,--out-implib,libtcl8
4.a regcomp.o regexec.o regfree.o regerror.o tclAlloc.o tclAsync.o
tclBasic.o tc
lBinary.o tclCkalloc.o tclClock.o tclCmdAH.o tclCmdIL.o tclCmdMZ.o
tclCompCmds.o
tclCompExpr.o tclCompile.o tclDate.o tclEncoding.o tclEnv.o tclEvent.o
tclExecu
te.o tclFCmd.o tclFileName.o tclGet.o tclHash.o tclHistory.o
tclIndexObj.o tclIn
terp.o tclIO.o tclIOCmd.o tclIOGT.o tclIOSock.o tclIOUtil.o tclLink.o
tclLiteral
.o tclListObj.o tclLoad.o tclMain.o tclNamesp.o tclNotify.o tclObj.o
tclPanic.o
tclParse.o tclParseExpr.o tclPipe.o tclPkg.o tclPosixStr.o tclPreserve.o
tclProc
.o tclRegexp.o tclResolve.o tclResult.o tclScan.o tclStringObj.o
tclStubInit.o t
clStubLib.o tclThread.o tclThreadAlloc.o tclThreadJoin.o tclTimer.o
tclUtf.o tcl
Util.o tclVar.o tclWin32Dll.o tclWinChan.o tclWinConsole.o
tclWinSerial.o tclWin
Error.o tclWinFCmd.o tclWinFile.o tclWinInit.o tclWinLoad.o
tclWinMtherr.o tclWi
nNotify.o tclWinPipe.o tclWinSock.o tclWinThrd.o tclWinTime.o
strftime.o strtol
l.o strtoull.o tcl.res.o
Creating library file: libtcl84.a
tclWin32Dll.o: In function `TclpCheckStackSpace':
/cygdrive/c/temp/insight-6.4/tcl/win/tclWin32Dll.c:364: undefined
reference to `
__except_checkstackspace_handler'
tclWinChan.o: In function `Tcl_MakeFileChannel':
/cygdrive/c/temp/insight-6.4/tcl/win/tclWinChan.c:1056: undefined
reference to `
__except_makefilechannel_handler'
tclWinFCmd.o: In function `DoCopyFile':
/cygdrive/c/temp/insight-6.4/tcl/win/tclWinFCmd.c:558: undefined
reference to `_
_except_docopyfile_handler'
tclWinFCmd.o: In function `TclpObjRenameFile':
/cygdrive/c/temp/insight-6.4/tcl/win/tclWinFCmd.c:204: undefined
reference to `_
_except_dorenamefile_handler'
collect2: ld returned 1 exit status
make[3]: *** [tcl84.dll] Error 1
make[3]: Leaving directory `/cygdrive/c/temp/insight-6.4/tcl/win'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/cygdrive/c/temp/insight-6.4/tcl'
make[1]: *** [all-tcl] Error 2
make[1]: Leaving directory `/cygdrive/c/temp/insight-6.4'
make: *** [all] Error 2