[cfe-dev] missing clang/AST/TargetBuiltins.h ?

Emmanuel Bastien ebastien at amadeus.com
Mon Dec 10 00:35:36 PST 2007


Hello,
I am trying to build clang from a fresh SVN checkout today and I have the 
following error:

...
llvm[1]: Compiling CGBuiltin.cpp for Release build
CGBuiltin.cpp:20:38: error: clang/AST/TargetBuiltins.h: No such file or 
directory
CGBuiltin.cpp: In member function 'llvm::Value* 
clang::CodeGen::CodeGenFunction::EmitX86BuiltinExpr(unsigned int, const 
clang::CallExpr*)':
CGBuiltin.cpp:203: error: 'X86' has not been declared
make[1]: *** 
[/data/ngi/ebastien/llvm-SVN/llvm/tools/clang/CodeGen/Release/CGBuiltin.o] 
Error 1
make[1]: Leaving directory 
`/data/ngi/ebastien/llvm-SVN/llvm/tools/clang/CodeGen'
make: *** [all] Error 1

I cannot find any header named 'TargetBuiltins.h' in the clang source 
tree.
Best regards,
Emmanuel Bastien




More information about the cfe-dev mailing list