RE: [PATCH] makedumpfile: Fix a compile error on Debian with pthread

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

 



-----Original Message-----
> 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

Thanks for the patch, applied.
https://github.com/makedumpfile/makedumpfile/commit/01b4bd354c4a845c160d14487a93270cd1e22031

Kazu


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



[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux