odd cmake build error on ubuntu

building blender on my virtual box is still/again giving problems. the build process seems to be fine, till it reaches 100% and links the blender executable. it prints the following error:

[100%] Building C object source/creator/CMakeFiles/blender.dir/buildinfo.c.o
Linking CXX executable ../../bin/blender
collect2: ld returned 1 exit status
make[2]: *** [bin/blender] Error 1
make[1]: *** [source/creator/CMakeFiles/blender.dir/all] Error 2
make: *** [all] Error 2

I have no clue as to what could be the problem. after a google search i found that a similar error was caused by oiio, but disabeling cycles in the cmakelist file doesn’t solve the problem.

occurs using latest svn revision on 32bit ubuntu virtual box.

You really need to paste the full error log, probably the problem happened quite a long way up in the console log.

Hint - when ever pasting compile errors, paste the entire output.