public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
From: 好 <swdtian@163.com>
To: gdb@sourceware.org
Subject: 【question】steps to regenerate configure file 
Date: Fri, 8 Jul 2022 18:38:03 +0800 (CST)	[thread overview]
Message-ID: <27d7ad72.adff.181dd6354bf.Coremail.swdtian@163.com> (raw)

Hi ,


I want to modify some code of gdb, so I have to regenerate the configure file, but I didn't find the relevant documentation, I'm not sure which version of autogen to use? 
This is a bit confusing for newbies like me.
I am going to regenerate the configuration as follows:
```

autogen Makefile.def

autogen Makefile.tpl

aclocal

autoheader

autoconf

./configure

make
```


When I type the command    ```autogen Makefile.def```      the following error will appear,     is my step wrong?






error message:
---------------------------------------------------------------------------------------------------------------
FSM Error:  in state 5 (have_name), event 3 (var_name) is invalid
invalid transition:  in Makefile.def on line 271
token in error:  var_name:  ''flags_to_pass = { flag= LDFLAGS_FOR_BUILD ; };
flags_to_pass = {''


[[...<error-text>]]  = { flag= LDFLAGS_FOR_BUILD ; };
flags_to_pass = {


Likely causes:  a mismatched quote, a value that needs quoting,
or a missing semi-colon
Aborted
--------------------------------------------------------------------------------------------------------------

             reply	other threads:[~2022-07-08 10:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-08 10:38 好 [this message]
2022-07-10 19:47 ` Simon Marchi

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=27d7ad72.adff.181dd6354bf.Coremail.swdtian@163.com \
    --to=swdtian@163.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).