---------- Forwarded message ---------- From: muazzam ali <[EMAIL PROTECTED]> Date: May 16, 2008 1:22 AM Subject: GCC error To: [email protected]
Hi All, I am facing problem while compiling OLSR in NS 2.31. I am getting the following error related to GCC. OLSR.cc:(.text+0x61f9): undefined reference to `OLSR_printer::print_linkset(Trace*, std::vector<OLSR_link_tuple*, std::allocator<OLSR_link_tuple*> >&)' OLSR.cc:(.text+0x6315): undefined reference to `OLSR_printer::print_nbset(Trace*, std::vector<OLSR_nb_tuple*, std::allocator<OLSR_nb_tuple*> >&)' OLSR.cc:(.text+0x6431): undefined reference to `OLSR_printer::print_nb2hopset(Trace*, std::vector<OLSR_nb2hop_tuple*, std::allocator<OLSR_nb2hop_tuple*> >&)' OLSR.cc:(.text+0x654d): undefined reference to `OLSR_printer::print_mprset(Trace*, std::set<int, std::less<int>, std::allocator<int> >&)' OLSR.cc:(.text+0x6669): undefined reference to `OLSR_printer::print_mprselset(Trace*, std::vector<OLSR_mprsel_tuple*, std::allocator<OLSR_mprsel_tuple*> >&)' OLSR.cc:(.text+0x6785): undefined reference to `OLSR_printer::print_topologyset(Trace*, std::vector<OLSR_topology_tuple*, std::allocator<OLSR_topology_tuple*> >&)' collect2: ld returned 1 exit status make: *** [ns] Error 1 Kindly help me out. Regards Muazzam Ali Khattak
