Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: "Arne Steinarson" <asteinarson@gmail.com>
To: "Arne Steinarson" <asteinarson@gmail.com>, gdb@sourceware.org
Subject: Re: Building snapshot on Linux
Date: Mon, 03 Sep 2007 20:06:00 -0000	[thread overview]
Message-ID: <640960ea0709031306v5a1d01f9q643194e266ef2991@mail.gmail.com> (raw)
In-Reply-To: <20070903145225.GC7463@caradoc.them.org>

There were some remains from trying to build when flex/bison was half
installed. make clean didn't clear that. Extracting tar file again and
restarting from scratch solved it.

Compiled fine and works fine from inside Eclipse CDT.

Reason to compile this was to get support for virtual thunks in C++.
And it works.

Regards
// ATS



On 9/3/07, Daniel Jacobowitz <drow@false.org> wrote:
> On Mon, Sep 03, 2007 at 12:15:14PM +0200, Arne Steinarson wrote:
> > ar: creating libgdb.a
> > ranlib libgdb.a
> > rm -f gdb
> > gcc -g -O2       \
> >                 -o gdb gdb.o libgdb.a \
> >                    ../readline/libreadline.a ../opcodes/libopcodes.a
> > ../bfd/libbfd.a  ../libiberty/libiberty.a     -lncurses -lm  -lexpat
> > ../libiberty/libiberty.a  -ldl -rdynamic
> > libgdb.a(c-lang.o): In function `c_preprocess_and_parse':
> > /usr/src/gdb/src/gdb/c-lang.c:482: undefined reference to `c_parse'
> > libgdb.a(c-lang.o):(.rodata+0x284): undefined reference to `c_error'
> > libgdb.a(c-lang.o):(.rodata+0x304): undefined reference to `c_error'
>
> It looks to me like you have some version of a tool (bison maybe?)
> that doesn't work with GDB.  I don't know why, I haven't had this problem.
>
> --
> Daniel Jacobowitz
> CodeSourcery
>


      reply	other threads:[~2007-09-03 20:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-03 10:15 Arne Steinarson
2007-09-03 14:52 ` Daniel Jacobowitz
2007-09-03 20:06   ` Arne Steinarson [this message]

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=640960ea0709031306v5a1d01f9q643194e266ef2991@mail.gmail.com \
    --to=asteinarson@gmail.com \
    --cc=gdb@sourceware.org \
    /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