From: Miguel Clara Subject: Re: tools/misc/xencov.c: build failure on NetBSD Date: Wed, 22 May 2013 23:43:27 +0000 (UTC) Message-ID: References: <51923657.6080307@amazon.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Christoph Egger amazon.de> writes: > > Hi, > > tools/misc/xencov.c fails to build. > NetBSD does not have MAP_LOCKED. > > Christoph > I wanted to test 4.3 on NetBSD but ended up with this problem too... In fact this happened before in other parts of the code... http://lists.xen.org/archives/html/xen-devel/2012-06/msg00576.html I guess this would fix it... #ifdef __NetBSD__ /* MAP_LOCKED is Linux specific. MAP_WIRED is NetBSD's equivalent. */ #define MAP_LOCKED MAP_WIRED #endif Sadly I came across another error, still searching if it was already posted, otherwise I will!