This problem comes when you have later version of gcc. If you have gcc
2.95.x then these problems will not come.
Furthermore, You can also go in those files and correct them. That means
go to the line number specified in error message and replace "friend ABC"
with "friend class ABC". However, it is possible that after correcting
many files in this way you will get some more *different* kinds of erros.
Hence using gcc older version (2.95.x ) is a better solution.
I am posting it on the list for others.

regards,

Faisal Aslam

>
> Hi friends ,
>
> While installing ns-2.1b8a I am getting this problem
>
> In file included from trace.cc:44:
> tfrc.h:116: friend declaration requires class-key,
> i.e. `friend class
>    TfrcSendTimer'
> tfrc.h:117: friend declaration requires class-key,
> i.e. `friend class
>    TfrcNoFeedbackTimer'
> make: *** [trace.o] Error 1
> Ns make failed!
> See http://www.isi.edu/nsnam/ns/ns-problems.html for
> problems
>



Reply via email to