This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

A problem about building Insight under Cygwin


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]