* A problem about building Insight under Cygwin
@ 2004-10-20 8:37 涂�S
2004-10-20 9:32 ` Dave Korn
0 siblings, 1 reply; 4+ messages in thread
From: 涂�S @ 2004-10-20 8:37 UTC (permalink / raw)
To: insight
insight,hello!
My OS is Windows XP with sp1 and running Cygwin. I has installed activetcl8.4.7.0 on my machine.
The following is my step:
1. config the insight:
mkdir -p /tmp/build/gdb
cd /tmp/build/gdb
/src/insight-5.3/configure --target=arm-elf \
--prefix=/gnutools -v 2>&1 | tee configure.out
2.make install:
make -w all install 2>&1 | tee make.out
Then error occurs(Could anyone can help me?thanks):
/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"
/src/insight-6.1/tcl/win/tclWin32Dll.c:54: error: initializer element is not constant
/src/insight-6.1/tcl/win/tclWin32Dll.c:54: error: (near initialization for `asciiProcs.buildCommDCBProc')
/src/insight-6.1/tcl/win/tclWin32Dll.c:55: error: initializer element is not constant
/src/insight-6.1/tcl/win/tclWin32Dll.c:55: error: (near initialization for `asciiProcs.charLowerProc')
/src/insight-6.1/tcl/win/tclWin32Dll.c:56: error: initializer element is not constant
/src/insight-6.1/tcl/win/tclWin32Dll.c:56: error: (near initialization for `asciiProcs.copyFileProc')
/src/insight-6.1/tcl/win/tclWin32Dll.c:57: error: initializer element is not constant
/src/insight-6.1/tcl/win/tclWin32Dll.c:57: error: (near initialization for `asciiProcs.createDirectoryProc')
/src/insight-6.1/tcl/win/tclWin32Dll.c:59: error: initializer element is not constant
/src/insight-6.1/tcl/win/tclWin32Dll.c:59: error: (near initialization for `asciiProcs.createFileProc')
/src/insight-6.1/tcl/win/tclWin32Dll.c:62: error: initializer element is not constant
/src/insight-6.1/tcl/win/tclWin32Dll.c:62: error: (near initialization for `asciiProcs.createProcessProc')
/src/insight-6.1/tcl/win/tclWin32Dll.c:63: error: initializer element is not constant
/src/insight-6.1/tcl/win/tclWin32Dll.c:63: error: (near initialization for `asciiProcs.deleteFileProc')
/src/insight-6.1/tcl/win/tclWin32Dll.c:64: error: initializer element is not constant
/src/insight-6.1/tcl/win/tclWin32Dll.c:64: error: (near initialization for `asciiProcs.findFirstFileProc')
/src/insight-6.1/tcl/win/tclWin32Dll.c:65: error: initializer element is not constant
/src/insight-6.1/tcl/win/tclWin32Dll.c:65: error: (near initialization for `asciiProcs.findNextFileProc')
/src/insight-6.1/tcl/win/tclWin32Dll.c:66: error: initializer element is not constant
/src/insight-6.1/tcl/win/tclWin32Dll.c:66: error: (near initialization for `asciiProcs.getComputerNameProc')
/src/insight-6.1/tcl/win/tclWin32Dll.c:67: error: initializer element is not constant
/src/insight-6.1/tcl/win/tclWin32Dll.c:67: error: (near initialization for `asciiProcs.getCurrentDirectoryProc')
/src/insight-6.1/tcl/win/tclWin32Dll.c:68: error: initializer element is not constant
/src/insight-6.1/tcl/win/tclWin32Dll.c:68: error: (near initialization for `asciiProcs.getFileAttributesProc')
/src/insight-6.1/tcl/win/tclWin32Dll.c:70: error: initializer element is not constant
/src/insight-6.1/tcl/win/tclWin32Dll.c:70: error: (near initialization for `asciiProcs.getFullPathNameProc')
/src/insight-6.1/tcl/win/tclWin32Dll.c:71: error: initializer element is not constant
/src/insight-6.1/tcl/win/tclWin32Dll.c:71: error: (near initialization for `asciiProcs.getModuleFileNameProc')
/src/insight-6.1/tcl/win/tclWin32Dll.c:72: error: initializer element is not constant
/src/insight-6.1/tcl/win/tclWin32Dll.c:72: error: (near initialization for `asciiProcs.getShortPathNameProc')
/src/insight-6.1/tcl/win/tclWin32Dll.c:74: error: initializer element is not constant
/src/insight-6.1/tcl/win/tclWin32Dll.c:74: error: (near initialization for `asciiProcs.getTempFileNameProc')
/src/insight-6.1/tcl/win/tclWin32Dll.c:75: error: initializer element is not constant
/src/insight-6.1/tcl/win/tclWin32Dll.c:75: error: (near initialization for `asciiProcs.getTempPathProc')
/src/insight-6.1/tcl/win/tclWin32Dll.c:77: error: initializer element is not constant
/src/insight-6.1/tcl/win/tclWin32Dll.c:77: error: (near initialization for `asciiProcs.getVolumeInformationProc')
/src/insight-6.1/tcl/win/tclWin32Dll.c:78: error: initializer element is not constant
/src/insight-6.1/tcl/win/tclWin32Dll.c:78: error: (near initialization for `asciiProcs.loadLibraryProc')
/src/insight-6.1/tcl/win/tclWin32Dll.c:79: error: initializer element is not constant
/src/insight-6.1/tcl/win/tclWin32Dll.c:79: error: (near initialization for `asciiProcs.lstrcpyProc')
/src/insight-6.1/tcl/win/tclWin32Dll.c:80: error: initializer element is not constant
/src/insight-6.1/tcl/win/tclWin32Dll.c:80: error: (near initialization for `asciiProcs.moveFileProc')
/src/insight-6.1/tcl/win/tclWin32Dll.c:81: error: initializer element is not constant
/src/insight-6.1/tcl/win/tclWin32Dll.c:81: error: (near initialization for `asciiProcs.removeDirectoryProc')
/src/insight-6.1/tcl/win/tclWin32Dll.c:83: error: initializer element is not constant
/src/insight-6.1/tcl/win/tclWin32Dll.c:83: error: (near initialization for `asciiProcs.searchPathProc')
/src/insight-6.1/tcl/win/tclWin32Dll.c:84: error: initializer element is not constant
/src/insight-6.1/tcl/win/tclWin32Dll.c:84: error: (near initialization for `asciiProcs.setCurrentDirectoryProc')
/src/insight-6.1/tcl/win/tclWin32Dll.c:85: error: initializer element is not constant
/src/insight-6.1/tcl/win/tclWin32Dll.c:85: error: (near initialization for `asciiProcs.setFileAttributesProc')
/src/insight-6.1/tcl/win/tclWin32Dll.c:93: error: initializer element is not constant
/src/insight-6.1/tcl/win/tclWin32Dll.c:93: error: (near initialization for `unicodeProcs.buildCommDCBProc')
/src/insight-6.1/tcl/win/tclWin32Dll.c:94: error: initializer element is not constant
/src/insight-6.1/tcl/win/tclWin32Dll.c:94: error: (near initialization for `unicodeProcs.charLowerProc')
/src/insight-6.1/tcl/win/tclWin32Dll.c:95: error: initializer element is not constant
/src/insight-6.1/tcl/win/tclWin32Dll.c:95: error: (near initialization for `unicodeProcs.copyFileProc')
/src/insight-6.1/tcl/win/tclWin32Dll.c:96: error: initializer element is not constant
/src/insight-6.1/tcl/win/tclWin32Dll.c:96: error: (near initialization for `unicodeProcs.createDirectoryProc')
/src/insight-6.1/tcl/win/tclWin32Dll.c:98: error: initializer element is not constant
/src/insight-6.1/tcl/win/tclWin32Dll.c:98: error: (near initialization for `unicodeProcs.createFileProc')
/src/insight-6.1/tcl/win/tclWin32Dll.c:101: error: initializer element is not constant
/src/insight-6.1/tcl/win/tclWin32Dll.c:101: error: (near initialization for `unicodeProcs.createProcessProc')
/src/insight-6.1/tcl/win/tclWin32Dll.c:102: error: initializer element is not constant
/src/insight-6.1/tcl/win/tclWin32Dll.c:102: error: (near initialization for `unicodeProcs.deleteFileProc')
/src/insight-6.1/tcl/win/tclWin32Dll.c:103: error: initializer element is not constant
/src/insight-6.1/tcl/win/tclWin32Dll.c:103: error: (near initialization for `unicodeProcs.findFirstFileProc')
/src/insight-6.1/tcl/win/tclWin32Dll.c:104: error: initializer element is not constant
/src/insight-6.1/tcl/win/tclWin32Dll.c:104: error: (near initialization for `unicodeProcs.findNextFileProc')
/src/insight-6.1/tcl/win/tclWin32Dll.c:105: error: initializer element is not constant
/src/insight-6.1/tcl/win/tclWin32Dll.c:105: error: (near initialization for `unicodeProcs.getComputerNameProc')
/src/insight-6.1/tcl/win/tclWin32Dll.c:106: error: initializer element is not constant
/src/insight-6.1/tcl/win/tclWin32Dll.c:106: error: (near initialization for `unicodeProcs.getCurrentDirectoryProc')
/src/insight-6.1/tcl/win/tclWin32Dll.c:107: error: initializer element is not constant
/src/insight-6.1/tcl/win/tclWin32Dll.c:107: error: (near initialization for `unicodeProcs.getFileAttributesProc')
/src/insight-6.1/tcl/win/tclWin32Dll.c:109: error: initializer element is not constant
/src/insight-6.1/tcl/win/tclWin32Dll.c:109: error: (near initialization for `unicodeProcs.getFullPathNameProc')
/src/insight-6.1/tcl/win/tclWin32Dll.c:110: error: initializer element is not constant
/src/insight-6.1/tcl/win/tclWin32Dll.c:110: error: (near initialization for `unicodeProcs.getModuleFileNameProc')
/src/insight-6.1/tcl/win/tclWin32Dll.c:111: error: initializer element is not constant
/src/insight-6.1/tcl/win/tclWin32Dll.c:111: error: (near initialization for `unicodeProcs.getShortPathNameProc')
/src/insight-6.1/tcl/win/tclWin32Dll.c:113: error: initializer element is not constant
/src/insight-6.1/tcl/win/tclWin32Dll.c:113: error: (near initialization for `unicodeProcs.getTempFileNameProc')
/src/insight-6.1/tcl/win/tclWin32Dll.c:114: error: initializer element is not constant
/src/insight-6.1/tcl/win/tclWin32Dll.c:114: error: (near initialization for `unicodeProcs.getTempPathProc')
/src/insight-6.1/tcl/win/tclWin32Dll.c:116: error: initializer element is not constant
/src/insight-6.1/tcl/win/tclWin32Dll.c:116: error: (near initialization for `unicodeProcs.getVolumeInformationProc')
/src/insight-6.1/tcl/win/tclWin32Dll.c:117: error: initializer element is not constant
/src/insight-6.1/tcl/win/tclWin32Dll.c:117: error: (near initialization for `unicodeProcs.loadLibraryProc')
/src/insight-6.1/tcl/win/tclWin32Dll.c:118: error: initializer element is not constant
/src/insight-6.1/tcl/win/tclWin32Dll.c:118: error: (near initialization for `unicodeProcs.lstrcpyProc')
/src/insight-6.1/tcl/win/tclWin32Dll.c:119: error: initializer element is not constant
/src/insight-6.1/tcl/win/tclWin32Dll.c:119: error: (near initialization for `unicodeProcs.moveFileProc')
/src/insight-6.1/tcl/win/tclWin32Dll.c:120: error: initializer element is not constant
/src/insight-6.1/tcl/win/tclWin32Dll.c:120: error: (near initialization for `unicodeProcs.removeDirectoryProc')
/src/insight-6.1/tcl/win/tclWin32Dll.c:122: error: initializer element is not constant
/src/insight-6.1/tcl/win/tclWin32Dll.c:122: error: (near initialization for `unicodeProcs.searchPathProc')
/src/insight-6.1/tcl/win/tclWin32Dll.c:123: error: initializer element is not constant
/src/insight-6.1/tcl/win/tclWin32Dll.c:123: error: (near initialization for `unicodeProcs.setCurrentDirectoryProc')
/src/insight-6.1/tcl/win/tclWin32Dll.c:124: error: initializer element is not constant
/src/insight-6.1/tcl/win/tclWin32Dll.c:124: error: (near initialization for `unicodeProcs.setFileAttributesProc')
/src/insight-6.1/tcl/win/tclWin32Dll.c:41: warning: `ESP' defined but not used
/src/insight-6.1/tcl/win/tclWin32Dll.c:42: warning: `EBP' defined but not used
/src/insight-6.1/tcl/win/tclWin32Dll.c:403: warning: `_except_checkstackspace_handler' defined but not used
make[2]: *** [tclWin32Dll.o] Error 1
make[2]: Leaving directory `/build/tcl/win'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/build/tcl'
make: *** [all-tcl] Error 2
make: Leaving directory `/build'
twomol
twomol@bj1860.net
2004-10-20
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: A problem about building Insight under Cygwin
2004-10-20 8:37 A problem about building Insight under Cygwin 涂�S
@ 2004-10-20 9:32 ` Dave Korn
0 siblings, 0 replies; 4+ messages in thread
From: Dave Korn @ 2004-10-20 9:32 UTC (permalink / raw)
To: '涂�S', 'insight'
> -----Original Message-----
> From: insight-owner On Behalf Of ??
Apologies twomol, my mailer doesn't get your name right :-O I don't think
it has the right character set!
> Sent: 20 October 2004 09:37
> To: insight
> Subject: A problem about building Insight under Cygwin
> My OS is Windows XP with sp1 and running Cygwin. I
> has installed activetcl8.4.7.0 on my machine.
The activetcl should not be needed but should also do no harm.
> The following is my step:
> 1. config the insight:
> mkdir -p /tmp/build/gdb
> cd /tmp/build/gdb
> /src/insight-5.3/configure --target=arm-elf \
I'd recommend perhaps trying a more modern version, but that one is still
a fairly good version.
> --prefix=/gnutools -v 2>&1 | tee configure.out
> 2.make install:
> make -w all install 2>&1 | tee make.out
This all looks correct.
> Then error occurs(Could anyone can help me?thanks):
Yes, I found the same problem myself just the other day with building tcl
under cygwin. There is a minor problem that can be fixed by modifying the
source files a little bit. Please take a look at the post at
http://www.cygwin.com/ml/cygwin/2004-10/msg00716.html
which tells you a #define you can add. Or I think it may also work if you
update your w32api package using cygwin setup, but I haven't tried that.
cheers,
DaveK
--
Can't think of a witty .sigline today....
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: A problem about building Insight under Cygwin
2004-09-16 5:52 Kevin Yang
@ 2004-09-16 11:05 ` Dave Korn
0 siblings, 0 replies; 4+ messages in thread
From: Dave Korn @ 2004-09-16 11:05 UTC (permalink / raw)
To: 'Kevin Yang', insight
> -----Original Message-----
> From: insight-owner On Behalf Of Kevin Yang
> Sent: 16 September 2004 06:48
> I'm new to Insight. My OS is Windows XP and running Cygwin. I
> followed the
> steps described on
> http://sources.redhat.com/insight/cygwin.html to build
> the latest version of Insight,
Check what it says at the top of that page:
"Good news! The following instructions apply only to GDB 5.2.x - 5.3.x"
The page is way out of date. Check the mailing list archives:
http://sources.redhat.com/ml/insight
which have some recent discussions; search for 'cygwin'. It's much easier
to build on cygwin than it used to be. Basically you need about one patch.
Here's a couple of references to get you started.
http://sources.redhat.com/ml/insight/2004-q2/msg00032.html
http://sources.redhat.com/ml/insight/2004-q3/msg00028.html
cheers,
DaveK
--
Can't think of a witty .sigline today....
^ permalink raw reply [flat|nested] 4+ messages in thread
* A problem about building Insight under Cygwin
@ 2004-09-16 5:52 Kevin Yang
2004-09-16 11:05 ` Dave Korn
0 siblings, 1 reply; 4+ messages in thread
From: Kevin Yang @ 2004-09-16 5:52 UTC (permalink / raw)
To: insight
Hi,
I'm new to Insight. My OS is Windows XP and running Cygwin. I followed the
steps described on http://sources.redhat.com/insight/cygwin.html to build
the latest version of Insight, but errors occured. The following is my
steps.
1. login cvs server
$cvs -z9 -d:pserver:anoncvs@sources.redhat.com:/cvs/src login
2. get the copy of source codes
$cvs -z9 -d:pserver:anoncvs@sources.redhat.com:/cvs/src co
insight+dejagnu
3. revert the problematic files
4. add missing files: iwidgets.tcl and pkgIndex.tcl
5. configure
6. make
And error occurs.
../../src_cvs/gdb/gdbtk/generic/gdbtk-bp.c:208: error: `Tcl_WideInt'
undeclared
(first use in this function)
../../src_cvs/gdb/gdbtk/generic/gdbtk-bp.c:208: error: (Each undeclared
identifi
er is reported only once
../../src_cvs/gdb/gdbtk/generic/gdbtk-bp.c:208: error: for each function it
appe
ars in.)
../../src_cvs/gdb/gdbtk/generic/gdbtk-bp.c:208: error: parse error before
"waddr
"
../../src_cvs/gdb/gdbtk/generic/gdbtk-bp.c:216: warning: implicit
declaration of
function `Tcl_GetWideIntFromObj'
../../src_cvs/gdb/gdbtk/generic/gdbtk-bp.c:216: error: `waddr' undeclared
(first
use in this function)
../../src_cvs/gdb/gdbtk/generic/gdbtk-bp.c: In function
`gdb_get_breakpoint_info
':
../../src_cvs/gdb/gdbtk/generic/gdbtk-bp.c:333: warning: passing arg 1 of
`Tcl_N
ewStringObj' discards qualifiers from pointer target type
../../src_cvs/gdb/gdbtk/generic/gdbtk-bp.c: In function `gdb_set_bp_addr':
../../src_cvs/gdb/gdbtk/generic/gdbtk-bp.c:566: error: `Tcl_WideInt'
undeclared
(first use in this function)
../../src_cvs/gdb/gdbtk/generic/gdbtk-bp.c:566: error: parse error before
"waddr
"
../../src_cvs/gdb/gdbtk/generic/gdbtk-bp.c:577: error: `waddr' undeclared
(first
use in this function)
../../src_cvs/gdb/gdbtk/generic/gdbtk-bp.c: In function
`gdb_get_tracepoint_info
':
../../src_cvs/gdb/gdbtk/generic/gdbtk-bp.c:842: warning: passing arg 1 of
`Tcl_N
ewStringObj' discards qualifiers from pointer target type
make[1]: *** [gdbtk-bp.o] Error 1
make[1]: Leaving directory
`/cygdrive/d/project/insight/insight-5.3/build/gdb'
make: *** [all-gdb] Error 2
Would you please give me some hints about this? Thanks.
Best Regards,
Kevin Yang
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-10-20 9:32 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-20 8:37 A problem about building Insight under Cygwin 涂�S
2004-10-20 9:32 ` Dave Korn
-- strict thread matches above, loose matches on Subject: below --
2004-09-16 5:52 Kevin Yang
2004-09-16 11:05 ` 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).