# 9 : No reason use version 2.29.2 + a patch ns2292-gcc410.patch.
'ns-allinone-2.29.
3.tar.gz' is the updated version for gcc version 4.1.x.
And the install command is not ./install, to compile with gcc 41x,
but : 'export CC=gcc-4.1 CXX=g++-4.1 && ./install' ( for Ubuntu 10.04).
Or : 'export CC=gcc34 CXX=g++34 && ./install' ( for any Fedora ).
! But : None of the 13 simulations examples worked here with ns-2.29.
I got one combination to work yesterday from
http://downloads.pf.itd.nrl.navy.mil.../nrlsensorsim/
>
http://downloads.pf.itd.nrl.navy.mil...im-cvssnap.tgz
> nrlsensorsim-cvssnap.tgz : That's an update version for ns-2.26.
Can be compiled on an 'ns-allinone-2.26' that is not patched for gcc410.
(Usually the patch ns-2.26-gcc410.patch would work with any added protocol.
But not the nrlsensorsim protocol.)
No ns-2.26-gcc410.patch : Means that gcc version 3.2.3 (or 3.3.3) must be used :
'export CC=gcc32 CXX=g++32 && ./install'.
This one simulation worked with the resultant "ns" : $ ns basicmhop.tcl
Still one more to test : nrlsensorsim-2.27.tgz. May work ?
An old OS is OK.
Some other protocols will actually only work on a 10 year old OS.
( Like the Redhat 9 based CentOS 3). And we already know that ns-2.27 -2.28 -2.29
will create the best validate / 'make test' result with Ubuntu 10.10.
-