Hi, I'm trying to patch the LAR routing protocol implemented by The Toilers Reserach Group in ns2.35 on an ubuntu 10.04 LTS system. But I'm facing the following compiling error, even after deleting LAR codes, the problem still exist:
I./diffserv -I./satellite -I./wpan -o tcp/tcp-fack.o tcp/tcp-fack.cc In file included from /usr/include/c++/4.4/bits/char_traits.h:41, from /usr/include/c++/4.4/ios:41, from /usr/include/c++/4.4/ostream:40, from /usr/include/c++/4.4/iostream:40, from ./common/scheduler.h:44, from ./common/packet.h:44, from ./common/ip.h:42, from tcp/tcp-fack.cc:29: /usr/include/c++/4.4/bits/stl_algobase.h: In function ‘const _Tp& std::max(const _Tp&, const _Tp&) [with _Tp = TracedInt]’: tcp/tcp-fack.cc:87: instantiated from here /usr/include/c++/4.4/bits/stl_algobase.h:214: error: no match for ‘operator<’ in ‘__a < __b’ /usr/include/c++/4.4/bits/stl_algobase.h:214: note: candidates are: operator<(int, int) <built-in> make: *** [tcp/tcp-fack.o] Error 1 anybody knows what could be the cause of this error? Thanks, Mojtaba