From: "jiang.wang" <jiang.wang@xxxxxxxxxxxxx> On Debian 10, make reports errors about undefined reference to `pthread_rwlock_tryrdlock'. To fix it, put ldw before lpthread in the Makefile. Signed-off-by: Jiang Wang <jiang.wang@xxxxxxxxxxxxx> --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index cb6bd42..010d447 100644 --- a/Makefile +++ b/Makefile @@ -68,7 +68,7 @@ endif CFLAGS += -DUSESNAPPY endif -LIBS := -lpthread $(LIBS) +LIBS := $(LIBS) -lpthread try-run = $(shell set -e; \ TMP=".$$$$.tmp"; \ -- 2.11.0 _______________________________________________ kexec mailing list kexec@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/kexec