Bug 1429 - task in 'ns3module_dsr' failed (exit status 1):
task in 'ns3module_dsr' failed (exit status 1):
Status: RESOLVED DUPLICATE of bug 1427
Product: ns-3
Classification: Unclassified
Component: build system
ns-3.13
All Linux
: P5 major
Assigned To: Gustavo J. A. M. Carneiro
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-18 03:40 EDT by mynorkin
Modified: 2012-05-18 05:19 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mynorkin 2012-05-18 03:40:23 EDT
Hi Support

Currently I am trying to build NS3 on Ubuntu 12.04 but I having this issue. It is downloaded using Mercurial. Kindly if you can help to check. Thanks

[ 966/1495] cxx: build/src/dsr/bindings/ns3module.cc -> build/src/dsr/bindings/ns3module.cc.7.o
src/dsr/bindings/ns3module.cc: In function ‘int _wrap_convert_py2c__std__vector__lt___ns3__dsr__RouteCache__Neighbor___gt__(PyObject*, std::vector<ns3::dsr::RouteCache::Neighbor>*)’:
src/dsr/bindings/ns3module.cc:25982:44: error: no matching function for call to ‘ns3::dsr::RouteCache::Neighbor::Neighbor()’
src/dsr/bindings/ns3module.cc:25982:44: note: candidates are:
./ns3/dsr-rcache.h:489:5: note: ns3::dsr::RouteCache::Neighbor::Neighbor(ns3::Ipv4Address, ns3::Mac48Address, ns3::Time)
./ns3/dsr-rcache.h:489:5: note:   candidate expects 3 arguments, 0 provided
./ns3/dsr-rcache.h:482:10: note: ns3::dsr::RouteCache::Neighbor::Neighbor(const ns3::dsr::RouteCache::Neighbor&)
./ns3/dsr-rcache.h:482:10: note:   candidate expects 1 argument, 0 provided
Waf: Leaving directory `/home/hafizan/repos/ns-3-allinone/ns-3-dev/build'
Build failed
 -> task in 'ns3module_dsr' failed (exit status 1): 
	{task 169324780: cxx ns3module.cc -> ns3module.cc.7.o}
['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-Wno-error=deprecated-declarations', '-fstrict-aliasing', '-Wstrict-aliasing', '-fPIC', '-pthread', '-fno-strict-aliasing', '-fwrapv', '-fstack-protector', '-fno-strict-aliasing', '-fvisibility=hidden', '-Wno-array-bounds', '-pthread', '-pthread', '-fno-strict-aliasing', '-fwrapv', '-fstack-protector', '-fno-strict-aliasing', '-Ibuild', '-I.', '-Ibuild/src/dsr/bindings', '-Isrc/dsr/bindings', '-I/usr/include/python2.7', '-I/usr/include/gtk-2.0', '-I/usr/lib/i386-linux-gnu/gtk-2.0/include', '-I/usr/include/atk-1.0', '-I/usr/include/cairo', '-I/usr/include/gdk-pixbuf-2.0', '-I/usr/include/pango-1.0', '-I/usr/include/gio-unix-2.0', '-I/usr/include/glib-2.0', '-I/usr/lib/i386-linux-gnu/glib-2.0/include', '-I/usr/include/pixman-1', '-I/usr/include/freetype2', '-I/usr/include/libpng12', '-I/usr/include/libxml2', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DSQLITE3=1', '-DHAVE_IF_TUN_H=1', '-DENABLE_GSL', '-DNS_DEPRECATED=', '-DNS3_DEPRECATED_H', '-DNDEBUG', '-DNDEBUG', 'src/dsr/bindings/ns3module.cc', '-c', '-o', 'src/dsr/bindings/ns3module.cc.7.o']
Traceback (most recent call last):
  File "./build.py", line 197, in <module>
    sys.exit(main(sys.argv))
  File "./build.py", line 188, in main
    build_ns3(config, build_examples, build_tests, args, build_options)
  File "./build.py", line 81, in build_ns3
    run_command([sys.executable, "waf", "build"] + build_options)
  File "/home/hafizan/repos/ns-3-allinone/util.py", line 24, in run_command
    raise CommandError("Command %r exited with code %i" % (argv, retval))
util.CommandError: Command ['/usr/bin/python', 'waf', 'build'] exited with code 1
Comment 1 Gustavo J. A. M. Carneiro 2012-05-18 05:19:33 EDT

*** This bug has been marked as a duplicate of bug 1427 ***