[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug installing ns-2




I have the following warning while doing
"make" (for ns-allinone-2.1b4a/ns-2)

>In file included from trace.cc:41:
>tcp.h:153: ANSI C++ forbids declaration `print_if_needed' with no type
>make: *** [trace.o] Error 1

I changed its type to void, then I still have problems
with .cc executions:


>traffictrace.cc: In method `int TraceFile::setup()':
>traffictrace.cc:150: warning: comparison between signed and unsigned
>traffictrace.cc:168: implicit declaration of function `int htonl(...)'

Could you help me?
Thanks a lot,
Dohy


===================================================
Dohy HONG
ECOLE NORMALE SUPERIEURE 
D�partement Informatique       
Mod�lisation et Contr�le des R�seaux        
45 rue d'Ulm, 75230 PARIS CEDEX 05,  FRANCE    
Tel : 33 (1) 4432 2112, Fax : 33 (1) 4432 2080
        ------------------------------------
Email : [email protected]
http://www.di.ens.fr/~mistral/
===================================================