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-api

RE: [Xen-API] Latest version (cs 499) does not compile

To: Andreas Florath <xen@xxxxxxxxxxxx>, "xen-api@xxxxxxxxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-API] Latest version (cs 499) does not compile
From: Dave Scott <Dave.Scott@xxxxxxxxxxxxx>
Date: Mon, 16 Nov 2009 18:05:28 +0000
Accept-language: en-US
Acceptlanguage: en-US
Cc:
Delivery-date: Mon, 16 Nov 2009 10:05:32 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20091116170825.wrusv8k68g0gk000@xxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
References: <20091116170825.wrusv8k68g0gk000@xxxxxxxxxxxxxxxxxxx>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acpm1w4eWYadfTyaR9+sWOVSUj/x6AADh/nu
Thread-topic: [Xen-API] Latest version (cs 499) does not compile
Hi Andreas,

The root cause of the failure is that xen-api.hg currently requires changes in 
the XCP xen patch queue.

The quickest way to get started is to use the pre-prepared 'build VM' which has 
all the headers etc. Check out:
http://xenbits.xen.org/xapi/install.html

The second quickest way would be to compile the modified xen yourself. Try:

hg clone http://xenbits.xensource.com/xen-3.4-testing.hg
cd xen-3.4-testing.hg/
hg clone http://xenbits.xen.org/xapi/xen-3.4.pq.hg .hg/patches
hg update -r RELEASE-3.4.1
hg qpush -a
(and then compile)

The slowest way to proceed would be to figure out what's changed between xen 
3.4.1+patchqueue and xen-unstable. We could then either add compat code in 
xen-api.hg or perhaps move forward to the new interfaces/ function signatures.

Dave
________________________________________
From: xen-api-bounces@xxxxxxxxxxxxxxxxxxx [xen-api-bounces@xxxxxxxxxxxxxxxxxxx] 
On Behalf Of Andreas Florath [xen@xxxxxxxxxxxx]
Sent: 16 November 2009 16:08
To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] Latest version (cs 499) does not compile

Hello!

Trying to compile the latest version of Everything:
xen-unstable: changeset 20453
xen-api-libs: changeset 55
xen-api: changeset 499

on a i686 Debian 5.0.2 based Linux, compiling stops with:

+ gcc -g -O2 -I/opt/xensource/lib/ocaml -I/usr/include -I. -c -o
xenguest_stubs.o xenguest_stubs.c
xenguest_stubs.c: In function ?hvm_build_set_params?:
xenguest_stubs.c:303: error: ?struct hvm_info_table? has no member
named ?s4_enabled?
xenguest_stubs.c:304: error: ?struct hvm_info_table? has no member
named ?s3_enabled?
xenguest_stubs.c: In function ?stub_xc_domain_save?:
xenguest_stubs.c:392: warning: passing argument 7 of ?xc_domain_save?
from incompatible pointer type
xenguest_stubs.c:392: warning: passing argument 9 of ?xc_domain_save?
from incompatible pointer type
xenguest_stubs.c:392: error: too many arguments to function ?xc_domain_save?
xenguest_stubs.c: In function ?stub_xc_domain_restore?:
xenguest_stubs.c:446: error: too few arguments to function ?xc_domain_restore?
*** omake: 920/2630 targets are up to date
*** omake: failed (16.0 sec, 109/149 scans, 155/439 rules, 778/2831 digests)
*** omake: targets were not rebuilt because of errors:
    ocaml/xenguest/xenguest_stubs.o
       depends on: ocaml/xenguest/xenguest_stubs.c
make: *** [all] Error 1

Where / How to fix this problem?

Kind regards - Andreas


_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api

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