[sheepdog] [PATCH] configure: exit if urcu/uatomic.h is not found

Christoph Hellwig hch at infradead.org
Sun May 20 16:44:28 CEST 2012


We could have a local include/uatomic.h that includes either based on
which one is available, still erroring out if none is present.

I've cced the LTTng list to se if using the old uatomic_arch.h header
from outside librcu is something we should do at all.

On Sun, May 20, 2012 at 09:17:39PM +0800, Liu Yuan wrote:
> 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
> -- 
> sheepdog mailing list
> sheepdog at lists.wpkg.org
> http://lists.wpkg.org/mailman/listinfo/sheepdog
---end quoted text---



More information about the sheepdog mailing list