clustering/common/ClusteringModule.o: In function `ClusteringModule::endModule()': ClusteringModule.cc:(.text+0x4bf): undefined reference to `CommonUtility::set(int, double, DumpType)' ClusteringModule.cc:(.text+0x4f8): undefined reference to `CommonUtility::set(int, double, DumpType)' clustering/common/ClusteringModule.o: In function `ClusteringModule::sendDown(Packet*, unsigned int, int, double)': ClusteringModule.cc:(.text+0x668): undefined reference to `CommonUtility::add(int, double, DumpType)' ClusteringModule.cc:(.text+0x69c): undefined reference to `CommonUtility::add(int, double, DumpType)' clustering/common/ClusteringModule.o: In function `ClusteringModule::recv(Packet*, Handler*)': ClusteringModule.cc:(.text+0x860): undefined reference to `CommonUtility::add(int, double, DumpType)' ClusteringModule.cc:(.text+0x8a0): undefined reference to `CommonUtility::add(int, double, DumpType)' clustering/wuli/wuli.o: In function `WULI_Agent::endModule()': wuli.cc:(.text+0x2715): undefined reference to `BackboneUtility::setBackbone(int, std::set<int, std::less<int>, std::allocator<int> >&)' wuli.cc:(.text+0x276e): undefined reference to `ClusteringUtility::setColor(int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)' clustering/mpr/mpr.o: In function `MPR_Agent::endModule()': mpr.cc:(.text+0x1aef): undefined reference to `BackboneUtility::setBackbone(int, std::set<int, std::less<int>, std::allocator<int> >&)' mpr.cc:(.text+0x1b48): undefined reference to `ClusteringUtility::setColor(int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)' clustering/connector/connector_mastro.o: In function `CONNECTOR_Agent::endModule()': connector_mastro.cc:(.text+0x1187): undefined reference to `ConnectorUtility::setConnectedClusterHeads(int, int)' connector_mastro.cc:(.text+0x11cb): undefined reference to `ClusteringUtility::setColor(int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)' connector_mastro.cc:(.text+0x13ca): undefined reference to `ClusteringUtility::setColor(int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)' connector_mastro.cc:(.text+0x1458): undefined reference to `ClusteringUtility::setColor(int, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)' connector_mastro.cc:(.text+0x14be): undefined reference to `BackboneUtility::setBackbone(int, std::set<int, std::less<int>, std::allocator<int> >&)' collect2: ld returned 1 exit status make: *** [ns] Error 1 Ns make failed!
Why this problem pops up.any idea please help. -- Thanks & Regards Nikhil Agarwal Senior Undergraduate Computer Science & Engineering, National Institute Of Technology, Durgapur,India http://tech-nikk.blogspot.com http://beta.freshersworld.com/communities/nitd
