From 3a2aa71ee2c7138f8663412fa7d9baffe483b81c Mon Sep 17 00:00:00 2001 From: Krishna Kanth Reddy Date: Wed, 7 Jul 2021 14:52:45 +0530 Subject: [PATCH] ARM64: Cross-Compilation Support Undefined references to the ncurses library APIs _nc_panelhook_sp, getmouse, ungetmouse, copywin etc. while cross-compiling with aarch64-none-linux-gnu/10.2.1 compiler. Hence putting the libraries in the right link order. Signed-off-by: Krishna Kanth Reddy Change-Id: If019744cf6b7bf79c072de57232bcf412d919a2b Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/8701 Tested-by: SPDK CI Jenkins Community-CI: Broadcom CI Community-CI: Mellanox Build Bot Reviewed-by: Shuhei Matsumoto Reviewed-by: Aleksey Marchuk --- app/spdk_top/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/spdk_top/Makefile b/app/spdk_top/Makefile index e2b58bffc8..c1f9846802 100644 --- a/app/spdk_top/Makefile +++ b/app/spdk_top/Makefile @@ -39,6 +39,6 @@ APP = spdk_top C_SRCS := spdk_top.c SPDK_LIB_LIST = rpc -LIBS=-lncurses -lpanel -lmenu +LIBS=-lpanel -lmenu -lncurses include $(SPDK_ROOT_DIR)/mk/spdk.app.mk