Indeed, it might be a problem with some versions
combination.
why not using bake ? you can replace net-next-sim version
after a bake build.
-- Hajime
At Wed, 1 Jul 2015 13:35:16 +0200,
Hany Assasa wrote:
>
> Hi,
>
> I don't think the problem as you pointed. It is something related to the
> configuration file. Now, I tried to download ns3.19 instead of n3.23 and
> the configure command of waf in ns-3-dce worked perfectly and identified
> the ns3 core.
>
> So the problem is with version compatibility, I suppose. So how to solve
> this problem?
>
> On Wed, Jul 1, 2015 at 1:20 PM, Matt Anonyme <
matt...@gmail.com> wrote:
>
> > Hi,
> > Note that '--prefix=$HOME/workspace/build' is where ./waf install copies
> > files. As such I prefer to call the folder "$HOME/workspace/install"
> > instead of build that can be confused with ns3/build.
> >
> > I am not sure of the error but I wonder if setting the same --prefix for
> > both ns3 and dce can lead to this problem. Waht if you don't set dce
> > --prefix or set it to another value ?
> > ./waf configure --with-ns3=$HOME/workspace/build --enable-opt --enable-
> > kernel-stack=$HOME/workspace/net-next-sim/arch
> >
> >
> >
> > Le mercredi 1 juillet 2015 02:10:03 UTC+2, HA a écrit :
> >>
> >> Hi,
> >>
> >> I am trying to build ns3-dce using waf. However, I am getting error when
> >> I am passing configuration parameters for waf inside ns3-dce. The error is
> >> related to setting ns3 core directory. Here are the steps I have followed
> >> to build with waf:
> >>
> >> *1. Download pybindgen (optional)*
> >>
> >> bzr clone
https://launchpad.net/pybindgen
> >> cd pybindgen
> >>
> >> ./waf configure --prefix=$HOME/workspace/build
> >> ./waf
> >> ./waf install
> >>
> >> *2. Download ns-3.23 and build it in optimized mode*
> >>
> >> hg clone
http://code.nsnam.org/ns-3.23
> >> ./waf configure --disable-examples -d optimized --prefix=$HOME/workspace/build
> >> --includedir=$HOME/workspace/include/
> >> ./waf build
> >> ./waf install
> >>
> >> *3. Clone net-next-sim using 3.14 branch and enable MPTCP*
> >>
> >> git clone
https://github.com/thehajime/net-next-sim.git
> >> cd net-next-sim
> >> git checkout sim-ns3-3.14.0-branch
> >>
> >> cat >> arch/sim/defconfig <<END
> >>
> >> CONFIG_MPTCP=y
> >> CONFIG_MPTCP_PM_ADVANCED=y
> >> CONFIG_MPTCP_FULLMESH=y
> >> CONFIG_MPTCP_NDIFFPORTS=y
> >> CONFIG_DEFAULT_FULLMESH=y
> >> CONFIG_DEFAULT_MPTCP_PM="fullmesh"
> >> CONFIG_TCP_CONG_COUPLED=y
> >> CONFIG_TCP_CONG_OLIA=y
> >>
> >> END
> >>
> >> make defconfig OPT=yes ARCH=sim
> >> make library OPT=yes ARCH=sim
> >>
> >> *4. Download, configure, build and install DCE 1.6*
> You received this message because you are subscribed to the Google Groups "ns-3-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
ns-3-users+...@googlegroups.com.