From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22719 invoked by alias); 15 Dec 2002 17:28:10 -0000 Mailing-List: contact insight-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sources.redhat.com Received: (qmail 22699 invoked from network); 15 Dec 2002 17:28:07 -0000 Received: from unknown (HELO rwcrmhc53.attbi.com) (204.127.198.39) by 209.249.29.67 with SMTP; 15 Dec 2002 17:28:07 -0000 Received: from nkelseyhome (12-235-58-117.client.attbi.com[12.235.58.117]) by rwcrmhc53.attbi.com (rwcrmhc53) with SMTP id <20021215172708053003e9ule>; Sun, 15 Dec 2002 17:27:08 +0000 Message-ID: <002a01c2a45f$2bff8690$0a00a8c0@nkelseyhome> From: "Nick Kelsey" To: "blakjak" Cc: References: Subject: Re: Compilation of 5.3 on Cygwin under Win2000 Date: Sun, 15 Dec 2002 09:28:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-SW-Source: 2002-q4/txt/msg00197.txt.bz2 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" To: 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 :] > >