WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Xen unstable on NetBSD

To: Roger Pau Monné <roger.pau@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Xen unstable on NetBSD
From: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Date: Thu, 7 Jul 2011 13:00:40 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 07 Jul 2011 05:02:55 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <CAPLaKK7+kRuGU9e=L0yAM5xofBQrcDamavnFa+8R=Qgn_nzvZA@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: Citrix Systems, Inc.
References: <CAPLaKK7+kRuGU9e=L0yAM5xofBQrcDamavnFa+8R=Qgn_nzvZA@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Thu, 2011-07-07 at 12:49 +0100, Roger Pau Monné wrote:
> Hello,
> 
> I'm trying to compile Xen unstable on NetBSD, I've aplied the patches
> from 
> http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/sysutils/xentools41/patches/?only_with_tag=MAIN
> and copied the blk files from
> http://cvsweb.netbsd.org/bsdweb.cgi/pkgsrc/sysutils/xentools41/files/?only_with_tag=MAIN
> (I don't know which of these patches have been applied to xen
> unstable, so I've tried to apply all of them, and copied blk files to
> /tools/blktap/drivers/ because xen was complaining about not finding
> -lblktap while compiling). After all that, when doing a "gmake dist" I
> get the following error:
> 
> gcc -DNDEBUG -O2 -DHAVE_DB_185_H -I/usr/include -I/usr/pkg/include -O1
> -fno-omit-frame-pointer -m64 -g -fno-strict-aliasing -std=gnu99 -Wall
> -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement
> -D__XEN_TOOLS__ -MMD -MF .build.d -fno-optimize-sibling-calls -fPIC
> -I../../tools/include -I../../tools/libxl -I../../tools/libxc
> -Ixen/lowlevel/xl -I/usr/pkg/include/python2.6 -c xen/lowlevel/xl/xl.c
> -o build/temp.netbsd-5.99.52-amd64-2.6/xen/lowlevel/xl/xl.o
> -fno-strict-aliasing -Werror
> In file included from xen/lowlevel/xl/xl.c:210:
> xen/lowlevel/xl/_pyxl_types.h:47: error: expected ')' before '*' token
> xen/lowlevel/xl/_pyxl_types.h:48: error: expected declaration
> specifiers or '...' before 'libxl_domid'

I suspect this is because -I/usr/include precedes -I../../tools/libxl on
your command line and you are therefore picking up an older installed
version of libxl.h which does not define libxl_domid.

Any idea why /usr/include is in (presumably) CFLAGS for you? It doesn't
look like it has come from the Xen build system (or at least I can't
find it).

Perhaps the same place as "-DHAVE_DB_185_H" which doesn't seem to be Xen
related either?

Ian.



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>