[MacRuby-devel] macruby-experimental build failing

Laurent Sansonetti lsansonetti at apple.com
Sun May 31 12:33:15 PDT 2009


Hi Ruben,

Did you install LLVM HEAD or the revision mentioned in README? AFAIK  
revisions above the one mentioned in README introduce some API changes.

Laurent

On May 31, 2009, at 11:33 AM, Ruben Fonseca wrote:

> hi
>
> I was trying to build the trunk on the 'experimental' branch. I  
> checked out the source form SVN, followed the README.rdoc, but the  
> build is failing and I have no clue why.
>
> (the only modification I did is install LLVM to /opt/local, using  
> SVN trunk)
>
> the error is
>
> /usr/bin/g++ -I/opt/local/include  -D_DEBUG  -D_GNU_SOURCE - 
> D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -O3  -fno-common  - 
> Woverloaded-virtual -I. -I./include -g -Wall -arch i386 -arch x86_64  
> -Wno-parentheses -Wno-deprecated-declarations -Werror -c vm.cpp -o  
> vm.o
> vm.cpp: In constructor 'RoxorVM::RoxorVM()':
> vm.cpp:210: error: no matching function for call to  
> 'llvm::ExecutionEngine::createJIT(llvm::ExistingModuleProvider*&,  
> int, RoxorJITManager*&, bool)'
> /opt/local/include/llvm/ExecutionEngine/ExecutionEngine.h:134: note:  
> candidates are: static llvm::ExecutionEngine*  
> llvm::ExecutionEngine::createJIT(llvm::ModuleProvider*,  
> std::string*, llvm::JITMemoryManager*, llvm::CodeGenOpt::Level)
> vm.cpp: In constructor 'RoxorVM::RoxorVM()':
> vm.cpp:210: error: no matching function for call to  
> 'llvm::ExecutionEngine::createJIT(llvm::ExistingModuleProvider*&,  
> int, RoxorJITManager*&, bool)'
> /opt/local/include/llvm/ExecutionEngine/ExecutionEngine.h:134: note:  
> candidates are: static llvm::ExecutionEngine*  
> llvm::ExecutionEngine::createJIT(llvm::ModuleProvider*,  
> std::string*, llvm::JITMemoryManager*, llvm::CodeGenOpt::Level)
>
> any help?
>
> thank you in advance
> ruben
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel



More information about the MacRuby-devel mailing list