From: Zhihua Che <zhihua.che@gmail.com>
To: Jan Kratochvil <jan.kratochvil@redhat.com>
Cc: gdb@sourceware.org
Subject: Re: [Build Error] return type defaults to 'int'
Date: Mon, 26 Mar 2012 02:52:00 -0000 [thread overview]
Message-ID: <CABexPfFcZ+Gz=_rNTc-2wSW9pXZ00ehE+hOf80tNk19JM1exUQ@mail.gmail.com> (raw)
In-Reply-To: <20120325122119.GA3636@host2.jankratochvil.net>
在 2012年3月25日 下午8:21,Jan Kratochvil <jan.kratochvil@redhat.com> 写道:
> On Sun, 25 Mar 2012 14:16:37 +0200, Zhihua Che wrote:
>> I'm building gdb using git repository and maybe find a bug.
>> After configure, several .c files are generated under <gdb-build>/gdb,
>> such as c-exp.c cp-name-parser.c, but they are all not complying with
>> c grammar. Precisely, the functions in them miss a return value, like
>> the below
>> main() { return 0;}
>
> Install flex and bison and then delete this gdb source tree, unpack it and
> rebuild again. Best rebuild your distro gdb first which will install all the
> pre-requisite build tools.
>
> I agree GDB should behave better.
>
>
> Regards,
> Jan
After installing bison,I guess I made it and it worked, maybe I missed
something during configure.
prev parent reply other threads:[~2012-03-26 2:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-25 12:16 Zhihua Che
2012-03-25 12:21 ` Jan Kratochvil
2012-03-26 2:52 ` Zhihua Che [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='CABexPfFcZ+Gz=_rNTc-2wSW9pXZ00ehE+hOf80tNk19JM1exUQ@mail.gmail.com' \
--to=zhihua.che@gmail.com \
--cc=gdb@sourceware.org \
--cc=jan.kratochvil@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).