[sheepdog] [PATCH v2 0/3] Introducing unittest framework to sheepdog

Liu Yuan namei.unix at gmail.com
Fri Jun 7 13:23:37 CEST 2013


On 06/07/2013 03:29 PM, Kai Zhang wrote:
> I can't reproduce this error in my environment.
> 
> However, I guess you can fix it by adding '-lpthread' to
> unittest/collie/Makefile.am and unittest/sheep/Makefile.am
> Just like this:
> -LIBS                   = $(top_srcdir)/lib/libsheepdog.a @CHECK_LIBS@
> +LIBS                   = $(top_srcdir)/lib/libsheepdog.a -lpthread     \
> +                         @CHECK_LIBS@
> 
> Could you help me test this? 
> If it works, I will send another version.
> 

'make check' have the same failure on my box, ubuntu 12.04. Add
-lpthread doesn't solve the problem.

Thanks,
Yuan




More information about the sheepdog mailing list