[cfe-dev] Errors building clang with mingw

Edward Diener eldlistmailingz at tropicsoft.com
Wed Mar 16 15:56:14 PDT 2011


I followed the instructions on the clang "Getting Started" page. running 
'../llvm/configure' worked fine. Running 'make' worked for a long while 
but finally gave me this error:

"make[1]: Entering directory 
`/c/Programming/VersionControl/clangbuild/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:/Programming/VersionControl/llvm/utils/GenLibDeps.pl line 
230.
make[1]: *** 
[/c/Programming/VersionControl/clangbuild/tools/llvm-config/LibDeps.txt.tmp] 
Error 255
make[1]: Leaving directory 
`/c/Programming/VersionControl/clangbuild/tools/llvm-config'
make: *** [all] Error 1"

I then tried running "make" again and eventually received:

"make[2]: Leaving directory 
`/c/Programming/VersionControl/clangbuild/tools/llvm-config'
llvm-config: unknown component name: bitreader
make[2]: Entering directory 
`/c/Programming/VersionControl/clangbuild/tools/opt'
/c/Programming/VersionControl/llvm/Makefile.rules:959: *** llvm-config 
--libs failed.  Stop.
make[2]: Leaving directory 
`/c/Programming/VersionControl/clangbuild/tools/opt'
make[1]: *** [opt/.makeall] Error 2
make[1]: Leaving directory `/c/Programming/VersionControl/clangbuild/tools'
make: *** [all] Error 1"

Anybody have any idea what has gone wrong in this process ?




More information about the cfe-dev mailing list