black hole attack

39 views
Skip to first unread message

Remon Zaki

unread,
Oct 23, 2014, 6:42:45 PM10/23/14
to ns-u...@googlegroups.com
i can't solve this problem i use ubuntu 13.10 and use ns2.34

collect2: ld returned 1 exit status
make: *** [ns] Error 1
 
thanks

knudfl

unread,
Oct 24, 2014, 3:02:45 AM10/24/14
to ns-u...@googlegroups.com
@Remon Zaki ,   Hi .

$ sudo apt-get install g++-4.4

$ tar xvf ns-allinone-2.34.tar.gz
$ cd ns-allinone-2.34/
$ patch -p0 < otcl_ns-allinone234_gcc44.patch
$ patch -p0 < blackholeaodv2013-ns234_4.patch
$ export CC=gcc-4.4 CXX=g++-4.4 && ./install
$ cd ns-2.34/
$ cp ns ns-blackhole
$ sudo cp ns-blackhole /usr/local/bin/
.... Then you can use the eight examples in blackholeaodv2005-examples-1.tar.gz
https://drive.google.com/file/d/0B7S255p3kFXNeHBXNEdzS21SdFE/view?usp=sharing
.... with :   $ ns-blackhole <file-name>.tcl

Blackhole info :
. https://groups.google.com/forum/?fromgroups#!forumsearch/blackhole
. http://www.linuxquestions.org/questions/tags/blackhole/
. http://network-simulator-ns-2.7690.n7.nabble.com/template/NamlServlet.jtp?macro=search_page&node=2&query=blackhole&n=2

-
otcl_ns-allinone234_gcc44.patch
blackholeaodv2013-ns234_4.patch
Reply all
Reply to author
Forward
0 new messages