public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
From: Peter Rockett <p.rockett@sheffield.ac.uk>
To: insight@sources.redhat.com
Subject: Can't build Insight with Cygwin
Date: Thu, 22 Dec 2005 23:40:00 -0000	[thread overview]
Message-ID: <43AAC51C.80805@shef.ac.uk> (raw)

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

             reply	other threads:[~2005-12-22 15:24 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-22 23:40 Peter Rockett [this message]
2005-12-22 23:45 ` Peter Rockett
2005-12-23 11:58 ` Keith Seitz
2005-12-23 13:37 wilfried.fauvel
2005-12-24 18:09 Peter Rockett
2005-12-24 18:10 ` Keith Seitz
2005-12-24 23:39   ` Keith Seitz
2005-12-25  5:44     ` Christopher Faylor
2006-01-05 12:20 ` Dave Korn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43AAC51C.80805@shef.ac.uk \
    --to=p.rockett@sheffield.ac.uk \
    --cc=insight@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).