This is the mail archive of the
insight@sourceware.org
mailing list for the Insight project.
RE: Can't build Insight with Cygwin
- From: "Peter Rockett" <p dot rockett at sheffield dot ac dot uk>
- To: <insight at sources dot redhat dot com>
- Date: Sat, 24 Dec 2005 14:00:59 -0000
- Subject: RE: Can't build Insight with Cygwin
- Reply-to: <p dot rockett at sheffield dot ac dot uk>
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
>
>
> Peter Rockett wrote:
>
> > Can anybody confirm that they have definitely built Insight
> 6.4 with
> > the latest cygwin tools (gcc v3.4.4)?
>
> In case it gets lost, I have definitely built Cygwin native on Win2k
> using latest (this AM) cygwin & gcc (using the patches mentioned
> earlier. Now onto your other problem...
>
> > undefined reference to `_cp_demangled_name_to_comp' undefined
> > reference to `_cp_comp_to_string'
>
> Both are from cp-names.y and declared in cp-support.h.
>
> > undefined reference to `_objc_parse'
> > undefined reference to `_objc_error'
> > undefined reference to `_c_error'
>
> All from in c-exp.y and declared in objc_lang.h and c_lang.h.
>
> > undefined reference to `_ada_parse'
>
> From ada-exp.y and ada-lang.h.
>
> Do you have yacc or bison installed? Do the files
> BUILDDIR/gdb/{ada,c,cp,jv}-exp.c exist? Are build errors around this?
> [Try removing those C files from the build dir and then make again.]
>
> Keith
>