[ns] (.text+0x6b13): undefined reference to function_name ; when i use make clean and make (mohammad shojaeinia)

2008-08-09 Thread mohammad shojaeinia

hi
Dear all
after replacing dsr with trust extension by original dsr in ns-2.33
and fedora core 9 platform ,i use *make clean* and *make* for run
trust based routing in DSR but i
give some error such as follow
help me please
this extention is refer to Mr Leonard conard

dsr/dsragent.o: In function
`DSRAgent::returnSrcRouteToRequestor(SRPacket)':
dsragent.cc:(.text+0x8cf): undefined reference to
`TrustManager::initNewTrustValues(Path, int)'
dsr/dsragent.o: In function
`DSRAgent::returnSrcRteForOutsideDomainToRequestor(SRPacket)':
dsragent.cc:(.text+0xd11): undefined reference to
`TrustManager::initNewTrustValues(Path, int)'
dsr/dsragent.o: In function `DSRAgent::sendOutPacketWithRoute(SRPacket,
bool, double)':
dsragent.cc:(.text+0x1219): undefined reference to
`ACKMonitor::addACK(double, int*, int, double)'
dsr/dsragent.o: In function `DSRAgent::sendRouteShortening(SRPacket, int,
int)':
dsragent.cc:(.text+0x1c7c): undefined reference to
`TrustManager::initNewTrustValues(Path, int)'
dsr/dsragent.o: In function `DSRAgent::replyFromRouteCache(SRPacket)':
dsragent.cc:(.text+0x257f): undefined reference to
`TrustManager::initNewTrustValues(Path, int)'
dsr/dsragent.o: In function `DSRAgent::handleForwarding(SRPacket)':
dsragent.cc:(.text+0x2c90): undefined reference to
`TrustManager::initNewTrustValues(Path, int)'
dsr/dsragent.o: In function `DSRAgent::acceptRouteReply(SRPacket)':
dsragent.cc:(.text+0x3090): undefined reference to
`TrustManager::initNewTrustValues(Path, int)'
dsr/dsragent.o: In function `DSRAgent::tap(Packet const*)':
dsragent.cc:(.text+0x4d54): undefined reference to
`TrustManager::initNewTrustValues(Path, int)'
dsr/dsragent.o:dsragent.cc:(.text+0x4e46): more undefined references to
`TrustManager::initNewTrustValues(Path, int)' follow
dsr/dsragent.o: In function `DSRAgent::handlePacketReceipt(SRPacket)':
dsragent.cc:(.text+0x55d8): undefined reference to
`TrustManager::updateTrustForNodes(Path, double)'
dsragent.cc:(.text+0x5670): undefined reference to
`TrustManager::initNewTrustValues(Path, int)'
dsragent.cc:(.text+0x57fc): undefined reference to
`ACKMonitor::handleACKReceived(double, int*, int, double, int)'
dsr/dsragent.o: In function `DSRAgent::Terminate()':
dsragent.cc:(.text+0x6276): undefined reference to `TrustManager::save(int)'
dsragent.cc:(.text+0x6286): undefined reference to `TrustManager::toPrint()'
dsragent.cc:(.text+0x62d6): undefined reference to `ACKMonitor::terminate()'
dsr/dsragent.o: In function `DSRAgent::command(int, char const* const*)':
dsragent.cc:(.text+0x6b13): undefined reference to
`TrustManager::setId(int)'
dsragent.cc:(.text+0x6b37): undefined reference to `TrustManager::load(int)'
dsr/dsragent.o: In function `DSRAgent::~DSRAgent()':
dsragent.cc:(.text+0x6c10): undefined reference to
`ACKMonitor::~ACKMonitor()'
dsr/dsragent.o: In function `DSRAgent::~DSRAgent()':
dsragent.cc:(.text+0x6dca): undefined reference to
`ACKMonitor::~ACKMonitor()'
dsr/dsragent.o: In function `DSRAgent::~DSRAgent()':
dsragent.cc:(.text+0x6f76): undefined reference to
`ACKMonitor::~ACKMonitor()'
dsr/dsragent.o: In function `DSRAgent::initTrustManager()':
dsragent.cc:(.text+0x70de): undefined reference to
`TrustFormaterS1::TrustFormaterS1(TrustManager*)'
dsragent.cc:(.text+0x70f5): undefined reference to
`TrustManager::setTrustFormater(TrustFormater*)'
dsragent.cc:(.text+0x710f): undefined reference to
`TrustUpdaterS1::TrustUpdaterS1()'
dsragent.cc:(.text+0x7150): undefined reference to
`TrustManager::setTrustUpdater(TrustUpdater*)'
dsragent.cc:(.text+0x7189): undefined reference to
`ACKMonitor::setTrustManager(TrustManager*)'
dsr/dsragent.o: In function `DSRAgent::DSRAgent()':
dsragent.cc:(.text+0x75bf): undefined reference to
`TrustManager::TrustManager()'
dsragent.cc:(.text+0x7626): undefined reference to
`ACKMonitor::ACKMonitor()'
dsragent.cc:(.text+0x777c): undefined reference to
`ACKMonitor::~ACKMonitor()'
dsr/dsragent.o: In function `DSRAgent::DSRAgent()':
dsragent.cc:(.text+0x7a9d): undefined reference to
`TrustManager::TrustManager()'
dsragent.cc:(.text+0x7b04): undefined reference to
`ACKMonitor::ACKMonitor()'
dsragent.cc:(.text+0x7c5a): undefined reference to
`ACKMonitor::~ACKMonitor()'
collect2: ld returned 1 exit status
make: *** [ns] Error 1
Best Regards,


[ns] (.text+0x6b13): undefined reference to function_name ; when i use make clean and make

2008-08-08 Thread mohammad shojaeinia

hi
Dear all
after replacing dsr with trust extension by original dsr in ns-2.33
and fedora core 9 platform ,i use *make clean* and *make* for run
trust based routing in DSR but i
give some error such as follow
help me please
this extention is refer to Mr Leonard conard

dsr/dsragent.o: In function
`DSRAgent::returnSrcRouteToRequestor(SRPacket)':
dsragent.cc:(.text+0x8cf): undefined reference to
`TrustManager::initNewTrustValues(Path, int)'
dsr/dsragent.o: In function
`DSRAgent::returnSrcRteForOutsideDomainToRequestor(SRPacket)':
dsragent.cc:(.text+0xd11): undefined reference to
`TrustManager::initNewTrustValues(Path, int)'
dsr/dsragent.o: In function `DSRAgent::sendOutPacketWithRoute(SRPacket,
bool, double)':
dsragent.cc:(.text+0x1219): undefined reference to
`ACKMonitor::addACK(double, int*, int, double)'
dsr/dsragent.o: In function `DSRAgent::sendRouteShortening(SRPacket, int,
int)':
dsragent.cc:(.text+0x1c7c): undefined reference to
`TrustManager::initNewTrustValues(Path, int)'
dsr/dsragent.o: In function `DSRAgent::replyFromRouteCache(SRPacket)':
dsragent.cc:(.text+0x257f): undefined reference to
`TrustManager::initNewTrustValues(Path, int)'
dsr/dsragent.o: In function `DSRAgent::handleForwarding(SRPacket)':
dsragent.cc:(.text+0x2c90): undefined reference to
`TrustManager::initNewTrustValues(Path, int)'
dsr/dsragent.o: In function `DSRAgent::acceptRouteReply(SRPacket)':
dsragent.cc:(.text+0x3090): undefined reference to
`TrustManager::initNewTrustValues(Path, int)'
dsr/dsragent.o: In function `DSRAgent::tap(Packet const*)':
dsragent.cc:(.text+0x4d54): undefined reference to
`TrustManager::initNewTrustValues(Path, int)'
dsr/dsragent.o:dsragent.cc:(.text+0x4e46): more undefined references to
`TrustManager::initNewTrustValues(Path, int)' follow
dsr/dsragent.o: In function `DSRAgent::handlePacketReceipt(SRPacket)':
dsragent.cc:(.text+0x55d8): undefined reference to
`TrustManager::updateTrustForNodes(Path, double)'
dsragent.cc:(.text+0x5670): undefined reference to
`TrustManager::initNewTrustValues(Path, int)'
dsragent.cc:(.text+0x57fc): undefined reference to
`ACKMonitor::handleACKReceived(double, int*, int, double, int)'
dsr/dsragent.o: In function `DSRAgent::Terminate()':
dsragent.cc:(.text+0x6276): undefined reference to `TrustManager::save(int)'
dsragent.cc:(.text+0x6286): undefined reference to `TrustManager::toPrint()'
dsragent.cc:(.text+0x62d6): undefined reference to `ACKMonitor::terminate()'
dsr/dsragent.o: In function `DSRAgent::command(int, char const* const*)':
dsragent.cc:(.text+0x6b13): undefined reference to
`TrustManager::setId(int)'
dsragent.cc:(.text+0x6b37): undefined reference to `TrustManager::load(int)'
dsr/dsragent.o: In function `DSRAgent::~DSRAgent()':
dsragent.cc:(.text+0x6c10): undefined reference to
`ACKMonitor::~ACKMonitor()'
dsr/dsragent.o: In function `DSRAgent::~DSRAgent()':
dsragent.cc:(.text+0x6dca): undefined reference to
`ACKMonitor::~ACKMonitor()'
dsr/dsragent.o: In function `DSRAgent::~DSRAgent()':
dsragent.cc:(.text+0x6f76): undefined reference to
`ACKMonitor::~ACKMonitor()'
dsr/dsragent.o: In function `DSRAgent::initTrustManager()':
dsragent.cc:(.text+0x70de): undefined reference to
`TrustFormaterS1::TrustFormaterS1(TrustManager*)'
dsragent.cc:(.text+0x70f5): undefined reference to
`TrustManager::setTrustFormater(TrustFormater*)'
dsragent.cc:(.text+0x710f): undefined reference to
`TrustUpdaterS1::TrustUpdaterS1()'
dsragent.cc:(.text+0x7150): undefined reference to
`TrustManager::setTrustUpdater(TrustUpdater*)'
dsragent.cc:(.text+0x7189): undefined reference to
`ACKMonitor::setTrustManager(TrustManager*)'
dsr/dsragent.o: In function `DSRAgent::DSRAgent()':
dsragent.cc:(.text+0x75bf): undefined reference to
`TrustManager::TrustManager()'
dsragent.cc:(.text+0x7626): undefined reference to
`ACKMonitor::ACKMonitor()'
dsragent.cc:(.text+0x777c): undefined reference to
`ACKMonitor::~ACKMonitor()'
dsr/dsragent.o: In function `DSRAgent::DSRAgent()':
dsragent.cc:(.text+0x7a9d): undefined reference to
`TrustManager::TrustManager()'
dsragent.cc:(.text+0x7b04): undefined reference to
`ACKMonitor::ACKMonitor()'
dsragent.cc:(.text+0x7c5a): undefined reference to
`ACKMonitor::~ACKMonitor()'
collect2: ld returned 1 exit status
make: *** [ns] Error 1
Best Regards,


[ns] (.text+0x6b13): undefined reference to function_name when i use make clean and make

2008-08-03 Thread mohammad shojaeinia

hi
Dear all
after replacing dsr with trust extension by original dsr in ns-2.33
and fedora core 9 platform ,i use *make clean* and *make* for run
trust based routing in DSR but i
give some error such as follow
help me please
this extention is refer to Mr Leonard conard

dsr/dsragent.o: In function
`DSRAgent::returnSrcRouteToRequestor(SRPacket)':
dsragent.cc:(.text+0x8cf): undefined reference to
`TrustManager::initNewTrustValues(Path, int)'
dsr/dsragent.o: In function
`DSRAgent::returnSrcRteForOutsideDomainToRequestor(SRPacket)':
dsragent.cc:(.text+0xd11): undefined reference to
`TrustManager::initNewTrustValues(Path, int)'
dsr/dsragent.o: In function `DSRAgent::sendOutPacketWithRoute(SRPacket,
bool, double)':
dsragent.cc:(.text+0x1219): undefined reference to
`ACKMonitor::addACK(double, int*, int, double)'
dsr/dsragent.o: In function `DSRAgent::sendRouteShortening(SRPacket, int,
int)':
dsragent.cc:(.text+0x1c7c): undefined reference to
`TrustManager::initNewTrustValues(Path, int)'
dsr/dsragent.o: In function `DSRAgent::replyFromRouteCache(SRPacket)':
dsragent.cc:(.text+0x257f): undefined reference to
`TrustManager::initNewTrustValues(Path, int)'
dsr/dsragent.o: In function `DSRAgent::handleForwarding(SRPacket)':
dsragent.cc:(.text+0x2c90): undefined reference to
`TrustManager::initNewTrustValues(Path, int)'
dsr/dsragent.o: In function `DSRAgent::acceptRouteReply(SRPacket)':
dsragent.cc:(.text+0x3090): undefined reference to
`TrustManager::initNewTrustValues(Path, int)'
dsr/dsragent.o: In function `DSRAgent::tap(Packet const*)':
dsragent.cc:(.text+0x4d54): undefined reference to
`TrustManager::initNewTrustValues(Path, int)'
dsr/dsragent.o:dsragent.cc:(.text+0x4e46): more undefined references to
`TrustManager::initNewTrustValues(Path, int)' follow
dsr/dsragent.o: In function `DSRAgent::handlePacketReceipt(SRPacket)':
dsragent.cc:(.text+0x55d8): undefined reference to
`TrustManager::updateTrustForNodes(Path, double)'
dsragent.cc:(.text+0x5670): undefined reference to
`TrustManager::initNewTrustValues(Path, int)'
dsragent.cc:(.text+0x57fc): undefined reference to
`ACKMonitor::handleACKReceived(double, int*, int, double, int)'
dsr/dsragent.o: In function `DSRAgent::Terminate()':
dsragent.cc:(.text+0x6276): undefined reference to `TrustManager::save(int)'
dsragent.cc:(.text+0x6286): undefined reference to `TrustManager::toPrint()'
dsragent.cc:(.text+0x62d6): undefined reference to `ACKMonitor::terminate()'
dsr/dsragent.o: In function `DSRAgent::command(int, char const* const*)':
dsragent.cc:(.text+0x6b13): undefined reference to
`TrustManager::setId(int)'
dsragent.cc:(.text+0x6b37): undefined reference to `TrustManager::load(int)'
dsr/dsragent.o: In function `DSRAgent::~DSRAgent()':
dsragent.cc:(.text+0x6c10): undefined reference to
`ACKMonitor::~ACKMonitor()'
dsr/dsragent.o: In function `DSRAgent::~DSRAgent()':
dsragent.cc:(.text+0x6dca): undefined reference to
`ACKMonitor::~ACKMonitor()'
dsr/dsragent.o: In function `DSRAgent::~DSRAgent()':
dsragent.cc:(.text+0x6f76): undefined reference to
`ACKMonitor::~ACKMonitor()'
dsr/dsragent.o: In function `DSRAgent::initTrustManager()':
dsragent.cc:(.text+0x70de): undefined reference to
`TrustFormaterS1::TrustFormaterS1(TrustManager*)'
dsragent.cc:(.text+0x70f5): undefined reference to
`TrustManager::setTrustFormater(TrustFormater*)'
dsragent.cc:(.text+0x710f): undefined reference to
`TrustUpdaterS1::TrustUpdaterS1()'
dsragent.cc:(.text+0x7150): undefined reference to
`TrustManager::setTrustUpdater(TrustUpdater*)'
dsragent.cc:(.text+0x7189): undefined reference to
`ACKMonitor::setTrustManager(TrustManager*)'
dsr/dsragent.o: In function `DSRAgent::DSRAgent()':
dsragent.cc:(.text+0x75bf): undefined reference to
`TrustManager::TrustManager()'
dsragent.cc:(.text+0x7626): undefined reference to
`ACKMonitor::ACKMonitor()'
dsragent.cc:(.text+0x777c): undefined reference to
`ACKMonitor::~ACKMonitor()'
dsr/dsragent.o: In function `DSRAgent::DSRAgent()':
dsragent.cc:(.text+0x7a9d): undefined reference to
`TrustManager::TrustManager()'
dsragent.cc:(.text+0x7b04): undefined reference to
`ACKMonitor::ACKMonitor()'
dsragent.cc:(.text+0x7c5a): undefined reference to
`ACKMonitor::~ACKMonitor()'
collect2: ld returned 1 exit status
make: *** [ns] Error 1
Best Regards,