I installed ns-allinone-2.34 on ubuntu 10.10 by following site http://getch.wordpress.com/2010/10/25/installing-network-simulator-in-ubuntu10-10/
MY gcc version is 4.4.5. But here I was unable to install VBR in ns-allinone-2.34. please tell me clear steps to create VBR.