From: Andrew Cagney <ac131313@redhat.com>
To: songhui <sophiesong@eyou.com>
Cc: gdb@sources.redhat.com
Subject: Re: About bfd_elf32_xx_vec
Date: Fri, 13 Jun 2003 15:48:00 -0000 [thread overview]
Message-ID: <3EE9F0F8.8030207@redhat.com> (raw)
In-Reply-To: <20030613210948.76425.qmail@eyou.com>
> Hi,all :)
>
> I'm just beginning to port gdb to a new target.I've modified some
> configuring files and added several files such as cpu-*.c,elf32-*.c,*-tdep.c
> to support my new chip(of couse,I only changed the names of other machine's
> files). Now I can use command of "configure" to configure gdb as my target
> correctly.But when I try to make it there is alway an error that I can't get
> rid of.
This looks like more of a BINUTILS (binutils@sources.redhat.com)
question. Can you, for instance, get OBJDUMP to build?
Andrew
> libgdb.a(arch-utils.o): In function `generic_in_solib_call_trampoline':
>
> /home/tmp/gdb-5.2/gdb/arch-utils.c:111: undefined reference to
> `bfd_elf32_vp6_vec'
>
> ../bfd/libbfd.a(targets.o): In function `find_target':
>
> /home/tmp/gdb-5.2/bfd/targets.c:1062: undefined reference to
> `bfd_elf32_vp6_vec'
>
> /home/tmp/gdb-5.2/bfd/targets.c:1062: undefined reference to
> `bfd_elf32_vp6_vec'
>
> /home/tmp/gdb-5.2/bfd/targets.c:1066: undefined reference to
> `bfd_elf32_vp6_vec'
>
> collect2: ld returned 1 exit status
>
> make[1]: *** [gdb] Error 1
>
> make[1]: Leaving directory `/home/tmp/gdb-5.2/gdb'
>
> make: *** [all-gdb] Error 2
>
> *********************************************************************
>
> I do add this line to file of bfd/targets.c:
> **extern const bfd_target bfd_elf32_vp6_vec;**
>
> I'm totally a beginner not only of gdb but also of programming. Any
> response will be appreciated very much and thanks in advance.:)
>
> Sophie
>
>
>
>
>
>
>
> --http://www.eyou.com
> --Ãö¨¿Ã¿¿µÃÃâ·ÃµçÃÃÃÃ
Ãä ÃïÃôÃüþ Ãö¯Ãéé ÃÃÃú·þÃñ ÃøÃç´æ´¢...ÃÃÃÃô¾¡
>
>
>
next prev parent reply other threads:[~2003-06-13 15:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-13 13:09 songhui
2003-06-13 15:48 ` Andrew Cagney [this message]
2003-06-17 14:30 Sophie
2003-06-17 19:47 ` Andrew Cagney
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=3EE9F0F8.8030207@redhat.com \
--to=ac131313@redhat.com \
--cc=gdb@sources.redhat.com \
--cc=sophiesong@eyou.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).