Re: [ns] Query about errors during running make command

2007-04-13 Thread Timo Reimann

Anuradha Sehgal wrote:
 The three errors are:

 error:expected primary-expression before int.
 error:expected ; before int
 error::non-lvalue in assignment

 why these errors are occuring??

You've been reposting this identically at least twice. This is not going
to help you increase your chances in receiving a reply. One thing that
might help though is giving a complete output of the compiler errors
including line numbers and showing the relevant C++ code.


 its urgent, please reply soon

It's not: http://www.catb.org/~esr/faqs/smart-questions.html#urgent

http://nsnam.isi.edu/nsnam/index.php/Troubleshooting#when_and_how_to_write_to_the_user.27s_mailing-list


--T



[ns] Query about errors during running make command

2007-04-12 Thread Anuradha Sehgal

hello everyone

I am using ns-allinone-2.31 that i installed on cygwin.
I am trying to add encryption and decryption in ns2.
The encryption and decryption code that i am trying to put in
../ns-2.31/common/packet.h running well when i use gcc, CC or g++. I
mean it do not complain for any thing. But the problem is when i run
the make command to recompile ns2, it gives three strange errors and a
lots of warnings.
The three errors are:

error:expected primary-expression before int.
error:expected ; before int
error::non-lvalue in assignment

why these errors are occuring??
I checked the code, but there is no problem, moreover its compiling
and running sucessfully if i use gcc, CC, g++(and in turbo c also).
Is make comamnd is using some older compiler? If so how can i remove
these errors?

its urgent, please reply soon

Thanks in advance,

Anuradha Sehgal