[cfe-dev] Clang compilation broken - Win32, MinGW 4.6

Fernando Pelliccioni fpelliccioni at gmail.com
Thu Aug 26 10:48:13 PDT 2010


Hi,

I am trying to compile LLVM+Clang on WinXp using MinGW 4.6.

The compilation throws this error.

C:\llvm\tools\clang\include/clang/AST/Attr.h:112:31: fatal error:
clang/AST/Attrs.inc: No such file or directory

The "clang/AST/Attrs.inc" does not exists at SVN revision 112179.


Here is an extract of the compilation.

[ 78%] Building CXX object
tools/clang/lib/Lex/CMakeFiles/clangLex.dir/PTHLexer.cpp.obj
[ 78%] Building CXX object
tools/clang/lib/Lex/CMakeFiles/clangLex.dir/Pragma.cpp.obj
[ 78%] Building CXX object
tools/clang/lib/Lex/CMakeFiles/clangLex.dir/PreprocessingRecord.cpp.obj
[ 78%] Building CXX object
tools/clang/lib/Lex/CMakeFiles/clangLex.dir/Preprocessor.cpp.obj
[ 79%] Building CXX object
tools/clang/lib/Lex/CMakeFiles/clangLex.dir/PreprocessorLexer.cpp.obj
[ 79%] Building CXX object
tools/clang/lib/Lex/CMakeFiles/clangLex.dir/ScratchBuffer.cpp.obj
[ 79%] Building CXX object
tools/clang/lib/Lex/CMakeFiles/clangLex.dir/TokenConcatenation.cpp.obj
[ 79%] Building CXX object
tools/clang/lib/Lex/CMakeFiles/clangLex.dir/TokenLexer.cpp.obj
Linking CXX static library ..\..\..\..\lib\libclangLex.a
[ 79%] Built target clangLex
Scanning dependencies of target clangParse
[ 79%] Building CXX object
tools/clang/lib/Parse/CMakeFiles/clangParse.dir/ParseAST.cpp.obj
In file included from C:\llvm\tools\clang\include/clang/AST/DeclBase.h:17:0,
                 from C:\llvm\tools\clang\include/clang/AST/Decl.h:18,
                 from C:\llvm\tools\clang\include/clang/AST/ASTContext.h:21,
                 from C:\llvm\tools\clang\include/clang/AST/Stmt.h:25,
                 from C:\llvm\tools\clang\include/clang/AST/Expr.h:18,
                 from C:\llvm\tools\clang\include/clang/AST/DeclCXX.h:18,
                 from C:\llvm\tools\clang\lib\Parse\ParseAST.cpp:20:
C:\llvm\tools\clang\include/clang/AST/Attr.h:112:31: fatal error:
clang/AST/Attrs.inc: No such file or directory
compilation terminated.
mingw32-make[2]: ***
[tools/clang/lib/Parse/CMakeFiles/clangParse.dir/ParseAST.cpp.obj] Error 1
mingw32-make[1]: *** [tools/clang/lib/Parse/CMakeFiles/clangParse.dir/all]
Error 2
mingw32-make: *** [all] Error 2



Regards,
Fernando.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20100826/b66276df/attachment.html>


More information about the cfe-dev mailing list