Re: [ns] while installing ns-2.1b8a i am getting this error please give me solution
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
Re: [ns] while installing ns-2.1b8a i am getting this error please give me solution
http://tagus.inesc-id.pt/~pestrela/ns2/ns2_tips.html#_Toc124667338 note that in many linux systems, gcc is simply a link to gcc-3.something; if gcc-2.95 is available, simply modify the macro at the top of the makefile. If it is not installed, then iether install it yourself, or use an older linux distribution; especially for complete beginners, this later solution can prove to be the faster to get working NS2.1b8 code an earlier running! Pedro Vale Estrela On 3/21/07, Faisal Aslam [EMAIL PROTECTED] wrote: 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
[ns] while installing ns-2.1b8a i am getting this error please give me solution
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 please give me the solution Thank you, Taraka __ Yahoo! India Answers: Share what you know. Learn something new http://in.answers.yahoo.com/