[LLVMdev] [cfe-dev] Problems building on Msys/MingW

Anton Korobeynikov anton at korobeynikov.info
Thu Aug 6 01:17:26 PDT 2009


Hello, John

> make[1]: Entering directory `/home/llvm/tools/llvm-config'
> llvm[1]: Regenerating LibDeps.txt.tmp
> 'c:' is not recognized as an internal or external command,
> operable program or batch file.
> nm failed at C:/msys/1.0/home/llvm/utils/GenLibDeps.pl line 120.
> make[1]: *** [/home/llvm/tools/llvm-config/LibDeps.txt.tmp] Error 255
> make[1]: Leaving directory `/home/llvm/tools/llvm-config'
> make: *** [all] Error 1
This is the source of all other problems. Are you using perl from msysDTK?

> C:/msys/1.0/home/llvm/tools/opt/AnalysisWrappers.cpp:(.text$_ZN4llvm10ModulePassC2EPKv[llvm::ModulePass::ModulePass(void
> const*)]+0x1d): undefined reference to `vtable for llvm::ModulePass'
> ... and lots more
That's due to broken llvm-config, see that 'unknown component' errors.

> C:/msys/1.0/home/llvm/tools/clang/tools/clang-cc/Debug/clang-cc.o: In
> function `Z22InitializeBaseLanguagev':
Same here.

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University



More information about the llvm-dev mailing list