Semion Prihodko
2011-Nov-16 16:08 UTC
[LLVMdev] LLVM: Cannot build LLVM 3.0 (from SVN) in Cygwin (GCC 3.4.4)
Hi, I got the following error output: llvm[1]: Compiling llvm-config.cpp for Debug+Asserts build llvm-config.cpp:46:35: LibraryDependencies.inc: No such file or directory llvm-config.cpp:56: error: `AvailableComponent' was not declared in this scope llvm-config.cpp:56: error: template argument 1 is invalid llvm-config.cpp:57: error: `AvailableComponent' was not declared in this scope llvm-config.cpp:57: error: template argument 1 is invalid llvm-config.cpp:57: error: template argument 2 is invalid llvm-config.cpp:57: error: template argument 3 is invalid llvm-config.cpp:58: error: ISO C++ forbids declaration of `ComponentMap' with no type llvm-config.cpp:58: error: ISO C++ forbids declaration of `VisitedComponents' with no type llvm-config.cpp: In function `void VisitComponent(llvm::StringRef, const int&, int&, std::vector<llvm::StringRef, std::alloc ator<llvm::StringRef> >&)': llvm-config.cpp:60: error: `AvailableComponent' undeclared (first use this function) llvm-config.cpp:60: error: (Each undeclared identifier is reported only once for each function it appears in.) llvm-config.cpp:60: error: `AC' undeclared (first use this function) llvm-config.cpp:60: error: request for member `lookup' in `ComponentMap', which is of non-class type `const int' llvm-config.cpp:64: error: request for member `insert' in `VisitedComponents', which is of non-class type `int' llvm-config.cpp: In function `void ComputeLibsForComponents(const std::vector<llvm::StringRef, std::allocator<llvm::StringRe f> >&, std::vector<llvm::StringRef, std::allocator<llvm::StringRef> >&)': llvm-config.cpp:89: error: `AvailableComponent' undeclared (first use this function) llvm-config.cpp:89: error: template argument 1 is invalid llvm-config.cpp:89: error: template argument 2 is invalid llvm-config.cpp:89: error: template argument 3 is invalid llvm-config.cpp:89: error: invalid type in declaration before ';' token llvm-config.cpp:92: error: template argument 1 is invalid llvm-config.cpp:92: error: invalid type in declaration before ';' token llvm-config.cpp:93: error: `AvailableComponents' undeclared (first use this function) llvm-config.cpp:94: error: `AC' undeclared (first use this function) llvm-config.cpp:104: error: request for member `count' in `ComponentMap', which is of non-class type `int' llvm-config.cpp: In function `int main(int, char**)': llvm-config.cpp:270: error: `AvailableComponents' undeclared (first use this function) make[1]: *** [/home/Semen_Prikhodko/llvm-3.0/tools/llvm-config-2/Debug+Asserts/llvm-config.o] Error 1 make[1]: Leaving directory `/home/Semen_Prikhodko/llvm-3.0/tools/llvm-config-2' make: *** [install] Error 1 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20111116/8597a8ad/attachment.html>