|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] Xen unstable on NetBSD
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
|
|
|
|
|