Error in LLVM 2.0 Cygwin build

Hi there

i'm trying to build LLVM2.0 (enabled-optimized) on Cygwin/x86, gcc version is
4.0.2. Do you have any suggestions for a Cygwin build?

Here follows the error log:

make[1]: Entering directory `/cygdrive/c/Temp/devtools/llvm-build/lib/VMCore'
llvm[1]: Compiling Function.cpp for Release build
/cygdrive/c/Temp/devtools/llvm-2.0/lib/VMCore/Function.cpp:272: error: 'const
llvm::FunctionType* llvm::Intrinsic::getType(llvm::Intrinsic::ID, const
llvm::Type**, uint32_t)' should have been declared inside 'llvm::Intrinsic'
make[1]: ***
[/cygdrive/c/Temp/devtools/llvm-build/lib/VMCore/Release/Function.o] Error 1
make[1]: Leaving directory `/cygdrive/c/Temp/devtools/llvm-build/lib/VMCore'
make: *** [all] Error 1

Regards,
Nikolaos Kavvadias