[ns] Installing AFR (Aggregate with Fragment Retransmission) in ns2.30
Ken Chan
kenchanckh at hotmail.com
Sun Dec 7 17:38:31 PST 2008
Hi Experts,
I want to patch AFR into ns2.30. However, after I install ns2.30 allinone packet,
I replace the ns2.30 folder with the AFR ns2.30 folder. Then I do ./configure and make.
The following error occurs:
/usr/include/c++/4.1.3/bits/stl_bvector.h: In member function ¡¥void std::vector< _iterator_tag)¡¦:
/usr/include/c++/4.1.3/bits/stl_bvector.h:544: error: expected unqualified-id be
/usr/include/c++/4.1.3/bits/stl_bvector.h: In member function ¡¥void std::vector<
/usr/include/c++/4.1.3/bits/stl_bvector.h:899: error: expected unqualified-id be
/usr/include/c++/4.1.3/bits/vector.tcc: In member function ¡¥void std::vector<_Tp _alloc_type::pointer, std::vector<_Tp, _Alloc> >, size_t, const _Tp&)¡¦:
/usr/include/c++/4.1.3/bits/vector.tcc:355: error: expected unqualified-id befor
/usr/include/c++/4.1.3/bits/vector.tcc: In member function ¡¥void std::vector<_Tp p_alloc_type::pointer, std::vector<_Tp, _Alloc> >, _ForwardIterator, _ForwardIte
/usr/include/c++/4.1.3/bits/vector.tcc:454: error: expected unqualified-id befor
make: *** [diffusion3/ns/difftimer.o] Error 1
I am using gcc and g++ 4.1. It was working fine when using these compiler on the original
ns2.30 folder. Do I need to change the compiler version?
Link to the AFR patch: http://www.hamilton.ie/tianji_li/afr.html
Your help is very appreciated.
Thanks,
KC
_________________________________________________________________
More information about the Ns-users
mailing list