This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Compilation of 5.3 on Cygwin under Win2000
- From: "blakjak" <blakjak at singnet dot com dot sg>
- To: <insight at sources dot redhat dot com>
- Date: Sun, 15 Dec 2002 17:04:15 +0800
- Subject: Compilation of 5.3 on Cygwin under Win2000
I have faced many problems trying to compile the latest Insight GDB
under Cygwin on the Win2K platform.
I found workarounds for some but I am now stuck and seeking advise.
Here are the problems I found and solved:
1) tk/win/rc
File cursor5e.cur is corrupt in the CVS update. I found it somewhere
else on the web and updated my source.
2) itcl/itk/win/rc
Files cursor3a.cur, cursor54.cur, cursor56.cur, cursor5e.cur and
cursor76.cur are corrupt in the CVS update. I copied them over from
my tk/win/rc directory.
3) expect/pty_termios.c
Produces errors on compile. For my PC configuration lines 135 and
174 were both accessed resulting in a duplicate declaration of the
variable 'slave_name'. (Solved by commenting out one of the
declarations.)
The second error encountered was that 'slave_name' is always declared
as a static char* and it therefore cannot be assigned to another
address. This causes a problem in line 377 :
if ((slave_name = (char *)ptsname(master)) == NULL || unlockpt(master)) {
always throws up a compile error saying incompatible types in assignment.
This can be fixed by removing the static keyword in the declaration of
slave_name.
Finally the problem I cannot solve:
4) gdb/c-exp.y
When encountering the line in the makefile:
/bin/sh ../../src-5.2.1/gdb/../ylwrap "bison -y"
../../src-5.2.1/gdb/c-exp.y y.tab.c c-exp.tmp --
I get the following error:
conflicts: 14 shift/reduce, 20 reduce/reduce
/cygdrive/c/sdk/insight/output/gdb/../../src-5.2.1/gdb/c-exp.y:846.2-847.49:
war
ning: rule never reduced because of conflicts: typebase: SIGNED_KEYWORD
LONG LONG
make: *** [c-exp.tab.c] Error 1
Any help or direction you could offer me would be appreciated.
Regards,
BlakJak :]