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

[ns] How to install ns-allinone-2.1b6 in Redhat 6.0?



The compile message is as following:

$ ./install >install.log
gb_io.w: In function `imap_ord':
gb_io.w:201: warning: comparison is always 0 due to limited range of data
type
OK, the gb_flip routines seem to work!
gcc: eval.o: No such file or directory
make: *** [edriver] Error 1

sgb2comns.c: In function `create_hierarchy':
sgb2comns.c:188: warning: assignment makes pointer from integer without a
cast
sgb2comns.c:209: warning: assignment makes pointer from integer without a
cast
sgb2hierns.c: In function `main':
sgb2hierns.c:126: warning: assignment makes pointer from integer without a
cast
sgb2hierns.c:145: warning: assignment makes pointer from integer without a
cast
rm: cannot remove `./otcl-1.0a5/libotcl.so': No such file or directory
my-endian.cc: In function `void ToOtherEndian(struct TEntry *)':
my-endian.cc:42: warning: conversion from `short unsigned int' to `enum
method_t'
my-endian.cc:45: warning: conversion from `u_4bytes' to `enum method_t'
my-endian.cc:48: warning: conversion from `short unsigned int' to `enum
protocol_t'
my-endian.cc:51: warning: conversion from `u_4bytes' to `enum protocol_t'
utils.cc: In function `int saccept(int)':
utils.cc:358: warning: passing `int *' as argument 3 of `accept(int,
sockaddr *, socklen_t *)' changes signedness
utils.cc: In function `int sportnum(int)':
utils.cc:469: warning: passing `int *' as argument 3 of `getsockname(int,
sockaddr *, socklen_t *)' changes signedness
rng.cc: In method `int RNG::command(int, const char *const *)':
rng.cc:199: warning: decimal integer constant is so large that it is
unsigned
[xcao2@localhost ns-allinone-2.1b6]$

........

You can delete NetSim/ns-allinone-2.1b6/tcl8.0.4 and
NetSim/ns-allinone-2.1b6/tk8.0.4 if
you want save your disk space
-----------------------------------------------------
Please put NetSim/ns-allinone-2.1b6/bin into your PATH environment.
On some systems you many need to put NetSim/ns-allinone-2.1b6/otcl-1.0a5
into your LD_LIBRARY_PATH environment!

You can run the ns validation suite with
cd ns-2.1b6; ./validate