I am trying to build LLVM 2.0 (source downloaded from llvm.org) under WinXP/Cygwin, and got compilation errors. I have tried to use: GCC 3.4.4. GCC 4.0.4 GCC 4.1.2 and GCC 4.2.0, and the error remains. I looked at the code, but not clear what the problem is. Please let me know what I should do in this case. Thank you Chuck ----------------------------------------------------------------------------------------------- Error msg after typing gmake -k ... ... llvm[1]: Compiling Function.cpp for Release build /home/czhao/LLVM/llvm-2.0/lib/VMCore/Function.cpp:273: error: 'llvm::FunctionTyp e* llvm::Intrinsic::getType(llvm::Intrinsic::ID, const llvm::Type**, uint32_t)' should have been declared inside 'llvm::Intrinsic' make[1]: *** [/home/czhao/LLVM/obj2.0/lib/VMCore/Release/Function.o] Error 1 make[1]: Leaving directory `/home/czhao/LLVM/obj2.0/lib/VMCore' make: *** [all] Error 1 ...
On Tue, 19 Jun 2007, Chuck Zhao wrote:> I looked at the code, but not clear what the problem is. > Please let me know what I should do in this case.I believe this has been fixed on mainline CVS, try it. :) -Chris> ----------------------------------------------------------------------------------------------- > Error msg after typing gmake -k > ... > ... > llvm[1]: Compiling Function.cpp for Release build > /home/czhao/LLVM/llvm-2.0/lib/VMCore/Function.cpp:273: error: > 'llvm::FunctionTyp > e* llvm::Intrinsic::getType(llvm::Intrinsic::ID, const llvm::Type**, > uint32_t)' > should have been declared inside 'llvm::Intrinsic' > make[1]: *** [/home/czhao/LLVM/obj2.0/lib/VMCore/Release/Function.o] Error 1 > make[1]: Leaving directory `/home/czhao/LLVM/obj2.0/lib/VMCore' > make: *** [all] Error 1 > ... > > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >-Chris -- http://nondot.org/sabre/ http://llvm.org/
> On Tue, 19 Jun 2007, Chuck Zhao wrote: >> I looked at the code, but not clear what the problem is. >> Please let me know what I should do in this case. > > I believe this has been fixed on mainline CVS, try it. :)Weird, I built it on 3.4.4 on testing for release ? Aaron
Possibly Parallel Threads
- [LLVMdev] fail to build LLVM 2.0 on Cygwin/WinXP
- [LLVMdev] can't build LLVM under Cygwin | released MinGW llvm-2.3 image
- [LLVMdev] can't build LLVM under Cygwin | released MinGW llvm-2.3 image
- [LLVMdev] still failed to build the llbrowse on Debian5-32b-llvm2.8
- [LLVMdev] still failed to build the llbrowse on Debian5-32b-llvm2.8