mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Sascha Hauer <s.hauer@pengutronix.de>
To: iu87m888m@qq.com
Cc: barebox@lists.infradead.org, DU HUANPENG <u74147@gmail.com>
Subject: Re: [PATCH] console_simple: fix linking error when ARCH_HAS_CTRLC enabled
Date: Fri, 18 Oct 2019 12:55:10 +0200	[thread overview]
Message-ID: <20191018105509.s6vz7xeix6gjaczw@pengutronix.de> (raw)
In-Reply-To: <1571159405-18672-1-git-send-email-iu87m888m@qq.com>

On Wed, Oct 16, 2019 at 01:10:05AM +0800, iu87m888m@qq.com wrote:
> From: DU HUANPENG <u74147@gmail.com>
> 
> this error happens in sandbox with simple console, sandbox
> has ARCH_HAS_CTRLC enabled by default
> 
> $ make sandbox_defconfig
> $ make menuconfig
> (select CONFIG_SHELL_SIMPLE)
> $ make
> 
> LD      barebox
> common/built-in.o: In function `__pr_memory_display':
> /home/du/source/barebox/common/memory_display.c:117: undefined reference to `ctrlc'
> common/built-in.o: In function `run_init':
> /home/du/source/barebox/common/startup.c:317: undefined reference to `console_ctrlc_allow'
> common/built-in.o: In function `parse_stream_outer':
> /home/du/source/barebox/common/hush.c:1742: undefined reference to `ctrlc'
> common/built-in.o: In function `run_list_real':
> /home/du/source/barebox/common/hush.c:895: undefined reference to `ctrlc'
> common/built-in.o: In function `run_shell':
> /home/du/source/barebox/common/hush.c:1940: undefined reference to `ctrlc_handled'
> 
> Signed-off-by: DU HUANPENG <u74147@gmail.com>
> ---
>  common/console_simple.c | 12 +++++++-----
>  1 file changed, 7 insertions(+), 5 deletions(-)

Applied, thanks

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

      reply	other threads:[~2019-10-18 10:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-15 17:10 iu87m888m
2019-10-18 10:55 ` Sascha Hauer [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=20191018105509.s6vz7xeix6gjaczw@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=iu87m888m@qq.com \
    --cc=u74147@gmail.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