Hello,<br><br>I just tried to build VMkit, as it written on getting_started, all steps went OK<br>(except for broken link for treecc for pnet, which I found on GNU-savannah, by googling)<br><br>But now the very strange error:<br>
in vmkit/lib/Mvm/Compiler/EscapeAnalysis.cpp, line 99:<br><br><<<some make output skipped >><br>llvm[3]: Compiling EscapeAnalysis.cpp for Debug build<br>/home/mn/tests/VMkit/llvm/include/llvm/Instructions.h: In member function ‘virtual bool<unnamed>::EscapeAnalysis::runOnFunction(llvm::Function&)’:<br>
/home/mn/tests/VMkit/llvm/include/llvm/Instructions.h:1128: error: ‘llvm::Value* llvm::CallInst::getOperand(unsigned int) const’ is private<br>EscapeAnalysis.cpp:99: error: within this context<br>/home/mn/tests/VMkit/llvm/include/llvm/Instructions.h:1128: error: ‘llvm::Value* llvm::CallInst::getOperand(unsigned int) const’ is private<br>
EscapeAnalysis.cpp:99: error: within this context<br>make[3]: *** [/home/mn/tests/VMkit/vmkit/lib/Mvm/Compiler/Debug/EscapeAnalysis.o] Error 1<br>make[3]: Leaving directory `/home/mn/tests/VMkit/vmkit/lib/Mvm/Compiler'<br>
make[2]: *** [all] Error 1<br><<...>><br><br>Excerpt from EscapeAnalysis.cpp:<br><<<<br>        if (CallInst *CI = dyn_cast<CallInst>(I)) {<br>          Changed |= processMalloc(CI, CI->getOperand(1), CI->getOperand(2),<br>
                                   CurLoop);<br>        } else if (InvokeInst *CI = dyn_cast<InvokeInst>(I)) {<br>          Changed |= processMalloc(CI, CI->getOperand(3), CI->getOperand(4),<br>                                   CurLoop);<br>
        }<br>>>><br><br>These getOperand()-s are private, how it should now be built and work?<br><br>Has anybody built it?<br><br>-Minas Abrahamyan<br>