[cfe-dev] Error when building Clang from SVN tip on Linux
Peter Geoghegan
peter at 2ndquadrant.com
Sat Jul 9 03:47:43 PDT 2011
Hi,
I find that when building Clang on this system from SVN tip:
[peter at peter build]$ uname -a
Linux peter.laptop 2.6.38.8-32.fc15.x86_64 #1 SMP Mon Jun 13 19:49:05
UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
I get the following error message:
llvm[4]: Compiling IdentifierTable.cpp for Debug+Asserts build
llvm[4]: Compiling SourceManager.cpp for Debug+Asserts build
llvm[4]: Compiling TargetInfo.cpp for Debug+Asserts build
llvm[4]: Compiling Targets.cpp for Debug+Asserts build
/home/peter/llvm/tools/clang/lib/Basic/Targets.cpp: In constructor
‘{anonymous}::DarwinTargetInfo<Target>::DarwinTargetInfo(const
string&)’:
/home/peter/llvm/tools/clang/lib/Basic/Targets.cpp:192:49: error:
‘class llvm::Triple’ has no member named ‘getDarwinMajorNumber’
/bin/rm: cannot remove
`/home/peter/build/tools/clang/lib/Basic/Debug+Asserts/Targets.d.tmp':
No such file or directory
make[4]: *** [/home/peter/build/tools/clang/lib/Basic/Debug+Asserts/Targets.o]
Error 1
make[4]: Leaving directory `/home/peter/build/tools/clang/lib/Basic'
make[3]: *** [Basic/.makeall] Error 2
make[3]: Leaving directory `/home/peter/build/tools/clang/lib'
make[2]: *** [all] Error 1
make[2]: Leaving directory `/home/peter/build/tools/clang'
make[1]: *** [clang/.makeall] Error 2
make[1]: Leaving directory `/home/peter/build/tools'
make: *** [all] Error 1
[peter at peter build]$
What's the problem here? Can someone fix it please?
--
Peter Geoghegan http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training and Services
More information about the cfe-dev
mailing list