Hi, I am trying to do mptcp simulation in ns3 dce. But I have same failed error in building "dce-linux-inkernel"
I changed version with modifying 0.88 to 0.89, and using sim-ns3-3.14.0-branch instead of sim-ns3-3.11.0-branch.
I tried to install this in various versions of ubuntu (12.04, 14.04, 16.04) and installed all required packages.
But all of try is failed.
when I tried "bake with -vvv", outputs are following. Please help me to solve this problem.
--------------------------------------
Python bindings compilation
--------------------------------------------------------------------
[ 10/375] lib/pkgconfig/libns3-dev-netlink-debug.pc: -> build/lib/pkgconfig/libns3-dev-netlink-debug.pc
[ 78/375] cxx: model/linux/ipv6-linux.cc -> build/model/linux/ipv6-linux.cc.6.o
[106/375] cxx: helper/dce-application-helper.cc -> build/helper/dce-application-helper.cc.6.o
[107/375] cxx: helper/ccn-client-helper.cc -> build/helper/ccn-client-helper.cc.6.o
[108/375] cxx: helper/linux-stack-helper.cc -> build/helper/linux-stack-helper.cc.6.o
../model/linux/ipv6-linux.cc: In static member function ‘static void ns3::Ipv6Linux::InstallNode(ns3::Ptr<ns3::Node>)’:
../model/linux/ipv6-linux.cc:457:3: error: ‘ObjectFactory’ was not declared in this scope
ObjectFactory factory;
^
../model/linux/ipv6-linux.cc:457:17: error: expected ‘;’ before ‘factory’
ObjectFactory factory;
^
../model/linux/ipv6-linux.cc:458:3: error: ‘factory’ was not declared in this scope
factory.SetTypeId ("ns3::Ipv6Linux");
^
Waf: Leaving directory `/home/jin/mptcp/arch/sim/test/buildtop/source/ns-3-dce/build'
Build failed
-> task in './lib/ns3-dce' failed (exit status 1):
{task 140028805275024: cxx ipv6-linux.cc -> ipv6-linux.cc.6.o}
['/usr/bin/g++', '-g', '-fPIC', '-pthread', '-pthread', '-pthread', '-I/home/jin/mptcp/arch/sim', '-I/home/jin/mptcp/arch/sim/test/buildtop/source/ns-3-dce/build/model', '-I/home/jin/mptcp/arch/sim/test/buildtop/source/ns-3-dce/model', '-I/home/jin/mptcp/arch/sim/test/buildtop/source/ns-3-dce/build/model/freebsd', '-I/home/jin/mptcp/arch/sim/test/buildtop/source/ns-3-dce/model/freebsd', '-I/home/jin/mptcp/arch/sim/test/buildtop/source/ns-3-dce/build/helper', '-I/home/jin/mptcp/arch/sim/test/buildtop/source/ns-3-dce/helper', '-I/home/jin/mptcp/arch/sim/test/buildtop/source/ns-3-dce/build/model/linux', '-I/home/jin/mptcp/arch/sim/test/buildtop/source/ns-3-dce/model/linux', '-I/home/jin/mptcp/arch/sim/test/buildtop/source/ns-3-dce/build/include', '-I/home/jin/mptcp/arch/sim/test/buildtop/source/ns-3-dce/include', '-I/home/jin/mptcp/arch/sim/test/buildtop/build/include/ns3-dev',
'-DNS3_LOG_ENABLE', '-DNS3_ASSERT_ENABLE', '-DHAVE_NS3_CORE=1',
'-DHAVE_NS3_NETWORK=1', '-DHAVE_NS3_INTERNET=1',
'-DHAVE_NS3_POINT_TO_POINT=1', '-DHAVE_NS3_TAP_BRIDGE=1',
'-DHAVE_NS3_NETANIM=1', '-DHAVE_NS3_WIFI=1', '-DHAVE_NS3_CSMA=1',
'-DHAVE_NS3_MOBILITY=1', '-DHAVE_NS3_POINT_TO_POINT_LAYOUT=1',
'-DHAVE_NS3_MPI=1', '-DHAVE_NS3_LTE=1', '-DHAVE_NS3_APPLICATIONS=1',
'-DHAVE_NS3_FD_NET_DEVICE=1', '-DHAVE_STDINT_H=1',
'-DHAVE_INTTYPES_H=1', '-DHAVE_SYS_TYPES_H=1', '-DHAVE_SYS_STAT_H=1',
'-DHAVE_DIRENT_H=1', '-DHAVE_GETCPUFEATURES=1', '-DHAVE_SIM_H=1',
'-DKERNEL_STACK=Y', '-DHAVE_NS3_FLOW_MONITOR=1',
'-DHAVE_HOOK_MANAGER_H=1', '-DPYTHONDIR="/home/jin/mptcp/arch/sim/test/buildtop/build/lib/python2.7/site-packages"', '-DPYTHONARCHDIR="/home/jin/mptcp/arch/sim/test/buildtop/build/lib/python2.7/site-packages"', '-DHAVE_PYTHON_H=1', '../model/linux/ipv6-linux.cc', '-c', '-o', 'model/linux/ipv6-linux.cc.6.o']
()
>> Building dce-linux-inkernel - Problem
> Subprocess failed with error 1: ['/home/jin/mptcp/arch/sim/test/buildtop/source/ns-3-dce/waf']
TaskError
File "/home/jin/mptcp/arch/sim/test/bake/bake/Module.py", line 423, in build
self._build.build(env, jobs)
File "/home/jin/mptcp/arch/sim/test/bake/bake/ModuleBuild.py", line 435, in build
env=self._env(env.objdir))
File "/home/jin/mptcp/arch/sim/test/bake/bake/ModuleEnvironment.py", line 533, in run
raise TaskError('Subprocess failed with error %d: %s' % (retcode, str(args)))
> Error: Critical dependency, module "dce-linux-inkernel" failed
DependencyUnmet
File "/home/jin/mptcp/arch/sim/test/bake/bake/Bake.py", line 569, in _iterate
deps.resolve(targets)
File "/home/jin/mptcp/arch/sim/test/bake/bake/Dependencies.py", line 198, in resolve
self._resolve_serial(targets, callback)
File "/home/jin/mptcp/arch/sim/test/bake/bake/Dependencies.py", line 433, in _resolve_serial
finished = self._resolve_one_iteration(targets, callback)
File "/home/jin/mptcp/arch/sim/test/bake/bake/Dependencies.py", line 400, in _resolve_one_iteration
raise DependencyUnmet(i.dst())