[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Installation problem. Please help.
I met compiling problem when I installed ns2.1b5. My operation system is
SUNOS 5.6. I downloaded the "all-in-one" package. Error message is
enclosed. Any help will be appreciated.
Note: Tried manually define DATAMODEL_NATIVE, but did't work
(run into another compilation problem instead).
Error message:
--------------
c++ -c -g -Wall -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG -mv8 -msupersparc
-D__svr4__ -DUSE_SHM -DHAVE_LIBTCLCL1_0B8 -DHAVE_TCLCL_H
-DHAVE_LIBOTCL1_0A4 -DHAVE_OTCL_H -DHAVE_LIBTK8_0 -DHAVE_TK_H
-DHAVE_LIBTCL8_0 -DHAVE_TCL_H -DSTDC_HEADERS=1 -DHAVE_STRING_H=1
-DHAVE_TCL_H=1 -DHAVE_LIBTCL8_0=1 -DHAVE_TK_H=1 -DHAVE_LIBTK8_0=1
-DHAVE_OTCL_H=1 -DHAVE_LIBOTCL1_0A4=1 -DHAVE_TCLCL_H=1
-DHAVE_LIBTCLCL1_0B8=1 -DHAVE_GETRUSAGE=1 -DHAVE_SBRK=1 -DHAVE_STRTOLL=1
-DHAVE_LIBDL=1 -I. -I../tclcl-1.0b8 -I../otcl-1.0a4 -I../tkbox/include
-I../tclbox/include -o traffictrace.o traffictrace.cc
In file included from /usr/include/sys/turnstile.h:12,
from /usr/include/sys/t_lock.h:20,
from /usr/include/sys/vnode.h:37,
from /usr/include/sys/stream.h:21,
from /usr/include/netinet/in.h:38,
from traffictrace.cc:36:
/pkg/gnu/lib/gcc-lib/sparc-sun-solaris2.5/2.7.2/include/sys/param.h:187:
warning: `NBBY' redefined
/usr/include/sys/select.h:45: warning: this is the location of the
previous definition
In file included from /usr/include/sys/stream.h:26,
from /usr/include/netinet/in.h:38,
from traffictrace.cc:36:
/usr/include/sys/model.h:32: #error "No DATAMODEL_NATIVE specified"
*** Error code 1
make: Fatal error: Command failed for target `traffictrace.o'
Ns make failed! Exiting ...