hi all ns users
  i am installing maodv on ns-2.26.i installed ns-2.26 successfully and i did 
all the changes in aodv as required according to this link
  www.sce.carleton.ca/wmc/code.html  
  but when i typed command make clean and then clean under the directory 
ns-2.26 i got this error
  
/home/anjali/Desktop/ns-2.26/ns-allinone-2.26/lib/libtcl8.3.a(tclUnixPipe.o)(.text+0xdd):
 In function `TclpCreateTempFile':
  : the use of `tmpnam' is dangerous, better use `mkstemp'
  aodv/aodv.o(.text+0xb7): In function `AODV::command(int, char const* const*)':
  : undefined reference to `GroupHelloTimer::handle(Event*)'
  aodv/aodv.o(.text+0x2c0): In function `AODV::command(int, char const* 
const*)':
  : undefined reference to `aodv_mtable::mt_lookup(int)'
  aodv/aodv.o(.text+0x2e0): In function `AODV::command(int, char const* 
const*)':
  : undefined reference to `aodv_mtable::mt_add(int)'
  aodv/aodv.o(.text+0x340): In function `AODV::command(int, char const* 
const*)':
  : undefined reference to `AODV::sendMRQ(aodv_mt_entry*, unsigned char)'
  aodv/aodv.o(.text+0x3ae): In function `AODV::command(int, char const* 
const*)':
  : undefined reference to `aodv_mtable::mt_lookup(int)'
  aodv/aodv.o(.text+0x3ed): In function `AODV::command(int, char const* 
const*)':
  : undefined reference to `AODV::mt_prune(int)'
  aodv/aodv.o(.text+0x418): In function `AODV::command(int, char const* 
const*)':
  : undefined reference to `AODV::selectLeader(aodv_mt_entry*, int)'
  aodv/aodv.o(.text+0x917): In function `NeighborTimer::handle(Event*)':
  : undefined reference to `AODV::mt_link_purge()'
  aodv/aodv.o(.text+0x13a5): In function `AODV::rt_resolve(Packet*)':
  : undefined reference to `AODV::sendMACT(int, unsigned char, unsigned char, 
int)'
  aodv/aodv.o(.text+0x17f2): In function `AODV::recv(Packet*, Handler*)':
  : undefined reference to `AODV::mt_resolve(Packet*)'
  aodv/aodv.o(.text+0x1916): In function `AODV::recvAODV(Packet*)':
  : undefined reference to `AODV::recvMACT(Packet*)'
  aodv/aodv.o(.text+0x1929): In function `AODV::recvAODV(Packet*)':
  : undefined reference to `AODV::recvMGRPH(Packet*)'
  aodv/aodv.o(.text+0x193c): In function `AODV::recvAODV(Packet*)':
  : undefined reference to `AODV::recvMWARN(Packet*)'
  aodv/aodv.o(.text+0x1d07): In function `AODV::recvRequest(Packet*)':
  : undefined reference to `AODV::recvMRQ_NOFLAG(Packet*)'
  aodv/aodv.o(.text+0x1d1d): In function `AODV::recvRequest(Packet*)':
  : undefined reference to `AODV::recvMRQ_J(Packet*)'
  aodv/aodv.o(.text+0x1d33): In function `AODV::recvRequest(Packet*)':
  : undefined reference to `AODV::recvMRQ_R(Packet*)'
  aodv/aodv.o(.text+0x1d49): In function `AODV::recvRequest(Packet*)':
  : undefined reference to `AODV::recvMRQ_JR(Packet*)'
  aodv/aodv.o(.text+0x20f0): In function `AODV::recvReply(Packet*)':
  : undefined reference to `AODV::recvMRP_J(Packet*)'
  aodv/aodv.o(.text+0x2106): In function `AODV::recvReply(Packet*)':
  : undefined reference to `AODV::recvMRP_R(Packet*)'
  aodv/aodv.o(.text+0x211c): In function `AODV::recvReply(Packet*)':
  : undefined reference to `AODV::recvMRP_JR(Packet*)'
  aodv/aodv.o(.text+0x272c): In function `AODV::forward(aodv_rt_entry*, 
Packet*, double)':
  : undefined reference to `AODV::controlNextHello()'
  aodv/aodv.o(.text+0x2cad): In function `AODV::sendRequest(int)':
  : undefined reference to `aodv_gltable::glt_lookup(int)'
  aodv/aodv.o(.text+0x2d37): In function `AODV::sendRequest(int)':
  : undefined reference to `AODV::controlNextHello()'
  aodv/aodv.o(.text+0x316f): In function `AODV::sendError(Packet*, bool)':
  : undefined reference to `AODV::controlNextHello()'
  aodv/aodv.o(.text+0x329f): In function `AODV::sendHello()':
  : undefined reference to `AODV::controlNextHello()'
  aodv/aodv.o(.text+0x3626): In function `AODV::nb_purge()':
  : undefined reference to `AODV::mt_nb_fail(int)'
  aodv/aodv.o(.text+0x3a80): In function `AODV::sendRPE(Packet*)':
  : undefined reference to `AODV::controlNextHello()'
  aodv/aodv.o(.gnu.linkonce.t._ZN11PacketTimerC1EP4AODV+0x19): In function 
`PacketTimer::PacketTimer[in-charge](AODV*)':
  : undefined reference to `vtable for PacketTimer'
  aodv/aodv.o(.gnu.linkonce.t._ZN15GroupHelloTimerC1EP4AODV+0x19): In function 
`GroupHelloTimer::GroupHelloTimer[in-charge](AODV*)':
  : undefined reference to `vtable for GroupHelloTimer'
  aodv/aodv.o(.gnu.linkonce.t._ZN13RREPWaitTimerC1EP4AODV+0x19): In function 
`RREPWaitTimer::RREPWaitTimer[in-charge](AODV*)':
  : undefined reference to `vtable for RREPWaitTimer'
  aodv/aodv.o(.gnu.linkonce.t._ZN10PruneTimerC1EP4AODV+0x19): In function 
`PruneTimer::PruneTimer[in-charge](AODV*)':
  : undefined reference to `vtable for PruneTimer'
  collect2: ld returned 1 exit status
  make: *** [ns] Error 1
   
   
  can anyone suggest me how can i fix it?
  any help is welcome
   
  mahi kapoor

                                
---------------------------------
 Here’s a new way to find what you're looking for - Yahoo! Answers 

Reply via email to