cloudstack-users-cn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 王 <chenzi...@163.com>
Subject 源码编译cloudsatck报错
Date Tue, 08 Apr 2014 11:10:54 GMT
https://cwiki.apache.org/confluence/display/CLOUDSTACK/How+to+build+CloudStack
参考上述网址进行源码编译

进行到这个步骤的时候编译报错,请教是什么原因:
>mvn clean install -P developer,systemvm
>编译到这个步骤的时候,Apache CloudStack Plugin - Hypervisor Xen,错误信息如下:
>-
>[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile
(default-compile) on project cloud-plugin-hypervisor-xen: Compilation failure: Compilation
failure:
>[ERROR] /home/wmc/cloudstack-oss/cloudstack/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java:[894,16]
cannot find symbol
>[ERROR] symbol  : variable lockingMode
>[ERROR] location: class com.xensource.xenapi.VIF.Record
>[ERROR] /home/wmc/cloudstack-oss/cloudstack/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java:[894,36]
cannot find symbol
>[ERROR] symbol  : variable VifLockingMode
>[ERROR] location: class com.xensource.xenapi.Types
>[ERROR] /home/wmc/cloudstack-oss/cloudstack/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java:[1103,12]
cannot find symbol
>[ERROR] symbol  : variable lockingMode
>[ERROR] location: class com.xensource.xenapi.VIF.Record
>[ERROR] /home/wmc/cloudstack-oss/cloudstack/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java:[1103,32]
cannot find symbol
>[ERROR] symbol  : variable VifLockingMode
>[ERROR] location: class com.xensource.xenapi.Types
>[ERROR] /home/wmc/cloudstack-oss/cloudstack/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java:[4907,20]
cannot find symbol
>[ERROR] symbol  : variable lockingMode
>[ERROR] location: class com.xensource.xenapi.VIF.Record
>[ERROR] /home/wmc/cloudstack-oss/cloudstack/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/CitrixResourceBase.java:[4907,40]
cannot find symbol
>[ERROR] symbol  : variable VifLockingMode
>[ERROR] location: class com.xensource.xenapi.Types
>[ERROR] /home/wmc/cloudstack-oss/cloudstack/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServer610Resource.java:[162,43]
cannot find symbol
>[ERROR] symbol  : method migrateReceive(com.xensource.xenapi.Connection,com.xensource.xenapi.Network,java.util.Map<java.lang.String,java.lang.String>)
>[ERROR] location: class com.xensource.xenapi.Host
>[ERROR] /home/wmc/cloudstack-oss/cloudstack/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServer610Resource.java:[177,30]
cannot find symbol
>[ERROR] symbol  : method assertCanMigrateAsync(com.xensource.xenapi.Connection,java.util.Map<java.lang.String,java.lang.String>,boolean,java.util.Map<com.xensource.xenapi.VDI,com.xensource.xenapi.SR>,java.util.Map<com.xensource.xenapi.VIF,com.xensource.xenapi.Network>,java.util.Map<java.lang.String,java.lang.String>)
>[ERROR] location: class com.xensource.xenapi.VM
>[ERROR] /home/wmc/cloudstack-oss/cloudstack/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServer610Resource.java:[191,30]
cannot find symbol
>[ERROR] symbol  : method migrateSendAsync(com.xensource.xenapi.Connection,java.util.Map<java.lang.String,java.lang.String>,boolean,java.util.Map<com.xensource.xenapi.VDI,com.xensource.xenapi.SR>,java.util.Map<com.xensource.xenapi.VIF,com.xensource.xenapi.Network>,java.util.Map<java.lang.String,java.lang.String>)
>[ERROR] location: class com.xensource.xenapi.VM
>[ERROR] /home/wmc/cloudstack-oss/cloudstack/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServer610Resource.java:[253,43]
cannot find symbol
>[ERROR] symbol  : method migrateReceive(com.xensource.xenapi.Connection,com.xensource.xenapi.Network,java.util.Map<java.lang.String,java.lang.String>)
>[ERROR] location: class com.xensource.xenapi.Host
>[ERROR] /home/wmc/cloudstack-oss/cloudstack/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServer610Resource.java:[312,30]
cannot find symbol
>[ERROR] symbol  : method assertCanMigrateAsync(com.xensource.xenapi.Connection,java.util.Map<java.lang.String,java.lang.String>,boolean,java.util.Map<com.xensource.xenapi.VDI,com.xensource.xenapi.SR>,java.util.Map<com.xensource.xenapi.VIF,com.xensource.xenapi.Network>,java.util.Map<java.lang.String,java.lang.String>)
>[ERROR] location: class com.xensource.xenapi.VM
>[ERROR] /home/wmc/cloudstack-oss/cloudstack/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServer610Resource.java:[324,30]
cannot find symbol
>[ERROR] symbol  : method migrateSendAsync(com.xensource.xenapi.Connection,java.util.Map<java.lang.String,java.lang.String>,boolean,java.util.Map<com.xensource.xenapi.VDI,com.xensource.xenapi.SR>,java.util.Map<com.xensource.xenapi.VIF,com.xensource.xenapi.Network>,java.util.Map<java.lang.String,java.lang.String>)
>[ERROR] location: class com.xensource.xenapi.VM
>[ERROR] /home/wmc/cloudstack-oss/cloudstack/plugins/hypervisors/xen/src/com/cloud/hypervisor/xen/resource/XenServer610Resource.java:[409,33]
cannot find symbol
>[ERROR] symbol  : method poolMigrateAsync(com.xensource.xenapi.Connection,com.xensource.xenapi.SR,java.util.Map<java.lang.String,java.lang.String>)
>[ERROR] location: class com.xensource.xenapi.VDI
>[ERROR] -> [Help 1]
>[ERROR]
>[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
>[ERROR] Re-run Maven using the -X switch to enable full debug logging.
>[ERROR]
>[ERROR] For more information about the errors and possible solutions, please read the
following articles:
>[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
>[ERROR]
>[ERROR] After correcting the problems, you can resume the build with the command
>[ERROR]   mvn <goals> -rf :cloud-plugin-hypervisor-xen
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message