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

Kai Zhang kyle at zelin.io
Fri Jun 7 09:29:17 CEST 2013


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.

Thanks,
Kyle


On Jun 7, 2013, at 7:34 AM, MORITA Kazutaka <morita.kazutaka at gmail.com> wrote:

> undefined reference to `pthread_create'

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/sheepdog/attachments/20130607/91b12e55/attachment-0004.html>


More information about the sheepdog mailing list