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: Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Subject: Re: [Xen-devel] Xen unstable on NetBSD
From: Roger Pau Monné <roger.pau@xxxxxxxxxxxxx>
Date: Thu, 7 Jul 2011 15:09:06 +0200
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 07 Jul 2011 06:10:18 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=/Jv6WZE4MjwqT7xGidqOmG+dcFX6pX50B6+q3n0Gu2M=; b=bYe1D+F8N7YxnKceOX3OotLbhKgRwDf8wIYvROps4cWUDhIryk2DRG+iQfhVgVtmrz GesQxVXsqvL+GT90A/9LI6FOoFHuV78QFobd3UX4/b5OUCh6DsuaEj3aMYbCCbXO+KWa MA+ibsubKzbuWpD31MJRN1OVMnPZAAOHL5cdw=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1310040040.634.217.camel@xxxxxxxxxxxxxxxxxxxxxx>
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>
References: <CAPLaKK7+kRuGU9e=L0yAM5xofBQrcDamavnFa+8R=Qgn_nzvZA@xxxxxxxxxxxxxx> <1310040040.634.217.camel@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Don't really know where that comes from, my env is:

ENV=/root/.shrc
BLOCKSIZE=1k
PWD=/root/xen-unstable.hg
HOME=/root
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R7/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin
HOST=loki
TERM=xterm
USER=root
LOGNAME=root
SU_FROM=royger
SHELL=/bin/sh

And I haven't got any specific configuration in /etc/mk.conf. The
problem comes when including /usr/pkg/include, that's where libxl.h
resides. Since I cannot find where the libraries get included I've
moved out the ones I have in /usr/pkg/include from Xen 4.1.1. (It's a
crappy solution, I know...). The compilation was able to pass the
point where it stalled before, but now I get errors in stubdom. The
trace is very long, so I've pasted it in pastebin:

http://pastebin.com/8bpxpjMT

Thanks, Roger.

2011/7/7 Ian Campbell <Ian.Campbell@xxxxxxxxxx>:
> 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
>

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

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