source mptcp in ns3 and ns2 on fedora

150 views
Skip to first unread message

Reza Fotohi

unread,
Dec 5, 2016, 3:33:54 PM12/5/16
to mptcp
You can find attached a link to a patch to apply over a raw ns-3 (i.e. ns-allinone-3.13) and a tweaked mpTopology example (I had to modify several issues) to be included into the scratch folder so as to be appropriately tested. If you don't know how to apply the patch, just paste it into the ns-allinone folder and prompt the following command: "patch -p1 -i mptcp-ns-3.13.patch". It is worth remarking that you must clean the whole project because we are actually adding a new module and if you don't do this, it could lead to dependence problems (that is to say, the well-known tuple "./waf clean + ./waf configure + ./waf").

Here you have the links:
Done by: Reza fotohi

--
******************************

左剑

unread,
Mar 6, 2017, 7:48:37 PM3/6/17
to mptcp
Hi Reza,

Thank you for your contribution, have you tested your patch on the lasted ns-3 version? Or it only works well with ns3.13?

Regards,
Jian

Reza Fotohi

unread,
Mar 6, 2017, 11:22:02 PM3/6/17
to mp...@googlegroups.com
Yes
--
Vous recevez ce message, car vous êtes abonné à un sujet dans le groupe Google Groupes "mptcp".
Pour vous désabonner de ce sujet, visitez le site https://groups.google.com/d/topic/mptcp/G0v3r7h42c4/unsubscribe.
Pour vous désabonner de ce groupe et de tous ses sujets, envoyez un e-mail à l'adresse mptcp+un...@googlegroups.com.
Pour obtenir davantage d'options, consultez la page https://groups.google.com/d/optout.
--
**************************************************************************

左剑

unread,
Mar 7, 2017, 4:26:56 AM3/7/17
to mptcp
Hi Reza,

I have some troubles with installing ns-3.13, my OS is Ubuntu 14.04, GCC version 4.8.4, Python vesion 2.7.9.
Could you please give me some suggestions? I do appreciate your timely help.

The log is as shown  below:

waf: Leaving directory `/home/zuojian/ns-allinone-3.13/ns-3.13/build'
Build failed
 -> task failed (exit status 1): 
{task 139959029704464: cxx tap-bridge.cc -> tap-bridge.cc.1.o}
['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-Wno-error=deprecated-declarations', '-fstrict-aliasing', '-Wstrict-aliasing', '-fPIC', '-pthread', '-Ibuild', '-I.', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DSQLITE3=1', '-DHAVE_IF_TUN_H=1', '-DPYTHONDIR="/usr/local/lib/python2.7/site-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python2.7/site-packages"', '-DHAVE_PYEMBED=1', '-DENABLE_GSL', '../src/tap-bridge/model/tap-bridge.cc', '-c', '-o', 'src/tap-bridge/model/tap-bridge.cc.1.o']
Traceback (most recent call last):
  File "./build.py", line 147, in <module>
    sys.exit(main(sys.argv))
  File "./build.py", line 138, in main
    build_ns3(config, build_examples, build_tests, args, build_options)
  File "./build.py", line 61, in build_ns3
    run_command([sys.executable, "waf", "build"] + build_options)
  File "/home/zuojian/ns-allinone-3.13/util.py", line 24, in run_command
    raise CommandError("Command %r exited with code %i" % (argv, retval))
util.CommandError: Command ['/usr/local/bin/python', 'waf', 'build'] exited with code 1


在 2017年3月7日星期二 UTC+8下午12:22:02,Reza Fotohi写道:
Reply all
Reply to author
Forward
0 new messages