Question

I was able to make ns-2 (ns-allinone-2.35) install on Ubuntu 13.10 successfully by modifying linkstate/ls.h, but one test case in the validation suite always seems to fail - tcpLinux. This bothers me because validation works properly in Ubuntu 12. Would you know how to fix this or if this is an issue at all?

Thanks in advance!

Was it helpful?

Solution

So it looks like ns-2 doesn't play nice with the newer versions of gcc.

Before installing, do

export CC=gcc-4.4 CXX=g++-4.4

If you don't have these older versions, use

sudo apt-get install gcc-4.4 g++-4.4

Using this method, I didn't have to modify any source code before building.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top