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

Re: [Xen-users] Xen Flask make error



This will sound strange.

There is no definition for rcu_lock_domain_by_any_id but there is rcu_lock_domain_by_id in sched.h.

I changed that and make works fine now! :-)

On 10/15/2012 7:49 AM, Ian Campbell wrote:
On Mon, 2012-10-15 at 14:44 +0100, Daniel De Graaf wrote:
On 10/15/2012 03:57 AM, Ian Campbell wrote:
On Sun, 2012-10-14 at 07:41 +0100, Yathindra wrote:
Hi,

I'm trying to get flask work on Xen 4.3-unstable.
I enabled XSM and flask in Config.mk but make throws the following error:

flask_op.c: In function âflask_relabel_domainâ:
flask_op.c:585:5: error: implicit declaration of function 
ârcu_lock_domain_by_any_idâ [-Werror=implicit-function-declaration]
flask_op.c:585:5: error: nested extern declaration of 
ârcu_lock_domain_by_any_idâ [-Werror=nested-externs]
flask_op.c:585:7: error: assignment makes pointer from integer without a 
cast [-Werror]
cc1: all warnings being treated as errors
make[5]: *** [flask_op.o] Error 1

Please let me know how to resolve this error.
Daniel, any ideas?

This is due to a patch from my XSM series being applied out of order
(patch 4 applied before patch 3). You can fix it by either reverting
patch 4 "xsm/flask: add domain relabel support" or by applying patch
3 "xen: Add versions of rcu_lock_*_domain without IS_PRIV checks"
- included below as it is apparently missing from xen-devel archives.
Does someone on xen-devel need a prod to take #3 then?

Ian.

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

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