[cfe-dev] clang: build failure on Ubuntu 11.10

Sujit Kamthe Sujit.Kamthe at kpitcummins.com
Thu Nov 1 01:32:39 PDT 2012


Hi,
I tried building clag on Ubuntu 11.10 using instruction given at http://clang.llvm.org/get_started.html
The make command throws following error:
autobuild at CFCServer:~/CheckMate/build$ make
make[1]: Entering directory `/home/autobuild/CheckMate/build/lib/Support'
llvm[1]: Compiling APFloat.cpp for Debug+Asserts build
In file included from /home/autobuild/CheckMate/llvm/include/llvm/Support/type_traits.h:20:0,
                 from /home/autobuild/CheckMate/llvm/include/llvm/ADT/SmallVector.h:19,
                 from /home/autobuild/CheckMate/llvm/include/llvm/ADT/ArrayRef.h:13,
                 from /home/autobuild/CheckMate/llvm/include/llvm/ADT/APInt.h:18,
                 from /home/autobuild/CheckMate/llvm/include/llvm/ADT/APFloat.h:104,
                 from /home/autobuild/CheckMate/llvm/lib/Support/APFloat.cpp:15:
/home/autobuild/CheckMate/build/include/llvm/Support/DataTypes.h:79:3: error: #error "Don't have a definition for uint64_t on this platform"
In file included from /home/autobuild/CheckMate/llvm/include/llvm/Support/MathExtras.h:17:0,
                 from /home/autobuild/CheckMate/llvm/include/llvm/ADT/APInt.h:20,
                 from /home/autobuild/CheckMate/llvm/include/llvm/ADT/APFloat.h:104,
                 from /home/autobuild/CheckMate/llvm/lib/Support/APFloat.cpp:15:


Can anybody please help?

Regards,
Sujit Kamthe

[buildbox_logo]
Productivity & FE | Automotive and Engineering SBU | KPITCummins Infosystems Ltd|Board: +91 20 66525000 | Extn:3102 |Mobile:7709076120

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20121101/1e2a5fd9/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 4082 bytes
Desc: image001.jpg
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20121101/1e2a5fd9/attachment.jpg>


More information about the cfe-dev mailing list