* Xen ACM build error
@ 2010-09-02 3:32 王若曾
2010-09-02 12:42 ` Keir Fraser
0 siblings, 1 reply; 2+ messages in thread
From: 王若曾 @ 2010-09-02 3:32 UTC (permalink / raw)
To: xen-devel@lists.xensource.com
[-- Attachment #1.1: Type: text/plain, Size: 1409 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 2343 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Xen ACM build error
2010-09-02 3:32 Xen ACM build error 王若曾
@ 2010-09-02 12:42 ` Keir Fraser
0 siblings, 0 replies; 2+ messages in thread
From: Keir Fraser @ 2010-09-02 12:42 UTC (permalink / raw)
To: 王若曾, xen-devel@lists.xensource.com
Probably you did not set XSM_ENABLE=y as well as ACM_SECURITY=y. You need
both or the build fails as you have seen.
K.
On 02/09/2010 04:32, "王若曾" <ruozeng.w@gmail.com> wrote:
> 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
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-09-02 12:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-02 3:32 Xen ACM build error 王若曾
2010-09-02 12:42 ` Keir Fraser
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.