From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26866 invoked by alias); 24 Dec 2005 14:00:20 -0000 Received: (qmail 26858 invoked by uid 22791); 24 Dec 2005 14:00:19 -0000 X-Spam-Check-By: sourceware.org Received: from marmot.shef.ac.uk (HELO marmot.shef.ac.uk) (143.167.1.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sat, 24 Dec 2005 14:00:18 +0000 Received: from va216052.shef.ac.uk ([143.167.216.52] helo=Albinoni) by marmot.shef.ac.uk with esmtp (Exim 4.52) id 1Eq9wW-00013F-AA for insight@sources.redhat.com; Sat, 24 Dec 2005 14:00:16 +0000 Reply-To: From: "Peter Rockett" To: Subject: RE: Can't build Insight with Cygwin Date: Sat, 24 Dec 2005 18:09:00 -0000 Message-ID: <005501c60892$77d234b0$0200a8c0@Albinoni> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-S0phie-Scan: No Mailing-List: contact insight-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sourceware.org X-SW-Source: 2005-q4/txt/msg00074.txt.bz2 Success!!!! Not sure what I was doing but I think the files may have been left in some sort of limbo state by my first attempts at building when I didn't have bison and flex installed. (Although I thought I had cleaned and periodically recreated the directory from the .bz2 file... but it's all beginning to blur now.) Having delved into it, it's obvious now that I needed bison and flex but it wasn't in the beginning. Basically, I recreated the insight-6.4 directory and downloaded the cygwin tools afresh. For cygwin, I opted for the default (base) selection together with gcc, make, bison, flex, tcl/tk, autoconf and automake as well as any dependencies the cygwin installer threw up. Then it built first time! Maybe this list of packages could creep back into the docs as a recommended cygwin install? (BTW: Just discovered that Insight 6.3.50 is included prebuilt in the cygwin stuff under the gdb package as well as in the mingw downloads). Final point: Why does the Windows firewall chuck-up a message box when I start Insight? What is Insight trying to do that should concern the firewall? Many thanks for all the help, guys! Peter > -----Original Message----- > From: Keith Seitz [mailto:keiths@redhat.com] > Sent: 23 December 2005 23:19 > To: p.rockett@sheffield.ac.uk > Cc: 'insight' > Subject: Re: FW: Can't build Insight with Cygwin >=20 >=20 > Peter Rockett wrote: >=20 > > Can anybody confirm that they have definitely built Insight > 6.4 with > > the latest cygwin tools (gcc v3.4.4)? >=20 > In case it gets lost, I have definitely built Cygwin native on Win2k > using latest (this AM) cygwin & gcc (using the patches mentioned=20 > earlier. Now onto your other problem... >=20 > > undefined reference to `_cp_demangled_name_to_comp' undefined=20 > > reference to `_cp_comp_to_string' >=20 > Both are from cp-names.y and declared in cp-support.h. >=20 > > undefined reference to `_objc_parse' > > undefined reference to `_objc_error' > > undefined reference to `_c_error' >=20 > All from in c-exp.y and declared in objc_lang.h and c_lang.h. >=20 > > undefined reference to `_ada_parse' >=20 > From ada-exp.y and ada-lang.h. >=20 > Do you have yacc or bison installed? Do the files > BUILDDIR/gdb/{ada,c,cp,jv}-exp.c exist? Are build errors around this?=20 > [Try removing those C files from the build dir and then make again.] >=20 > Keith >=20