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

[ns] Problems in compling ns-allinone



Hi,

I'm having trouble to compile the ns-allinone package to my machine, which
running the FreeBSD4.1 the most recent version.

I'm getting the following compilation error messages,


c++ -c -O2 -I. -I/usr/ns2/ns-allinone-2.1b6/tclcl-1.0b9
-I/usr/ns2/ns-allinone-2.1b6/otcl-1.0a5
-I/usr/ns2/ns-allinone-2.1b6/tkbox/include
-I/usr/ns2/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

Stop in /usr/ns2/ns-allinone-2.1b6/ns-2.1b6/indep-utils/webtrace-conv/dec.
*** Error code 1

Stop in /usr/ns2/ns-allinone-2.1b6/ns-2.1b6.
Ns make failed!
See http://www-mash.CS.Berkeley.EDU/ns/ns-problems.html for problems  


It sounds like an error in the code, but I believe the code is right.
What seems to be the problem? I need your help.

Thanks,

Youngjune Gwon