This is the mail archive of the insight@sourceware.org mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: undefined reference to `set_breakpoint'


gcc -g -O2   -I. -I../../src/gdb -I../../src/gdb/common
-I../../src/gdb/config -DLOCALEDIR="\"/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=1 -DTUI=1  -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=\"/usr/local/share/insight1.0\"
-DSRC_DIR=\"/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_info':
../../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_info':
../../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 <teawater@gmail.com> wrote:
> It looks like another issue.
>
> Does this patch can check in?
>
> Thanks,
> Hui
>
> On Thu, Mar 18, 2010 at 12:58, Gene Smith <gds@chartertn.net> 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 ? --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 \
>> ? ? ? ?wish.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'. ?Stop.
>> 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'. ?Stop.
>> 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'. ?Stop.
>> 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=$PREFIX \
>> ? --target=$TARGET --enable-interwork --enable-multilib \
>> ? --with-gnu-ld --with-gnu-as \
>> ? --disable-werror \
>> ? --host=i686-pc-mingw32 --build=i686-pc-linux-gnu \
>> ? CC="i686-pc-mingw32-gcc"
>>
>>
>>
>>
>>
>>
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]