[LLVMdev] vmkit build problems

Konrad Hinsen konrad.hinsen at fastmail.net
Fri Jul 9 00:42:43 PDT 2010


On 9 Jul 2010, at 07:31, nicolas geoffray wrote:

> What problems did you have for compiling the latest revision? Could  
> you give me a log?

I don't know what problem Chanwit ran into, but here is mine (with  
this morning's revisions of LLVM and VMKit):

llvm[3]: Compiling JavaArray.cpp for Debug+Asserts build
/Users/hinsen/Development/VMKit/vmkit/include/mvm/MethodInfo.h:18:  
warning: 'class mvm::MethodInfo' has virtual functions but non-virtual  
destructor
/Users/hinsen/Development/VMKit/vmkit/include/mvm/MethodInfo.h:46:  
warning: 'class mvm::CamlMethodInfo' has virtual functions but non- 
virtual destructor
/Users/hinsen/Development/VMKit/vmkit/include/mvm/MethodInfo.h:53:  
warning: 'class mvm::StaticCamlMethodInfo' has virtual functions but  
non-virtual destructor
/Users/hinsen/Development/VMKit/vmkit/include/mvm/MethodInfo.h:64:  
warning: 'class mvm::DefaultMethodInfo' has virtual functions but non- 
virtual destructor
JavaArray.h: In static member function 'static void  
j3::JavaArray::setSize(j3::JavaObject*, int)':
JavaArray.h:41: error: 'ssize_t j3::TJavaArray<uint8>::size' is private
JavaArray.h:148: error: within this context
JavaArray.h: In static member function 'static sint32  
j3::JavaArray::getSize(const j3::JavaObject*)':
JavaArray.h:41: error: 'ssize_t j3::TJavaArray<uint8>::size' is private
JavaArray.h:153: error: within this context
JavaArray.h: In static member function 'static const unsigned char*  
j3::JavaArray::getElements(const j3::JavaObject*)':
JavaArray.h:46: error: 'uint8 j3::TJavaArray<uint8>::elements [1]' is  
private
JavaArray.h:158: error: within this context
JavaArray.h: In static member function 'static unsigned char*  
j3::JavaArray::getElements(j3::JavaObject*)':
JavaArray.h:46: error: 'uint8 j3::TJavaArray<uint8>::elements [1]' is  
private
JavaArray.h:163: error: within this context
JavaClass.h: At global scope:
JavaClass.h:963: warning: 'class j3::JavaStaticMethodInfo' has virtual  
functions but non-virtual destructor
JavaArray.cpp:26: error: 'JavaArray' has not been declared
JavaArray.cpp:29: error: 'JavaArray' has not been declared
JavaArray.cpp:30: error: 'JavaArray' has not been declared
JavaArray.cpp:31: error: 'JavaArray' has not been declared
JavaArray.cpp:32: error: 'JavaArray' has not been declared
JavaArray.cpp:33: error: 'JavaArray' has not been declared
JavaArray.cpp:34: error: 'JavaArray' has not been declared
JavaArray.cpp:35: error: 'JavaArray' has not been declared
JavaArray.cpp:36: error: 'JavaArray' has not been declared
make[3]: *** [/Users/hinsen/Development/VMKit/vmkit/lib/J3/VMCore/Debug 
+Asserts/JavaArray.o] Error 1
make[2]: *** [all] Error 1
make[1]: *** [J3/.makeall] Error 2
make: *** [all] Error 1



Konrad.




More information about the llvm-dev mailing list