[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Xen unstable on NetBSD


I'm trying to compile Xen unstable on NetBSD, I've aplied the patches
and copied the blk files from
(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'
xen/lowlevel/xl/_pyxl_types.h:75: error: expected ')' before '*' token
xen/lowlevel/xl/_pyxl_types.h:76: error: expected declaration
specifiers or '...' before 'libxl_domid'
xen/lowlevel/xl/_pyxl_types.h:129: error: expected ')' before '*' token
xen/lowlevel/xl/_pyxl_types.h:130: error: expected declaration
specifiers or '...' before 'libxl_domid'
xen/lowlevel/xl/_pyxl_types.h:146: error: expected ')' before '*' token
xen/lowlevel/xl/_pyxl_types.h:147: error: expected declaration
specifiers or '...' before 'libxl_domid'
xen/lowlevel/xl/_pyxl_types.h:159: error: expected ')' before '*' token
xen/lowlevel/xl/_pyxl_types.h:160: error: expected declaration
specifiers or '...' before 'libxl_domid'
xen/lowlevel/xl/_pyxl_types.h:172: error: expected ')' before '*' token
xen/lowlevel/xl/_pyxl_types.h:173: error: expected declaration
specifiers or '...' before 'libxl_domid'
xen/lowlevel/xl/_pyxl_types.h:185: error: expected ')' before '*' token
xen/lowlevel/xl/_pyxl_types.h:186: error: expected declaration
specifiers or '...' before 'libxl_domid'
xen/lowlevel/xl/_pyxl_types.h:198: error: expected ')' before '*' token
xen/lowlevel/xl/_pyxl_types.h:199: error: expected declaration
specifiers or '...' before 'libxl_domid'
xen/lowlevel/xl/xl.c:273: error: expected declaration specifiers or
'...' before 'libxl_domid'
xen/lowlevel/xl/xl.c: In function 'attrib__libxl_domid_set':
xen/lowlevel/xl/xl.c:274: error: 'domid' undeclared (first use in this function)
xen/lowlevel/xl/xl.c:274: error: (Each undeclared identifier is
reported only once
xen/lowlevel/xl/xl.c:274: error: for each function it appears in.)
xen/lowlevel/xl/xl.c: At top level:
xen/lowlevel/xl/xl.c:359: error: expected ')' before '*' token
xen/lowlevel/xl/xl.c: In function 'pyxl_domain_rename':
xen/lowlevel/xl/xl.c:483: error: too few arguments to function
cc1: warnings being treated as errors
xen/lowlevel/xl/xl.c: In function 'PyXl_init':
xen/lowlevel/xl/xl.c:681: warning: implicit declaration of function
error: command 'gcc' failed with exit status 1
gmake[3]: *** [build] Error 1
gmake[3]: Leaving directory `/root/xen-unstable.hg/tools/python'
gmake[2]: *** [subdir-install-python] Error 2
gmake[2]: Leaving directory `/root/xen-unstable.hg/tools'
gmake[1]: *** [subdirs-install] Error 2
gmake[1]: Leaving directory `/root/xen-unstable.hg/tools'
gmake: *** [install-tools] Error 2

Here is the output from gcc version:

Using built-in specs.
Target: x86_64--netbsd
Configured with: /usr/src/tools/gcc/../../gnu/dist/gcc4/configure
--target=x86_64--netbsd --enable-long-long --enable-threads
--enable-__cxa_atexit --with-tune=nocona --disable-multilib
--disable-symvers --build=x86_64-unknown-netbsd5.0.
Thread model: posix
gcc version 4.1.3 20080704 prerelease (NetBSD nb2 20081120)

If there's any other relevant info I've forget to include, I will
gladly provide it.

Thanks, Roger.

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.