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 ACM build error

To: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] Xen ACM build error
From: "王若曾" <ruozeng.w@xxxxxxxxx>
Date: Thu, 2 Sep 2010 11:32:58 +0800
Delivery-date: Wed, 01 Sep 2010 20:34:02 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:x-mailer:mime-version:content-type; bh=1J4iagfSQYaJ85Gz/o60eW0vel3KiU3ecvGH7YZxexI=; b=JnugpYk+aEqwnSRvuuQcYjGWip9/ketquxTTsfevVYwseE34hPtwhAYMING9Jwa1rt i3q71ZX1pjve0QmaDGlb4WzxgK3efThwuOFJllahtASdRLJhVKCsqnyML6EFWv/pYnv0 u543Jey/bWS1hZBu+/XnyjCgSGsjW+GDGFOmU=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:x-mailer:mime-version:content-type; b=splHOvME2s6UmJ+0A2vDhcllUzUT4nuv0+5rnCOTaQfG6uU8icn7Lin+aay+zTRqcJ fM1Og+78smPs97p8cFsuAaWDS1Swwnyz+V4/YkqKbPGOXxKxWG4SeJjIoPt9/hCxLaBJ vuTixa3vUZZdX5HuCeNTcoscd3fJ+BqLyrBkU=
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
Hi,
When building ACM into xen, I found this error:
 
 
acm_core.c: In function ‘acm_init’:
acm_core.c:283: error: ‘policy_buffer’ undeclared (first use in this function)
acm_core.c:283: error: (Each undeclared identifier is reported only once
acm_core.c:283: error: for each function it appears in.)
acm_core.c:283: error: ‘policy_size’ undeclared (first use in this function)
cc1: warnings being treated as errors
acm_core.c:319: warning: implicit declaration of function ‘register_xsm’
acm_core.c: At top level:
acm_core.c:325: warning: data definition has no type or storage class
acm_core.c:325: warning: type defaults to ‘int’ in declaration of ‘xsm_initcall’
acm_core.c:325: warning: parameter names (without types) in function declaration
make[4]: *** [acm_core.o] Error 1
make[4]: Leaving directory `/xen/xen-3.4.2/xen/xsm/acm'
make[3]: *** [acm/built_in.o] Error 2
make[3]: Leaving directory `/xen/xen-3.4.2/xen/xsm'
make[2]: *** [/xen/xen-3.4.2/xen/xsm/built_in.o] Error 2
make[2]: Leaving directory `/xen/xen-3.4.2/xen/arch/x86'
make[1]: *** [/xen/xen-3.4.2/xen/xen] Error 2
make[1]: Leaving directory `/xen/xen-3.4.2/xen'
make: *** [build] Error 2
 
I've checked acm_core.c , and I didn't find the declaration of "policy_buffer" and "policy_size".
 
Could anyone help?
 
OS: Ubuntu Server 8.04
XEN: 3.4.2
 
thx!
2010-09-02

Best wishes
Ruozeng W
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>