On 02/26/2013 06:32 PM, harryxiyou wrote:
Hi all,
i got following errors.
[...]
cc1: error: AVA_HOME/include: No such file or directory [-Werror]
cc1: error: AVA_HOME/include/linux: No such file or directory [-Werror]
cc1: all warnings being treated as errors
make[3]: *** [libvirt_driver_storage_impl_la-storage_driver.lo] Error 1
You trimmed too much of your make line to tell us what was happening.
It might also help to run 'make V=1' to get the full command line being
attempted. I have to wonder if you have an unexpanded '$JAVA_HOME'
injected somewhere into your configure output, where make is trying to
compute $J (empty) followed by literal 'AVA_HOME'; maybe you should
figure out what in your build setup is providing that bad variable value
(correct would likely be '${JAVA_HOME}'). But I cannot reproduce your
build failure, so it is something in your environment and not in libvirt
itself that is causing you grief.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org