[prev in list] [next in list] [prev in thread] [next in thread]
List: cfe-dev
Subject: [cfe-dev] New LLVM C front-end: "clang"
From: clattner () apple ! com (Chris Lattner)
Date: 2007-07-12 16:42:12
Message-ID: A09D87ED-89B4-4D52-90EE-9D47142CE536 () apple ! com
[Download RAW message or body]
On Jul 12, 2007, at 8:52 AM, Gabor Greif wrote:
> I normally build in a separate builddir and
> after reconfiguring I got:
>
> ggreif at my [!734] cd llvm-buil/tools/
> ggreif at my [!735] ls clang/
> Basic Makefile
> ggreif at my [!737] cd clang/
> ggreif at my [!738] make
> make[1]: Entering directory `/home/ggreif/llvm-build/tools/clang/
> Basic'
> llvm[1]: Compiling SourceManager.cpp for Release build
> /home/ggreif/llvm/tools/clang/Basic/SourceManager.cpp: In function
> `const llvm::MemoryBuffer* ReadFileFast(const clang::FileEntry*)':
> /home/ggreif/llvm/tools/clang/Basic/SourceManager.cpp:63: error:
> `::open' has not been declared
> make[1]: *** [/home/ggreif/llvm-build/tools/clang/Basic/Release/
> SourceManager.o] Error 1
> make[1]: Leaving directory `/home/ggreif/llvm-build/tools/clang/Basic'
> make: *** [all] Error 1
Yep, you're stuck in a quagmire of code that should be removed once
libsystem gets a bit smarter. Does it build correctly if you add
"#include <fcntl.h>" at line 45 of that file?
-Chris
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic