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

[ns] Installation problems with NS




hi,

   I am working on Solaris 5.7 system and I am having problem with
installing NS. It gives an error while compiling "my-endian.cc" from the
"ns-2.1b6/indep-utils/webtrace-conv/dec" directory. The error it shows is

*******************************************************************************
g++ -c -O2 -I. -I/home/ut105433/svallala/ns-allinone-2.1b6/tclcl-1.0b9
-I/home/ut105433/svallala/ns-allinone-2.1b6/otcl-1.0a5
-I/home/ut105433/svallala/ns-allinone-2.1b6/tkbox/include
-I/home/ut105433/svallala/ns-allinone-2.1b6/tclbox/include -o my-endian.o
my-endian.cc
my-endian.cc: In function `void ToOtherEndian(TEntry *)':
my-endian.cc:42: conversion from `short unsigned int' to `enum method_t'
my-endian.cc:45: conversion from `u_4bytes' to `enum method_t'
my-endian.cc:48: conversion from `short unsigned int' to `enum protocol_t'
my-endian.cc:51: conversion from `u_4bytes' to `enum protocol_t'
*** Error code 1
make: Fatal error: Command failed for target `my-endian.o'
*******************************************************************************

 I tried the same with c++ also and got the same error. Please help me out
with this.

thanx a lot,
shravan.