public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* Can't build Insight with Cygwin
@ 2005-12-22 23:40 Peter Rockett
  2005-12-22 23:45 ` Peter Rockett
  2005-12-23 11:58 ` Keith Seitz
  0 siblings, 2 replies; 9+ messages in thread
From: Peter Rockett @ 2005-12-22 23:40 UTC (permalink / raw)
  To: insight

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

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

* RE: Can't build Insight with Cygwin
  2005-12-22 23:40 Can't build Insight with Cygwin Peter Rockett
@ 2005-12-22 23:45 ` Peter Rockett
  2005-12-23 11:58 ` Keith Seitz
  1 sibling, 0 replies; 9+ messages in thread
From: Peter Rockett @ 2005-12-22 23:45 UTC (permalink / raw)
  To: insight

Further to this, I have grepped my way through the source and I cannot see
how the missing symbols:

__except_checkstackspace_handler
__except_makefilechannel_handler
_except_docopyfile_handler
_except_dorenamefile_handler

in ../tcl/win/tclWin32Dll.c could possibly be resolved. Obvious question:
Has anybody ever built this version under Windows prior to release? My guess
is that there is a file missing from the ../tcl/win directory...

Peter

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

* Re: Can't build Insight with Cygwin
  2005-12-22 23:40 Can't build Insight with Cygwin Peter Rockett
  2005-12-22 23:45 ` Peter Rockett
@ 2005-12-23 11:58 ` Keith Seitz
  1 sibling, 0 replies; 9+ messages in thread
From: Keith Seitz @ 2005-12-23 11:58 UTC (permalink / raw)
  To: Peter Rockett; +Cc: insight

Peter Rockett wrote:
> I too cannot build Insight with cygwin although I seem to get a 
> different problem from Eigil. Any ideas?
[snip]
> 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'

Hmm. I'm afraid I can't say much more than I did to the other poster 
experiencing build problems. I know "It works for me" isn't particularly 
helpful, but I can do little more.

I'm building on Win2k using Cygwin 1.5.16(0.128/4/2) using gcc 3.3.3 
(cygwin special) [aka the setup-supplied compiler].

What are you using?

BTW, I don't know if any one builds insight for cygwin with any 
regularity. I'm a linux user, and I don't often turn on my 500MHz cygwin 
PC. Insight "releases" are tied to GDB releases: insight is 
automatically released when GDB is. I have no say about when an insight 
release is made. I simply make the tarball and play with linux a bit.

Keith

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

* RE: Can't build Insight with Cygwin
  2005-12-24 18:09 Peter Rockett
  2005-12-24 18:10 ` Keith Seitz
@ 2006-01-05 12:20 ` Dave Korn
  1 sibling, 0 replies; 9+ messages in thread
From: Dave Korn @ 2006-01-05 12:20 UTC (permalink / raw)
  To: p.rockett, insight

Peter Rockett wrote:

> 
> Final point: Why does the Windows firewall chuck-up a message box when I
> start Insight? What is Insight trying to do that should concern the
> firewall?

  It's a local-only loopback connection.  Many of the windows internal
components are implemented as RPC services (or to be precise, COM objects
accessed by RPC interfaces).  It's nothing to worry about.



    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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

* Re: Can't build Insight with Cygwin
  2005-12-24 23:39   ` Keith Seitz
@ 2005-12-25  5:44     ` Christopher Faylor
  0 siblings, 0 replies; 9+ messages in thread
From: Christopher Faylor @ 2005-12-25  5:44 UTC (permalink / raw)
  To: insight

On Sat, Dec 24, 2005 at 10:09:02AM -0800, Keith Seitz wrote:
>(I presume people who want to build Insight are savvy enough to have
>gcc & friends installed).

You do realize that we're talking about *cygwin* users here right?

cgf

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

* Re: Can't build Insight with Cygwin
  2005-12-24 18:10 ` Keith Seitz
@ 2005-12-24 23:39   ` Keith Seitz
  2005-12-25  5:44     ` Christopher Faylor
  0 siblings, 1 reply; 9+ messages in thread
From: Keith Seitz @ 2005-12-24 23:39 UTC (permalink / raw)
  To: p.rockett; +Cc: insight

Keith Seitz wrote:

>> Not sure what I was doing but I think the files may have been left in some
>> sort of limbo state by my first attempts at building when I didn't have
>> bison and flex installed. (Although I thought I had cleaned and periodically
>> recreated the directory from the .bz2 file... but it's all beginning to blur
>> now.) Having delved into it, it's obvious now that I needed bison and flex
>> but it wasn't in the beginning.

BTW, if you send me a list of packages that you needed to install for 
cygwin, I'll add an FAQ question for it.

Off the top my my head, I'm sure the list would include: gettext, 
gettext-devel, flex, and bison (I presume people who want to build 
Insight are savvy enough to have gcc & friends installed).

Anything else?
Keith

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

* Re: Can't build Insight with Cygwin
  2005-12-24 18:09 Peter Rockett
@ 2005-12-24 18:10 ` Keith Seitz
  2005-12-24 23:39   ` Keith Seitz
  2006-01-05 12:20 ` Dave Korn
  1 sibling, 1 reply; 9+ messages in thread
From: Keith Seitz @ 2005-12-24 18:10 UTC (permalink / raw)
  To: p.rockett; +Cc: insight

Peter Rockett wrote:
> Success!!!!

Excellent!

> Not sure what I was doing but I think the files may have been left in some
> sort of limbo state by my first attempts at building when I didn't have
> bison and flex installed. (Although I thought I had cleaned and periodically
> recreated the directory from the .bz2 file... but it's all beginning to blur
> now.) Having delved into it, it's obvious now that I needed bison and flex
> but it wasn't in the beginning.

FWIW (and I don't know if you are doing this), I *never* build in the 
source directory. I always maintain the integrity of the pristine 
source. The FAQ on the website covers this.

> (BTW: Just discovered that Insight 6.3.50 is included prebuilt in the cygwin
> stuff under the gdb package as well as in the mingw downloads).

Yeah -- insight *is* gdb, and as long as Chris or Corinna or one of the 
other in-the-knows keeps releasing gdb, the gdb package will always 
include insight.

> Final point: Why does the Windows firewall chuck-up a message box when I
> start Insight? What is Insight trying to do that should concern the
> firewall?

I can only think of one thing off the top of my head: IPC. Is it 
attempting to accept connections on port tcp/9909? If so, it's because 
Insight is opening a server socket which allows multiple insight 
instances to communicate with each other.

You can disable this be unsetting "gdb/ipc/enabled" in 
src/gdb/gdbtk/library/prefs.tcl or in your preference file (~/.gdbtkinit 
or ~/gdbtk.ini).

Keith

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

* RE: Can't build Insight with Cygwin
@ 2005-12-24 18:09 Peter Rockett
  2005-12-24 18:10 ` Keith Seitz
  2006-01-05 12:20 ` Dave Korn
  0 siblings, 2 replies; 9+ messages in thread
From: Peter Rockett @ 2005-12-24 18:09 UTC (permalink / raw)
  To: insight

Success!!!!

Not sure what I was doing but I think the files may have been left in some
sort of limbo state by my first attempts at building when I didn't have
bison and flex installed. (Although I thought I had cleaned and periodically
recreated the directory from the .bz2 file... but it's all beginning to blur
now.) Having delved into it, it's obvious now that I needed bison and flex
but it wasn't in the beginning.
Basically, I recreated the insight-6.4 directory and downloaded the cygwin
tools afresh. For cygwin, I opted for the default (base) selection together
with gcc, make, bison, flex, tcl/tk, autoconf and automake as well as any
dependencies the cygwin installer threw up. Then it built first time! Maybe
this list of packages could creep back into the docs as a recommended cygwin
install?

(BTW: Just discovered that Insight 6.3.50 is included prebuilt in the cygwin
stuff under the gdb package as well as in the mingw downloads).

Final point: Why does the Windows firewall chuck-up a message box when I
start Insight? What is Insight trying to do that should concern the
firewall?
Many thanks for all the help, guys!


Peter



> -----Original Message-----
> From: Keith Seitz [mailto:keiths@redhat.com]
> Sent: 23 December 2005 23:19
> To: p.rockett@sheffield.ac.uk
> Cc: 'insight'
> Subject: Re: FW: Can't build Insight with Cygwin
> 
> 
> Peter Rockett wrote:
> 
> > Can anybody confirm that they have definitely built Insight
> 6.4 with
> > the latest cygwin tools (gcc v3.4.4)?
> 
> In case it gets lost, I have definitely built Cygwin native on Win2k
> using latest (this AM) cygwin & gcc (using the patches mentioned 
> earlier. Now onto your other problem...
> 
> > undefined reference to `_cp_demangled_name_to_comp' undefined 
> > reference to `_cp_comp_to_string'
> 
> Both are from cp-names.y and declared in cp-support.h.
> 
> > undefined reference to `_objc_parse'
> > undefined reference to `_objc_error'
> > undefined reference to `_c_error'
> 
> All from in c-exp.y and declared in objc_lang.h and c_lang.h.
> 
> > undefined reference to `_ada_parse'
> 
> From ada-exp.y and ada-lang.h.
> 
> Do you have yacc or bison installed? Do the files
> BUILDDIR/gdb/{ada,c,cp,jv}-exp.c exist? Are build errors around this? 
> [Try removing those C files from the build dir and then make again.]
> 
> Keith
> 

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

* Re: Can't build Insight with Cygwin
@ 2005-12-23 13:37 wilfried.fauvel
  0 siblings, 0 replies; 9+ messages in thread
From: wilfried.fauvel @ 2005-12-23 13:37 UTC (permalink / raw)
  To: keiths; +Cc: insight

Hi,
I have do it with using the following link : http://sourceware.org/ml/insight/2005-q3/msg00021.html
@+

 > Peter Rockett wrote:
> > I too cannot build Insight with cygwin although I seem to get a
> > different problem from Eigil. Any ideas?
> [snip]
> > 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'
>
> Hmm. I'm afraid I can't say much more than I did to the other poster
> experiencing build problems. I know "It works for me" isn't particularly
> helpful, but I can do little more.
>
> I'm building on Win2k using Cygwin 1.5.16(0.128/4/2) using gcc 3.3.3
> (cygwin special) [aka the setup-supplied compiler].
>
> What are you using?
>
> BTW, I don't know if any one builds insight for cygwin with any
> regularity. I'm a linux user, and I don't often turn on my 500MHz cygwin
> PC. Insight "releases" are tied to GDB releases: insight is
> automatically released when GDB is. I have no say about when an insight
> release is made. I simply make the tarball and play with linux a bit.
>
> Keith

Accédez au courrier électronique de La Poste : www.laposte.net ;
Jusqu'au 25 décembre, participez  au grand jeu du Calendrier de l'Avent et
 gagnez tous les jours de nombreux lots, + de 300 cadeaux en jeu !



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

end of thread, other threads:[~2006-01-05 12:20 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-22 23:40 Can't build Insight with Cygwin Peter Rockett
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

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).