[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ns] Installation problems with ns-2 on Solaris 2.1 Platform
Dear Ns Users
My name is Nitin, and I am trying to install ns-allinone-2.1b3 on a
Solaris 2.1 Platform. When i try to make the package it gives me the
following errors. [ Note: I am trying to unpack CMU's Monarch package for
ad-hoc mobile networks along with ns02 package]. If any of you know the
solution to this problem, please write to me at [email protected].
The errors are as below:
banyan:3 ns-allinone-2.1b3> cd ns-src
banyan:4 ns-src> make
c++ -c -I. -I./cmu -I./cmu/dsr -I./cmu/dsdv -I../TclCL -I../otcl
-I/grads/nagar/
.mosaic/ns-allinone-2.1b3/ns-src/../tk8.0/generic -I../tcl8.0/generic
-DNO_TK -
DTCLCL_CLASSINSTVAR -DNDEBUG -mv8 -msupersparc -D__svr4__ -DUSE_SHM
-DHAVE_LIBT
CLCL1_0B5 -DHAVE_TCLCL_H -DHAVE_LIBOTCL1_0A2 -DHAVE_OTCL_H -DHAVE_LIBTK8_0
-DHAV
E_TK_H -DHAVE_LIBTCL8_0 -DHAVE_TCL_H -Dabort=_ABORT -DMONARCH -g -Wall -o
rando
m.o random.cc
In file included from random.h:40,
from random.cc:42:
config.h:50: conflicting types for `typedef signed char int8_t'
/usr/include/sys/int_types.h:62: previous declaration as `typedef char
int8_t'
random.cc:45: declaration of C function `int srandom(...)' conflicts with
/usr/include/stdlib.h:213: previous declaration `void srandom(unsigned
int)' her
e
make: *** [random.o] Error 1
banyan:5 ns-src>
Thanks for your time,
nitin