Re: [PATCH] console_simple: fix linking error when ARCH_HAS_CTRLC enabled

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Oct 16, 2019 at 01:10:05AM +0800, iu87m888m@xxxxxx wrote:
> From: DU HUANPENG <u74147@xxxxxxxxx>
> 
> 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@xxxxxxxxx>
> ---
>  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@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux