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

Kai Zhang kyle at zelin.io
Sat Jun 8 05:02:41 CEST 2013


I have tested this in a ubuntu vm and passed.

Did you regenerate the Makefile by ./autogen.sh and ./configure and doing 'make clean' before 'make check'?

Thanks,
Kyle

On Jun 7, 2013, at 7:23 PM, Liu Yuan <namei.unix at gmail.com> wrote:

> 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