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

[ns] Problem with installing ns2-allinone (Need Help)



I have been Trying to install NS2(allinone) on a unix machine, first it went 
ok with tcl, tclcl but when it reached ns2 i had the following messege ( the 
last five lines may give you an idea on the problem )


autoconf.h:46: warning: `HAVE_INT64' redefined
/usr/local/lib/g++-include/_G_config.h:47: warning: this is the location of 
the previous definition
In file included from /usr/local/lib/g++-include/iostream.h:31,
                 from mpls/ldp.cc:47:
/usr/local/lib/g++-include/streambuf.h:395: warning: invalid type `void *' 
for default argument to `ios *'
In file included from mpls/ldp.cc:47:
/usr/local/lib/g++-include/iostream.h:49: warning: invalid type `void *' for 
default argument to `ostream *'
/usr/local/lib/g++-include/iostream.h:113: warning: invalid type `void *' 
for default argument to `ostream *'
/usr/local/lib/g++-include/iostream.h:213: warning: invalid type `void *' 
for default argument to `ostream *'
In file included from config.h:60,
                 from scheduler.h:40,
                 from object.h:40,
                 from connector.h:40,
                 from agent.h:40,
                 from mpls/ldp.h:50,
                 from mpls/ldp.cc:49:
/home/optic3/ns2/tclcl-1.0b10/tclcl.h:229: warning: invalid type `void *' 
for default argument to `const char *'
/home/optic3/ns2/tclcl-1.0b10/tclcl.h: In function `static class TclObject *
/home/optic3/ns2/tclcl-1.0b10/tclcl.h: In function `static class TclObject * 
TclObject::New(const char *)':
/home/optic3/ns2/tclcl-1.0b10/tclcl.h:197: no matching function for call to 
`TclObject::New (const char *&, void *)'
/home/optic3/ns2/tclcl-1.0b10/tclcl.h:199: candidates are: 
TclObject::New(const char *, const char * ...)
/home/optic3/ns2/tclcl-1.0b10/tclcl.h:196:                 
TclObject::New(const char *)
packet.h: In method `PacketData::PacketData(int)':
In file included from agent.h:41,
                 from mpls/ldp.h:50,
                 from mpls/ldp.cc:49:
packet.h:247: warning: ANSI C++ forbids implicit conversion from `void *' in 
assignment
packet.h: In method `PacketData::PacketData(class PacketData &)':
packet.h:255: warning: ANSI C++ forbids implicit conversion from `void *' in 
assignment
make: *** [mpls/ldp.o] Error 1
Ns make failed!
See http://www-mash.CS.Berkeley.EDU/ns/ns-problems.html for problems


I would appreciate your help in this

Thanks and Regards
Mishal Al-Gharabally

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.