hello ,
Sorry for the late reply. Well you have to install the patch given in the
link. i have made the patch file out of it. I am sending it to you. You
have to do the following thing:
1. After downloading the patch keep the patch file "vector patch.patch" in
your ns-2.xx folder in ns-allinone-2.xx directory.
d) Install the patch by running "patch -p1 < vector patch" from the
ns-2.xx directory.
e) re run "./configure ; make clean ; make" in ns-2.xx directory
regards
On Thu, Jan 26, 2012 at 10:26 AM, Fatima Kader <[email protected]>wrote:
> hello sir
>
> please i want to know why when i use vector in NS2, i get error in god.h
> and god.cc
>
> i have searched in google and i have found this link:
> http://www.isi.edu/nsnam/ns/ns-problems.html
>
> and i have found the problem and its solution like this:
>
> *Problem:*Class vector used in god{.cc,.h} clashes with vector in the
> standard template library.
> *Solution:*Apply the following
> patch<http://www.isi.edu/nsnam/dist/ns-2.1b7-god.patch>courtesy of Lars
> Christensen <[email protected]>.
>
> this is the link of the patch
>
> but i don't know what i must change exaclty because i have not understand
> what in the patch exactly
>
>
> Many thanks for your reply
>
--
[image: http://www.etudinfo.com/image/logo-ecole/telecom-sudparis.jpg]
Muhammad Shoaib SALEEM
PhD Student
Wireless Networks & Multimedia Services Department
Institut Télécom - Télécom SudParis
9 Rue Charles Fourier 91011 Evry, France.
Office: +33 1 60 76 43 91
https://sites.google.com/site/shoaibsal/
<https://sites.google.com/site/shoaibsal/>