On 05/20/2012 10:59 AM, MORITA Kazutaka wrote: > > On my environment (debian squeeze), the package version of liburcu is > too old (0.4.1) and I cannot compile the latest sheepdog because > urcu/uatomic.h is missing. > > Is there any way to build Sheepdog with the older version of liburcu? > If no, we'd better check the existence of urcu/uatomic.h. urcu/uatomic_arch.h might be the compatible header to include, but it will issue a annoying warning for a recent version like following: /usr/include/urcu/uatomic_arch.h:1: warning: #warning "urcu/uatomic_arch.h is deprecated. Please include urcu/uatomic.h instead." Maybe we can use complex macros to check urcu version to get rid of this warning, but I think would be better use your patch directly to simplify the thing. Thanks, Yuan |