[Bug Report]
-
Category: Installation Failure
Package: ns 2.30
OS:Linux ubuntu 2.6.32-24-generic #43-Ubuntu SMP Thu Sep 16 14:17:33
UTC 2010 i686
Environment Variables:
LD_LIBRARY_PATH=:/home/moein/ns-allinone-2.30/otcl-1.12:/home/moein/ns-allinone-2.30/lib:/home/moein/ns-allinone-2.30/otcl-1.12:/home/moein/ns-allinone-2.30/lib:/home/moein/ns-allinone-2.30/otcl-1.12:/home/moein/ns-allinone-2.30/lib:/home/moein/ns-allinone-2.30/otcl-1.12:/home/moein/ns-allinone-2.30/lib
TCL_LIBRARY=/home/moein/ns-allinone-2.30/tcl8.4.18/library:/usr/lib
TK_LIBRARY=
-
Description:
Description of Problem:
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
How Easily Reproducible:
(e.g. every time, intermittent, once only, etc.)
Steps to Reproduce:
(describe the minimal set of steps necessary to trigger the bug)
1.
2.
3.
Actual Results:
(describe what the application did after performing the above steps)
Expected Results:
(describe what the application should have done, were the bug not present)
Additional Information:
(the following infomation is helpful to debug:
1. simulation script, detailed output files, packet trace
2. patch file if you modify some source code
3. a backtrace from gdb if you get a segment fault
If they are big files, PLEASE put them in your web space and
include the URL here.)