[LLVMbugs] Compilation Errors

Reid Spencer rspencer at reidspencer.com
Fri Jan 19 14:46:46 PST 2007


Hi Bill,

On Fri, 2007-01-19 at 14:35 -0800, Bill Wendling wrote:
> Hi all,
> 
> I'm getting these errors. Anyone have a suggestion?

Sorry, I forgot to check in some files. Please update your exmaples
directory, should be fixed now.

Reid.

> 
> g++ -I/Volumes/Gir/devel/llvm/SUBMISSIONS/llvm-nightly.roots/llvm-nightly~obj/obj-llvm/examples/HowToUseJIT
> -I/Volumes/Gir/devel/llvm/SUBMISSIONS/llvm-nightly.roots/llvm-nightly~obj/src/llvm/examples/HowToUseJIT
> -I/Volumes/Gir/devel/llvm/SUBMISSIONS/llvm-nightly.roots/llvm-nightly~obj/obj-llvm/include
> -I/Volumes/Gir/devel/llvm/SUBMISSIONS/llvm-nightly.roots/llvm-nightly~obj/src/llvm/include
> -I/Volumes/Gir/devel/llvm/SUBMISSIONS/llvm-nightly.roots/llvm-nightly~obj/obj-llvm/include
> -I/Volumes/Gir/devel/llvm/SUBMISSIONS/llvm-nightly.roots/llvm-nightly~obj/src/llvm/include
>  -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -O2  -fno-exceptions -D_DEBUG
> -DLLVM_VERSION_INFO='" Apple Build #1031-08"' -Woverloaded-virtual
> -pedantic -Wall -W -Wwrite-strings -Wno-long-long -Wunused
> -Wno-unused-parameter  -fstrict-aliasing -arch ppc -arch i386 -c
> /Volumes/Gir/devel/llvm/SUBMISSIONS/llvm-nightly.roots/llvm-nightly~obj/src/llvm/examples/HowToUseJIT/HowToUseJIT.cpp
> -o /Volumes/Gir/devel/llvm/SUBMISSIONS/llvm-nightly.roots/llvm-nightly~obj/obj-llvm/examples/HowToUseJIT/Release/HowToUseJIT.o
> /Volumes/Gir/devel/llvm/SUBMISSIONS/llvm-nightly.roots/llvm-nightly~obj/src/llvm/examples/HowToUseJIT/HowToUseJIT.cpp:
> In function 'int main()':
> /Volumes/Gir/devel/llvm/SUBMISSIONS/llvm-nightly.roots/llvm-nightly~obj/src/llvm/examples/HowToUseJIT/HowToUseJIT.cpp:57:
> error: no matching function for call to
> 'llvm::Module::getOrInsertFunction(const char [5], const
> llvm::IntegerType*&, const llvm::IntegerType*&, llvm::Type*)'
> /Volumes/Gir/devel/llvm/SUBMISSIONS/llvm-nightly.roots/llvm-nightly~obj/src/llvm/include/llvm/Module.h:177:
> note: candidates are: llvm::Constant*
> llvm::Module::getOrInsertFunction(const std::string&, const
> llvm::FunctionType*)
> /Volumes/Gir/devel/llvm/SUBMISSIONS/llvm-nightly.roots/llvm-nightly~obj/src/llvm/include/llvm/Module.h:184:
> note:                 llvm::Constant*
> llvm::Module::getOrInsertFunction(const std::string&, const
> llvm::Type*, ...)
> /Volumes/Gir/devel/llvm/SUBMISSIONS/llvm-nightly.roots/llvm-nightly~obj/src/llvm/examples/HowToUseJIT/HowToUseJIT.cpp:64:
> error: no matching function for call to 'llvm::ConstantInt::get(const
> llvm::IntegerType*&, int)'
> /Volumes/Gir/devel/llvm/SUBMISSIONS/llvm-nightly.roots/llvm-nightly~obj/src/llvm/include/llvm/Constants.h:93:
> note: candidates are: static llvm::ConstantInt*
> llvm::ConstantInt::get(const llvm::Type*, int64_t)
> /Volumes/Gir/devel/llvm/SUBMISSIONS/llvm-nightly.roots/llvm-nightly~obj/src/llvm/examples/HowToUseJIT/HowToUseJIT.cpp:83:
> error: no matching function for call to
> 'llvm::Module::getOrInsertFunction(const char [4], const
> llvm::IntegerType*&, llvm::Type*)'
> /Volumes/Gir/devel/llvm/SUBMISSIONS/llvm-nightly.roots/llvm-nightly~obj/src/llvm/include/llvm/Module.h:177:
> note: candidates are: llvm::Constant*
> llvm::Module::getOrInsertFunction(const std::string&, const
> llvm::FunctionType*)
> /Volumes/Gir/devel/llvm/SUBMISSIONS/llvm-nightly.roots/llvm-nightly~obj/src/llvm/include/llvm/Module.h:184:
> note:                 llvm::Constant*
> llvm::Module::getOrInsertFunction(const std::string&, const
> llvm::Type*, ...)
> /Volumes/Gir/devel/llvm/SUBMISSIONS/llvm-nightly.roots/llvm-nightly~obj/src/llvm/examples/HowToUseJIT/HowToUseJIT.cpp:89:
> error: no matching function for call to 'llvm::ConstantInt::get(const
> llvm::IntegerType*&, int)'
> /Volumes/Gir/devel/llvm/SUBMISSIONS/llvm-nightly.roots/llvm-nightly~obj/src/llvm/include/llvm/Constants.h:93:
> note: candidates are: static llvm::ConstantInt*
> llvm::ConstantInt::get(const llvm::Type*, int64_t)
> /Volumes/Gir/devel/llvm/SUBMISSIONS/llvm-nightly.roots/llvm-nightly~obj/src/llvm/examples/HowToUseJIT/HowToUseJIT.cpp:
> In function 'int main()':
> /Volumes/Gir/devel/llvm/SUBMISSIONS/llvm-nightly.roots/llvm-nightly~obj/src/llvm/examples/HowToUseJIT/HowToUseJIT.cpp:57:
> error: no matching function for call to
> 'llvm::Module::getOrInsertFunction(const char [5], const
> llvm::IntegerType*&, const llvm::IntegerType*&, llvm::Type*)'
> /Volumes/Gir/devel/llvm/SUBMISSIONS/llvm-nightly.roots/llvm-nightly~obj/src/llvm/include/llvm/Module.h:177:
> note: candidates are: llvm::Constant*
> llvm::Module::getOrInsertFunction(const std::string&, const
> llvm::FunctionType*)
> /Volumes/Gir/devel/llvm/SUBMISSIONS/llvm-nightly.roots/llvm-nightly~obj/src/llvm/include/llvm/Module.h:184:
> note:                 llvm::Constant*
> llvm::Module::getOrInsertFunction(const std::string&, const
> llvm::Type*, ...)
> /Volumes/Gir/devel/llvm/SUBMISSIONS/llvm-nightly.roots/llvm-nightly~obj/src/llvm/examples/HowToUseJIT/HowToUseJIT.cpp:64:
> error: no matching function for call to 'llvm::ConstantInt::get(const
> llvm::IntegerType*&, int)'
> /Volumes/Gir/devel/llvm/SUBMISSIONS/llvm-nightly.roots/llvm-nightly~obj/src/llvm/include/llvm/Constants.h:93:
> note: candidates are: static llvm::ConstantInt*
> llvm::ConstantInt::get(const llvm::Type*, int64_t)
> /Volumes/Gir/devel/llvm/SUBMISSIONS/llvm-nightly.roots/llvm-nightly~obj/src/llvm/examples/HowToUseJIT/HowToUseJIT.cpp:83:
> error: no matching function for call to
> 'llvm::Module::getOrInsertFunction(const char [4], const
> llvm::IntegerType*&, llvm::Type*)'
> /Volumes/Gir/devel/llvm/SUBMISSIONS/llvm-nightly.roots/llvm-nightly~obj/src/llvm/include/llvm/Module.h:177:
> note: candidates are: llvm::Constant*
> llvm::Module::getOrInsertFunction(const std::string&, const
> llvm::FunctionType*)
> /Volumes/Gir/devel/llvm/SUBMISSIONS/llvm-nightly.roots/llvm-nightly~obj/src/llvm/include/llvm/Module.h:184:
> note:                 llvm::Constant*
> llvm::Module::getOrInsertFunction(const std::string&, const
> llvm::Type*, ...)
> /Volumes/Gir/devel/llvm/SUBMISSIONS/llvm-nightly.roots/llvm-nightly~obj/src/llvm/examples/HowToUseJIT/HowToUseJIT.cpp:89:
> error: no matching function for call to 'llvm::ConstantInt::get(const
> llvm::IntegerType*&, int)'
> /Volumes/Gir/devel/llvm/SUBMISSIONS/llvm-nightly.roots/llvm-nightly~obj/src/llvm/include/llvm/Constants.h:93:
> note: candidates are: static llvm::ConstantInt*
> llvm::ConstantInt::get(const llvm::Type*, int64_t)
> lipo: can't figure out the architecture type of: /var/tmp//cckeom7f.out
> make[3]: *** [/Volumes/Gir/devel/llvm/SUBMISSIONS/llvm-nightly.roots/llvm-nightly~obj/obj-llvm/examples/HowToUseJIT/Release/HowToUseJIT.o]
> Error 1
> make[2]: *** [HowToUseJIT/.makeall] Error 2
> make[1]: *** [all] Error 1
> 
> 
> -bw
> _______________________________________________
> LLVMbugs mailing list
> LLVMbugs at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs




More information about the llvm-bugs mailing list