From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1006 invoked by alias); 25 Mar 2010 07:07:15 -0000 Received: (qmail 996 invoked by uid 22791); 25 Mar 2010 07:07:13 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40 X-Spam-Check-By: sourceware.org Received: from mail-pv0-f175.google.com (HELO mail-pv0-f175.google.com) (74.125.83.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 25 Mar 2010 07:07:08 +0000 Received: by pvg13 with SMTP id 13so338837pvg.20 for ; Thu, 25 Mar 2010 00:07:06 -0700 (PDT) MIME-Version: 1.0 Received: by 10.141.213.22 with SMTP id p22mr251421rvq.131.1269500825192; Thu, 25 Mar 2010 00:07:05 -0700 (PDT) In-Reply-To: References: <4BA11802.8050909@redhat.com> From: Hui Zhu Date: Tue, 30 Mar 2010 08:29:00 -0000 Message-ID: Subject: Re: undefined reference to `set_breakpoint' To: Keith Seitz Cc: insight@sources.redhat.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact insight-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sourceware.org X-SW-Source: 2010-q1/txt/msg00047.txt.bz2 gcc -g -O2 -I. -I../../src/gdb -I../../src/gdb/common -I../../src/gdb/config -DLOCALEDIR=3D"\"/usr/local/share/locale\"" -DHAVE_CONFIG_H -I../../src/gdb/../include/opcode -I../../src/gdb/../opcodes/.. -I../../src/gdb/../readline/.. -I../bfd -I../../src/gdb/../bfd -I../../src/gdb/../include -I../libdecnumber -I../../src/gdb/../libdecnumber -I../../src/gdb/gnulib -Ignulib -DMI_OUT=3D1 -DTUI=3D1 -DGDBTK -Wall -Wdeclaration-after-statement -Wpointer-arith -Wformat-nonliteral -Wno-pointer-sign -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Werror -c -o gdbtk-bp.o -MT gdbtk-bp.o -MMD -MP -MF .deps/gdbtk-bp.Tpo -I../../src/gdb/../libgui/src -I/home/teawater/gdb/cvs/src/tcl/generic -I/home/teawater/gdb/cvs/src/tk/generic -DGDBTK_LIBRARY=3D\"/usr/local/share/insight1.0\" -DSRC_DIR=3D\"/home/teawater/gdb/cvs/src/gdb\" ../../src/gdb/gdbtk/generic/gdbtk-bp.c cc1: warnings being treated as errors ../../src/gdb/gdbtk/generic/gdbtk-bp.c: In function 'gdb_get_breakpoint_inf= o': ../../src/gdb/gdbtk/generic/gdbtk-bp.c:365: warning: passing argument 1 of 'get_breakpoint_commands' from incompatible pointer type ../../src/gdb/gdbtk/generic/gdbtk-bp.c: In function 'gdb_actions_command': ../../src/gdb/gdbtk/generic/gdbtk-bp.c:688: warning: passing argument 1 of 'free_command_lines' from incompatible pointer type ../../src/gdb/gdbtk/generic/gdbtk-bp.c: In function 'gdb_get_tracepoint_inf= o': ../../src/gdb/gdbtk/generic/gdbtk-bp.c:776: warning: assignment from incompatible pointer type make[2]: *** [gdbtk-bp.o] Error 1 make[2]: Leaving directory `/home/teawater/gdb/cvs/bgdball/gdb' make[1]: *** [all-gdb] Error 2 make[1]: Leaving directory `/home/teawater/gdb/cvs/bgdball' make: *** [all] Error 2 On Fri, Mar 19, 2010 at 17:01, Hui Zhu wrote: > It looks like another issue. > > Does this patch can check in? > > Thanks, > Hui > > On Thu, Mar 18, 2010 at 12:58, Gene Smith wrote: >> Keith Seitz wrote, On 03/17/2010 01:57 PM: >>> >>> Do you want to test the attach patch? [I'm off the rest of the week, or >>> I would probably have occasion to put it through its paces.] >>> >>> Let me know if this works -- it was okay in preliminary testing. >>> >>> Keith >> >> Built OK on/for f12-64bit native. Tried my build for mingw32 (using f12 >> cross compiler pkg that works OK for insight 6.8) and see this error when >> entering the itcl directory and apparently trying to "make all": >> >> i686-pc-mingw32-windres -o wish.res.o =A0 --include >> "../../../insight_sources/tk/win/../generic" --include >> "/home/gene/addons/insight-cvs/insight_sources/tcl/generic" --include >> "../../../insight_sources/tk/win/rc" >> ../../../insight_sources/tk/win/rc/wish.rc >> i686-pc-mingw32-gcc -g -O2 -D__USE_MINGW_ACCESS winMain.o >> "/home/gene/addons/insight-cvs/insight_build/tcl/win/libtcl84.a" libtk84= .a >> -lgdi32 -lcomdlg32 -limm32 -lcomctl32 -lshell32 \ >> =A0 =A0 =A0 =A0wish.res.o -o wish84.exe -mwindows -mwin32 >> make[3]: Leaving directory >> `/home/gene/addons/insight-cvs/insight_build/tk/win' >> make[2]: Leaving directory `/home/gene/addons/insight-cvs/insight_build/= tk' >> make[2]: Entering directory >> `/home/gene/addons/insight-cvs/insight_build/itcl' >> Making all in itcl >> make[3]: Entering directory >> `/home/gene/addons/insight-cvs/insight_build/itcl/itcl' >> make[3]: *** No rule to make target `all'. =A0Stop. >> make[3]: Leaving directory >> `/home/gene/addons/insight-cvs/insight_build/itcl/itcl' >> Making all in itk >> make[3]: Entering directory >> `/home/gene/addons/insight-cvs/insight_build/itcl/itk' >> make[3]: *** No rule to make target `all'. =A0Stop. >> make[3]: Leaving directory >> `/home/gene/addons/insight-cvs/insight_build/itcl/itk' >> Making all in iwidgets >> make[3]: Entering directory >> `/home/gene/addons/insight-cvs/insight_build/itcl/iwidgets' >> make[3]: *** No rule to make target `all'. =A0Stop. >> make[3]: Leaving directory >> `/home/gene/addons/insight-cvs/insight_build/itcl/iwidgets' >> make[3]: Entering directory >> `/home/gene/addons/insight-cvs/insight_build/itcl' >> make[3]: Nothing to be done for `all-am'. >> make[3]: Leaving directory >> `/home/gene/addons/insight-cvs/insight_build/itcl' >> make[2]: *** [all-recursive] Error 1 >> make[2]: Leaving directory >> `/home/gene/addons/insight-cvs/insight_build/itcl' >> make[1]: *** [all-itcl] Error 2 >> make[1]: Leaving directory `/home/gene/addons/insight-cvs/insight_build' >> make: *** [all] Error 2 >> >> Configured like this: >> ./configure -v --quiet --prefix=3D$PREFIX \ >> =A0 --target=3D$TARGET --enable-interwork --enable-multilib \ >> =A0 --with-gnu-ld --with-gnu-as \ >> =A0 --disable-werror \ >> =A0 --host=3Di686-pc-mingw32 --build=3Di686-pc-linux-gnu \ >> =A0 CC=3D"i686-pc-mingw32-gcc" >> >> >> >> >> >> >