( poisson-patch-ns-2.27.gz, ns-2.28-poisson.patch.tar.gz, etc.)
... If you have the patches, could you please attach those to a new post ?
But I found "poisson.cc", originally for ns-2.26 :
http://www.iis.sinica.edu.tw/~cclljj/misc/notes/poisson.cc.html
Please also read the advices for creating the simulation : In the file poisson.cc .
It appears that the file poisson.cc fits nicely with ns-2.35, no issues with the build. (g++-4.4).
No edits done. Except adding <TAB>tools/poisson.o \ to the Makefile.in , line 337 .
( Must be the last line in section OBJ_CC ).
... So I have attached my "patch" , poisson-ns235-files.tar.gz , for you to try out.
( I don't know if any code should be added to tcl/lib/ns-default.tcl , etc. :
Please check with the old patches.)
This what I did :
cd ns-allinone-2.35/
tar xvf poisson-ns235-files.tar.gz && export CC=gcc-4.4 CXX=g++-4.4 && ./install
--
You received this message because you are subscribed to a topic in the Google Groups "Network Simulator 2 (NS2)" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ns-users/Ek4Fa9ETz4Q/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ns-users+u...@googlegroups.com.
To post to this group, send email to ns-u...@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-users.
For more options, visit https://groups.google.com/d/optout.
tar xvf ns-allinone-2.35_gcc5.tar.gz
// 2014 update for g++ -4.4 ... -5.4 (Don't use -5.5 or later)
https://drive.google.com/file/d/0B7S255p3kFXNVVlxR0ZNRGVORjQ/view?usp=sharing
cd ns-allinone-2.35/
patch -p0 < Poisson_ns235.patch
https://drive.google.com/file/d/19LbEEdNRE66JScOzyaAGMnFT-YUcMPg3/view?usp=sharing
export CC=gcc-4.8 CXX=g++-4.8 && ./install
// Please use the gcc/g++ -4.4 ..-5.4 available for your OS.
cd ns-2.35/
cp ns ns235-poisson
sudo cp ns /usr/local/bin/
---------- Simulation ----------
ns235-poisson ns-poisson.tcl // location: tcl/poisson/
--
You received this message because you are subscribed to the Google Groups "Network Simulator 2 (NS2)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-users+u...@googlegroups.com.
ns235-poisson ns-poisson.tcl
is it just an example?