Compilation of 5.3 on Cygwin under Win2000
Nick Kelsey
nickk@ubicom.com
Sun Dec 15 09:28:00 GMT 2002
Hi,
#4 - The Cygwin install uses a newer version of Bison that doesn't seam to
like gcc or gdb much. Run the cygwin install again and under Devel, Bison,
choose version 1.35-1.
I havn't looked in to the root cause at all though.
Nick
----- Original Message -----
From: "blakjak" <blakjak@singnet.com.sg>
To: <jafa@silicondust.com>
Sent: Sunday, December 15, 2002 1:07 AM
Subject: Compilation of 5.3 on Cygwin under Win2000
> *This message was transferred with a trial version of CommuniGate(tm) Pro*
> 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 :]
>
>
More information about the Insight
mailing list