Latest SVN head (gcc front end) build failed

hi all,
I was trying to build the latest LLVM gcc front end and it failed.

rajika@:~/project/llvm/dst-directory$ svn info | grep URL
URL: http://llvm.org/svn/llvm-project/llvm-gcc-4.2/trunk

configure option: …/dst-directory/configure --prefix=/usr/local/ --enable-llvm=/home/rajika/project/llvm/llvm-objects

it gave me the following errors

…/…/dst-directory/gcc/llvm-convert.cpp:1163: error: ‘Create’ is not a member of ‘llvm::CastInst’
…/…/dst-directory/gcc/llvm-convert.cpp: In member function ‘llvm::AllocaInst* TreeToLLVM::CreateTemporary(const llvm::Type*)’:
…/…/dst-directory/gcc/llvm-convert.cpp:1250: error: ‘Create’ is not a member of ‘llvm::CastInst’
make[3]: *** [llvm-convert.o] Error 1
make[3]: Leaving directory /home/rajika/project/llvm/llvm-gcc4.2-objects/gcc' make[2]: *** [all-stage1-gcc] Error 2 make[2]: Leaving directory /home/rajika/project/llvm/llvm-gcc4.2-objects’
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/rajika/project/llvm/llvm-gcc4.2-objects’
make: *** [all] Error 2

Any help to fix this? Thanks!

-Rajika

Did you update llvm and build that first?

-Tanya

Did you update llvm and build that first?

That fix the issue, thanks!