makedumpfile: Fix a compile error on Debian with pthread
Subsystems (3)
PATCH 1/1 makedumpfile: Fix a compile error on Debian with pthread
From: "jiang.wang" <[email protected]>
On Debian 10, make reports errors about undefined reference to `pthread_rwlock_tryrdlock'. To fix it, put ldw before lpthread in the Makefile.
--- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Makefile +1 -1
@@ -68,7 +68,7 @@ endif CFLAGS += -DUSESNAPPY endif -LIBS := -lpthread $(LIBS) +LIBS := $(LIBS) -lpthread try-run = $(shell set -e; \ TMP=".$$$$.tmp"; \
Signature · 7 lines
2.11.0 _______________________________________________ kexec mailing list [email protected] http://lists.infradead.org/mailman/listinfo/kexec
-----Original Message-----
Quoted 25 lines
From: "jiang.wang" <[email protected]>
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 <[email protected]>--- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Makefile +1
-2@@ -68,7 +68,7 @@ endif CFLAGS += -DUSESNAPPY endif -LIBS := -lpthread $(LIBS) +LIBS := $(LIBS) -lpthread try-run = $(shell set -e; \ TMP=".$$$$.tmp"; \ --
Quoted 1 line
2.11.0
Thanks for the patch, applied.
https://github.com/makedumpfile/makedumpfile/commit/01b4bd354c4a845c160d14487a93270cd1e22031
Kazu
_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec
Awesome, thanks!
Quoted 32 lines · HAGIO KAZUHITO(萩尾 一仁)
-----Original Message-----
Quoted 25 lines
From: "jiang.wang" <[email protected]>
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 <[email protected]>--- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Makefile +1
-2@@ -68,7 +68,7 @@ endif CFLAGS += -DUSESNAPPY endif -LIBS := -lpthread $(LIBS) +LIBS := $(LIBS) -lpthread try-run = $(shell set -e; \ TMP=".$$$$.tmp"; \ --Quoted 1 line
2.11.0
Thanks for the patch, applied.
https://github.com/makedumpfile/makedumpfile/commit/01b4bd354c4a845c160d14487a93270cd1e22031
Quoted 2 lines
Kazu
_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec