* Compilation error with dist-tools
@ 2013-10-27 9:57 Vaibhav Bedia
2013-10-31 12:51 ` Ian Campbell
0 siblings, 1 reply; 2+ messages in thread
From: Vaibhav Bedia @ 2013-10-27 9:57 UTC (permalink / raw)
To: List Xen Developer
Hi,
Compilation of the xen tools natively on an ARM Ubuntu system
fails with the following message:
make[7]: Leaving directory `/home/ubuntu/xen/tools/ocaml/libs/mmap'
make[6]: Leaving directory `/home/ubuntu/xen/tools/ocaml/libs'
make[6]: Entering directory `/home/ubuntu/xen/tools/ocaml/libs'
make -C xc install
make[7]: Entering directory `/home/ubuntu/xen/tools/ocaml/libs/xc'
CC xenctrl_stubs.o
xenctrl_stubs.c: In function ?‘stub_xc_domain_cpuid_set?’:
xenctrl_stubs.c:741:2: error: implicit declaration of function
?‘xc_cpuid_set?’ [-Werror=implicit-function-declaration]
xenctrl_stubs.c: In function ?‘stub_xc_domain_cpuid_apply_policy?’:
xenctrl_stubs.c:753:2: error: implicit declaration of function
?‘xc_cpuid_apply_policy?’ [-Werror=implicit-function-declaratio ]
xenctrl_stubs.c: In function ?‘stub_xc_cpuid_check?’:
xenctrl_stubs.c:787:2: error: implicit declaration of function
?‘xc_cpuid_check?’ [-Werror=implicit-function-declaration]
cc1: all warnings being treated as errors
make[7]: *** [xenctrl_stubs.o] Error 1
make[7]: Leaving directory `/home/ubuntu/xen/tools/ocaml/libs/xc'
make[6]: *** [subdir-install-xc] Error 2
make[6]: Leaving directory `/home/ubuntu/xen/tools/ocaml/libs'
make[5]: *** [subdirs-install] Error 2
make[5]: Leaving directory `/home/ubuntu/xen/tools/ocaml/libs'
make[4]: *** [subdir-install-libs] Error 2
make[4]: Leaving directory `/home/ubuntu/xen/tools/ocaml'
make[3]: *** [subdirs-install] Error 2
make[3]: Leaving directory `/home/ubuntu/xen/tools/ocaml'
make[2]: *** [subdir-install-ocaml] Error 2
make[2]: Leaving directory `/home/ubuntu/xen/tools'
make[1]: *** [subdirs-install] Error 2
make[1]: Leaving directory `/home/ubuntu/xen/tools'
make: *** [install-tools] Error 2
This on the current master branch with the topmost commit being:
commit 85c891961bf63943fc975b971f25fb90c25def0a
Author: Ian Campbell <ian.campbell@citrix.com>
Date: Mon Oct 7 17:39:53 2013 +0100
xenctx: fix typo in arm64 output
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Julien Grall <julien.grall@linaro.org>
Regards,
Vaibhav
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Compilation error with dist-tools
2013-10-27 9:57 Compilation error with dist-tools Vaibhav Bedia
@ 2013-10-31 12:51 ` Ian Campbell
0 siblings, 0 replies; 2+ messages in thread
From: Ian Campbell @ 2013-10-31 12:51 UTC (permalink / raw)
To: Vaibhav Bedia; +Cc: List Xen Developer
On Sun, 2013-10-27 at 05:57 -0400, Vaibhav Bedia wrote:
> xenctrl_stubs.c: In function ?‘stub_xc_domain_cpuid_set?’:
> xenctrl_stubs.c:741:2: error: implicit declaration of function
> ?‘xc_cpuid_set?’ [-Werror=implicit-function-declaration]
> xenctrl_stubs.c: In function ?‘stub_xc_domain_cpuid_apply_policy?’:
> xenctrl_stubs.c:753:2: error: implicit declaration of function
> ?‘xc_cpuid_apply_policy?’ [-Werror=implicit-function-declaratio ]
> xenctrl_stubs.c: In function ?‘stub_xc_cpuid_check?’:
> xenctrl_stubs.c:787:2: error: implicit declaration of function
> ?‘xc_cpuid_check?’ [-Werror=implicit-function-declaration]
> cc1: all warnings being treated as errors
xc_cpuid_* are x86 specific. They should be stubbed out in both
xenctrl_stubs.c and in the ocaml equivalent (I'm not sure how to achieve
the latter).
Your best bet is probably to disable the ocaml stuff on ARM for the time
being.
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-10-31 12:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-27 9:57 Compilation error with dist-tools Vaibhav Bedia
2013-10-31 12:51 ` Ian Campbell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).