[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Re: [ns] NOAH
> Under http://www.informatik.uni-mannheim.de/~widmer/mnav/ns-extension/
> you can found one version for ns-2.1b6 and one for ns-2.1b7. Please
> download the all-in-one-installation and install it.
>
> Regards,
> Thomas
in fact, i would like to use Columbia IP Micro-Mobility Suite
(http://www.comet.columbia.edu/micromobility/index.htm)
so i done this:
1/ i download "the NOAH routing agent"
(i download the all-in-one installation)
2/ i download the micromobility sources on
http://www.comet.columbia.edu/micromobility/software.htm
3/ tar xfz ns-wireless-2.1b7a.tar.gz
tar xfz micromobility.tar.gz
then, i copied all the files from mobility.tar.gz in the
ns-2.1b7a directory
as it writes in the web site
(http://www.comet.columbia.edu/micromobility/software.htm)
4/ cd ns-allinone-2.1b7a
./install
tk, tcl, otcl, xgraph compiled fine
but when it compil ns i have the following errors:
c++ -c -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG
-DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_0A6
-DHAVE_OTCL_H -DHAVE_LIBTK8_3 -DHAVE_TK_H -DHAVE_LIBTCL8_3 -DHAVE_TCL_H
-DHAVE_CONFIG_H -I.
-I/home/lcavallin/new_ns_release/ns-allinone-2.1b7a/tclcl-1.0b10
-I/home/lcavallin/new_ns_release/ns-allinone-2.1b7a/otcl-1.0a6
-I/home/lcavallin/new_ns_release/ns-allinone-2.1b7a/include
-I/home/lcavallin/new_ns_release/ns-allinone-2.1b7a/include -o cip-reg.o
cip-reg.cc
In file included from /usr/include/g++/algobase.h:36,
from /usr/include/g++/list.h:30,
from packet.h:46,
from agent.h:41,
from cip.h:5,
from cip-reg.cc:3:
/usr/include/g++/stl_algobase.h:74: redefinition of `template <class T>
void swap(T &, T &)'
template.h:94: `template <class Type> void swap(Type &, Type &)'
previously declared here
dsr/hdr_sr.h: In function `static struct hdr_sr * hdr_sr::access(const
class Packet *)':
In file included from packet.h:49,
from agent.h:41,
from cip.h:5,
from cip-reg.cc:3:
dsr/hdr_sr.h:100: no matching function for call to `Packet::access (int
&) const'
cip-reg.cc: In method `void CIPBSAgent::send_ads(int = -1, class
NsObject * = 0)':
cip-reg.cc:108: `off_cmn_' undeclared (first use this function)
cip-reg.cc:108: (Each undeclared identifier is reported only once
cip-reg.cc:108: for each function it appears in.)
cip-reg.cc: In method `void CIPMHAgent::recv(class Packet *, class
Handler *)':
cip-reg.cc:138: member `address_' is protected
cip-reg.cc:139: member `address_' is protected
cip-reg.cc:153: member `address_' is protected
make: *** [cip-reg.o] Error 1