From: Peter Barada <pbarada@mail.wm.sps.mot.com>
To: gdb@sources.redhat.com
Cc: Peter.Barada@Motorola.com
Subject: Can't build m68k-linux gdb-5.2.1
Date: Mon, 19 Aug 2002 15:54:00 -0000 [thread overview]
Message-ID: <200208192254.g7JMsMe09414@hyper.wm.sps.mot.com> (raw)
I'm trying to build a gdb for m68k-linux, configured as:
#!/bin/sh
# This file was generated automatically by configure. Do not edit.
# This directory was configured as follows:
/home/pbarada/work/cvs-wavemark/cross-linux-tools/gdb-5.2.1/configure --host=i686-pc-linux-gnu --target=m68k-linux --prefix=/tmp/cross-tools --norecursion
# using "mt-frag"
And it won't link:
gcc -g -O2 -o gdb \
main.o libgdb.a cli-decode.o cli-script.o cli-cmds.o cli-setshow.o cli-utils.o mi-out.o mi-console.o mi-cmds.o mi-cmd-var.o mi-cmd-break.o mi-cmd-stack.o mi-cmd-disas.o mi-main.o mi-parse.o mi-getopt.o ../bfd/libbfd.a ../readline/libreadline.a ../opcodes/libopcodes.a ../libiberty/libiberty.a -lncurses -lm ../libiberty/libiberty.a \
-ldl -rdynamic
libgdb.a(infrun.o): In function `handle_inferior_event':
/home/pbarada/work/cvs-wavemark/cross-linux-tools/gdb-5.2.1/gdb/infrun.c:2635: undefined reference to `m68k_linux_in_sigtramp'
/home/pbarada/work/cvs-wavemark/cross-linux-tools/gdb-5.2.1/gdb/infrun.c:2635: undefined reference to `m68k_linux_in_sigtramp'
/home/pbarada/work/cvs-wavemark/cross-linux-tools/gdb-5.2.1/gdb/infrun.c:2747: undefined reference to `m68k_linux_in_sigtramp'
libgdb.a(infrun.o): In function `check_sigtramp2':
/home/pbarada/work/cvs-wavemark/cross-linux-tools/gdb-5.2.1/gdb/infrun.c:2955: undefined reference to `m68k_linux_in_sigtramp'
/home/pbarada/work/cvs-wavemark/cross-linux-tools/gdb-5.2.1/gdb/infrun.c:2955: undefined reference to `m68k_linux_in_sigtramp'
libgdb.a(stack.o): In function `frame_info':
/home/pbarada/work/cvs-wavemark/cross-linux-tools/gdb-5.2.1/gdb/stack.c:848: undefined reference to `m68k_linux_frame_saved_pc'
libgdb.a(arch-utils.o): In function `init_frame_pc_default':
/home/pbarada/work/cvs-wavemark/cross-linux-tools/gdb-5.2.1/gdb/arch-utils.c:370: undefined reference to `m68k_linux_frame_saved_pc'
libgdb.a(m68k-tdep.o): In function `isi_frame_num_args':
/home/pbarada/work/cvs-wavemark/cross-linux-tools/gdb-5.2.1/gdb/m68k-tdep.c:107: undefined reference to `m68k_linux_frame_saved_pc'
libgdb.a(m68k-tdep.o): In function `delta68_frame_num_args':
/home/pbarada/work/cvs-wavemark/cross-linux-tools/gdb-5.2.1/gdb/m68k-tdep.c:129: undefined reference to `m68k_linux_frame_saved_pc'
libgdb.a(m68k-tdep.o): In function `news_frame_num_args':
/home/pbarada/work/cvs-wavemark/cross-linux-tools/gdb-5.2.1/gdb/m68k-tdep.c:151: undefined reference to `m68k_linux_frame_saved_pc'
libgdb.a(blockframe.o):/home/pbarada/work/cvs-wavemark/cross-linux-tools/gdb-5.2.1/gdb/blockframe.c:48: more undefined references to `m68k_linux_frame_saved_pc' follow
libgdb.a(blockframe.o): In function `create_new_frame':
/home/pbarada/work/cvs-wavemark/cross-linux-tools/gdb-5.2.1/gdb/blockframe.c:228: undefined reference to `m68k_linux_in_sigtramp'
libgdb.a(blockframe.o): In function `get_prev_frame':
/home/pbarada/work/cvs-wavemark/cross-linux-tools/gdb-5.2.1/gdb/blockframe.c:465: undefined reference to `m68k_linux_in_sigtramp'
libgdb.a(blockframe.o): In function `generic_file_frame_chain_valid':
/home/pbarada/work/cvs-wavemark/cross-linux-tools/gdb-5.2.1/gdb/blockframe.c:1197: undefined reference to `m68k_linux_frame_saved_pc'
/home/pbarada/work/cvs-wavemark/cross-linux-tools/gdb-5.2.1/gdb/blockframe.c:1202: undefined reference to `m68k_linux_frame_saved_pc'
collect2: ld returned 1 exit status
make[1]: *** [gdb] Error 1
All the missing references are in gdb/m68klinux-nat.c, so I'd assume
this is supposed to be built, but isn't for --target=m68k-linux. Does
anyone have any idea how I can get it to be built?
While I'm at it, how do I configure(and build) a gdbserver to run on
m68k-linux that's built on an x86-linux machine?
All help is appreciated.
--
Peter Barada Peter.Barada@motorola.com
Wizard 781-852-2768 (direct)
WaveMark Solutions(wholly owned by Motorola) 781-270-0193 (fax)
next reply other threads:[~2002-08-19 22:54 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-08-19 15:54 Peter Barada [this message]
2002-08-19 18:34 ` Andrew Cagney
2002-08-20 6:33 ` Peter Barada
2002-08-20 6:48 ` Andrew Cagney
2002-08-20 7:03 ` Daniel Jacobowitz
2002-08-20 7:56 ` Andrew Cagney
2002-08-20 7:51 ` Peter Barada
2002-08-19 18:53 ` Daniel Jacobowitz
2002-08-20 6:40 ` Peter Barada
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200208192254.g7JMsMe09414@hyper.wm.sps.mot.com \
--to=pbarada@mail.wm.sps.mot.com \
--cc=Peter.Barada@Motorola.com \
--cc=gdb@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox