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

[Xen-devel] Xen unstable on NetBSD

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Xen unstable on NetBSD
From: Roger Pau Monné <roger.pau@xxxxxxxxxxxxx>
Date: Thu, 7 Jul 2011 13:49:07 +0200
Delivery-date: Thu, 07 Jul 2011 04:50:01 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=4JtlJsGhMMzOj9F7k7cjcq0AF3Dn6oJlRgXHFyQx09U=; b=drlwnSkIOpUPt1C6e8OxN9BJTq9wGJQsU2YtzOmGbip2n4s4kIUyV9LQc+nxv9+PZo ztsyZLfhrEkb0QPxr+LYke7PWDhhojer2I03aJ1nGAyDsS8Cdp0SPAMTbRh9PZO3E92L nye6KT8AA6N7zMHUPvzdV5oPGyP1vgYkG5utI=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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'
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
'libxl_domain_rename'
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
'libxl_ctx_alloc'
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.
--host=x86_64--netbsd
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
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

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