Chatsiri Ratana
2012-Jun-06 10:15 UTC
[LLVMdev] Compile-rt throw error undeclared identifier 'O_CLOEXEC'
Hello All, I build LLVM source code version 3.2 from SVN repository. After I build source code of LLVM include "compiler-rt"(Compiler-rt at revision 158057. ) and "clang" are represent an error as below. make[5]: Entering directory `/san01/home/chatsiri/workspacecpp/llvm-svn/projects/compiler-rt' COMPILE: clang_linux/asan-x86_64/x86_64: /san01/home/chatsiri/workspacecpp/llvm-svn/projects/compiler-rt/lib/sanitizer_common/sanitizer_linux.cc /san01/home/chatsiri/workspacecpp/llvm-svn/projects/compiler-rt/lib/sanitizer_common/sanitizer_linux.cc:47:36: error: use of undeclared identifier 'O_CLOEXEC' write ? O_WRONLY | O_CREAT | O_CLOEXEC : O_RDONLY, 0660); ^ 1 error generated. Who have any idea with error these? Best Regards, Chatsiri Rattana. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120606/6b6f99df/attachment.html>
Apparently Analagous Threads
- [LLVMdev] Compile-rt throw error undeclared identifier 'O_CLOEXEC'
- [LLVMdev] Compile-rt throw error undeclared identifier 'O_CLOEXEC'
- [LLVMdev] LLVM show error preprocessor "Must #define __STDC_LIMIT_MACROS before #including Support/DataTypes.h"
- Libvirt source code cannot built with libnettle.
- [LLVMdev] use of undeclared identifier '__NR_*' error while building clang