[ns] NS:Question about installing TeNs

zhihua wen zxw20 at eecs.cwru.edu
Thu Jun 2 12:39:35 PDT 2005


Hi, all:

I have successfully installed ns-allinone-2.1b9a and made the following =
change:

-- change variable CPP  in the Makefile to " CPP =3D g++ "
-- change variable NSE   in the Makefile to " NSE =3D nse "
-- make variable BUILD_NSE empty, i.e.,  " BUILD_NSE =3D "
-- Search for the line containing " mobile/antenna.o =
mobile/omni-antenna.o \ " \
and replace it by " mobile/antenna.o mobile/omni-antenna.o =
mobile/dir-antenna.o\  "
-- Search for the lines  " aodv/aodv_logs.o aodv/aodv.o \    =
aodv/aodv_rtable.o aodv/aodv_rqueue.o \ "
and add the lines " wlstatic/wlstatic_logs.o wlstatic/wlstatic.o \       =
  =20
wlstatic/wlstatic_rtable.o wlstatic/wlstatic_rqueue.o  \   " before it.

I have run " make clean " and "make depend" then finally make, then I =
have got the following problem

common/agent.cc: In method `void Agent::initpkt (Packet *) const':
common/agent.cc:455: no matching function for call to=20
`hdr_cmn::ref_count ()'
make: *** [common/agent.o] Error 1

Does anybody has similar problem in installing TeNs extension on NS? thx =
very much for helpping me.






More information about the Ns-users mailing list