From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9075 invoked by alias); 23 Dec 2005 18:10:25 -0000 Received: (qmail 9068 invoked by uid 22791); 23 Dec 2005 18:10:24 -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; Fri, 23 Dec 2005 18:10:21 +0000 Received: from va208044.shef.ac.uk ([143.167.208.44] helo=Albinoni) by marmot.shef.ac.uk with esmtp (Exim 4.52) id 1EprMx-0007Ye-0b for insight@sourceware.org; Fri, 23 Dec 2005 18:10:19 +0000 Reply-To: From: "Peter Rockett" To: "'insight'" Subject: RE: FW: Can't build Insight with Cygwin Date: Fri, 23 Dec 2005 21:41:00 -0000 Message-ID: <000a01c607ec$374605d0$0300a8c0@Albinoni> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable In-Reply-To: <000901c607dd$5fb5e1c0$0300a8c0@Albinoni> 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/msg00067.txt.bz2 Now then! The story so far... I have managed (with help) to fix a couple of issues in /tcl/win - see earlier post. My problem then was that the build broke in /gdb. So I downloaded gdb 6.4 from the gdb website and lo and behold, it builds, no problems!!! Same toolset - I haven't changed anything. I have even diffed the files in the two sources that give problems and (no surprises)they are identical. Which only leaves me side-effects in the build process, I think. Completely stumped on this one! Any suggestions where I go from here? Can anybody confirm that they have definitely built Insight 6.4 with the latest cygwin tools (gcc v3.4.4)? If there's an existence proof out there, maybe there is something missing from my cygwin setup that don't cause configure/make to bomb-out but turn-out to be critical somewhere down the track. (Earlier I noticed that I needed bison and flex at some point which I hadn't downloaded.) For the record, below is the latest log of woe from trying to build in /gdb. Peter ############################################################################ ################################# $ make Making init.c mv: overwrite `init.c', overriding mode 0644? y gcc -c -g -O2 -I. -I. -I./config -DLOCALEDIR=3D"\"/usr/local/share/locale\"" -D HAVE_CONFIG_H -I./../include/opcode -I./../readline/.. -I../bfd -I./../bfd -I./. ./include -I../intl -I./../intl -DMI_OUT=3D1 -DGDBTK -Wimplicit -Wreturn-t= ype -Wc omment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wformat-nonliteral -W unused-label -Wunused-function -Wuninitialized init.c rm -f libgdb.a ar q libgdb.a i386-tdep.o i386-cygwin-tdep.o i387-tdep.o ser-base.o ser-unix.o s er-pipe.o ser-tcp.o i386-nat.o win32-nat.o corelow.o remote.o dcache.o remote-ut ils.o tracepoint.o ax-general.o ax-gdb.o remote-fileio.o cli-dump.o cli-decode. o cli-script.o cli-cmds.o cli-setshow.o cli-utils.o cli-logging.o cli-interp.o m i-out.o mi-console.o mi-cmds.o mi-cmd-env.o mi-cmd-var.o mi-cmd-break.o mi-cmd-s tack.o mi-cmd-file.o mi-cmd-disas.o mi-symbol-cmds.o mi-interp.o mi-main.o mi-pa rse.o mi-getopt.o mi-common.o gdbtk.o gdbtk-bp.o gdbtk-cmds.o gdbtk-hooks.o gdbt k-interp.o gdbtk-register.o gdbtk-stack.o gdbtk-varobj.o gdbtk-wrapper.o gdbres. o c-exp.o cp-name-parser.o objc-exp.o ada-exp.o jv-exp.o f-exp.o m2-exp.o p-exp. o version.o annotate.o auxv.o bfd-target.o blockframe.o breakpoint.o findvar.o r egcache.o charset.o disasm.o dummy-frame.o source.o value.o eval.o valops.o vala rith.o valprint.o printcmd.o block.o symtab.o symfile.o symmisc.o linespec.o dic tionary.o infcall.o infcmd.o infrun.o expprint.o environ.o stack.o thread.o exce ptions.o inf-child.o interps.o main.o macrotab.o macrocmd.o macroexp.o macroscop e.o event-loop.o event-top.o inf-loop.o completer.o gdbarch.o arch-utils.o gdbty pes.o osabi.o copying.o memattr.o mem-break.o target.o parse.o language.o builds ym.o std-regs.o signals.o kod.o kod-cisco.o gdb-events.o exec.o bcache.o objfile s.o observer.o minsyms.o maint.o demangle.o dbxread.o coffread.o coff-pe-read.o elfread.o dwarfread.o dwarf2read.o mipsread.o stabsread.o corefile.o dwarf2expr. o dwarf2loc.o dwarf2-frame.o ada-lang.o c-lang.o f-lang.o objc-lang.o ui-out.o c li-out.o varobj.o wrapper.o jv-lang.o jv-valprint.o jv-typeprint.o m2-lang.o p-l ang.o p-typeprint.o p-valprint.o scm-exp.o scm-lang.o scm-valprint.o sentinel-fr ame.o complaints.o typeprint.o ada-typeprint.o c-typeprint.o f-typeprint.o m2-ty peprint.o ada-valprint.o c-valprint.o cp-valprint.o f-valprint.o m2-valprint.o n lmread.o serial.o mdebugread.o top.o utils.o ui-file.o user-regs.o frame.o frame -unwind.o doublest.o frame-base.o gnu-v2-abi.o gnu-v3-abi.o hpacc-abi.o cp-abi.o cp-support.o cp-namespace.o reggroups.o regset.o trad-frame.o tramp-frame.o sol ib.o solib-null.o inflow.o init.o ar: creating libgdb.a ranlib libgdb.a rm -f gdb.exe gcc -g -O2 -Wl,--subsystem,console \ -o gdb.exe gdb.o libgdb.a \ ../readline/libreadline.a ../opcodes/libopcodes.a ../bfd/libbfd.a .. /libiberty/libiberty.a ../libgui/src/libgui.a -L/cygdrive/c/insight-6.4/itcl/ itcl -litcl32 -L/cygdrive/c/insight-6.4/itcl/itk -litk32 -L/cygdrive/c/insight-6 .4/tk/win -ltk84 -L/cygdrive/c/insight-6.4/tcl/win -ltcl84 -lgdi32 -lcomdlg32 -limm32 -lcomctl32 -lshell32 -ltermcap -lm -liconv ../libiberty/libiberty.a -lu ser32 -limagehlp -lshell32 -lgdi32 -lcomdlg32 -ladvapi32 libgdb.a(cp-support.o): In function `cp_canonicalize_string': /cygdrive/c/insight-6.4/gdb/cp-support.c:90: undefined reference to `_cp_demangl ed_name_to_comp' /cygdrive/c/insight-6.4/gdb/cp-support.c:94: undefined reference to `_cp_comp_to _string' libgdb.a(cp-support.o): In function `mangled_name_to_comp': /cygdrive/c/insight-6.4/gdb/cp-support.c:133: undefined reference to `_cp_demang led_name_to_comp' libgdb.a(cp-support.o): In function `cp_class_name_from_physname': /cygdrive/c/insight-6.4/gdb/cp-support.c:223: undefined reference to `_cp_comp_t o_string' libgdb.a(cp-support.o): In function `method_name_from_physname': /cygdrive/c/insight-6.4/gdb/cp-support.c:309: undefined reference to `_cp_comp_t o_string' libgdb.a(cp-support.o): In function `cp_func_name': /cygdrive/c/insight-6.4/gdb/cp-support.c:331: undefined reference to `_cp_demang led_name_to_comp' /cygdrive/c/insight-6.4/gdb/cp-support.c:339: undefined reference to `_cp_comp_t o_string' libgdb.a(cp-support.o): In function `overload_list_add_symbol': /cygdrive/c/insight-6.4/gdb/cp-support.c:360: undefined reference to `_cp_demang led_name_to_comp' /cygdrive/c/insight-6.4/gdb/cp-support.c:384: undefined reference to `_cp_comp_t o_string' libgdb.a(scm-lang.o): In function `scm_printstr': /cygdrive/c/insight-6.4/gdb/scm-lang.c:56: undefined reference to `_c_error' libgdb.a(objc-lang.o): In function `lookup_struct_typedef': /cygdrive/c/insight-6.4/gdb/objc-lang.c:99: undefined reference to `_objc_parse' /cygdrive/c/insight-6.4/gdb/objc-lang.c:102: undefined reference to `_objc_error ' libgdb.a(c-lang.o): In function `c_preprocess_and_parse': /cygdrive/c/insight-6.4/gdb/c-lang.c:472: undefined reference to `_c_parse' libgdb.a(c-lang.o): In function `c_emit_char': /cygdrive/c/insight-6.4/gdb/c-lang.c:71: undefined reference to `_c_error' /cygdrive/c/insight-6.4/gdb/c-lang.c:71: undefined reference to `_c_error' libgdb.a(c-lang.o): In function `c_printchar': /cygdrive/c/insight-6.4/gdb/c-lang.c:79: undefined reference to `_c_error' libgdb.a(c-lang.o): In function `c_printstr': /cygdrive/c/insight-6.4/gdb/c-lang.c:132: undefined reference to `_c_error' libgdb.a(ada-lang.o): In function `parse': /cygdrive/c/insight-6.4/gdb/ada-lang.c:8736: undefined reference to `_ada_parse' libgdb.a(ada-lang.o): In function `ada_print_array_index': /cygdrive/c/insight-6.4/gdb/ada-lang.c:313: undefined reference to `_ada_error' collect2: ld returned 1 exit status make: *** [gdb.exe] Error 1