[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ns] make problem
Hi, everyone:
I revised my C++ program and tried to re-make it. But I got a error message:
-I/home/jhuang/NS2.16b/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'
make: *** [my-endian.o] Error 1
After I changed back to my original code (it worked well before), I still get
this error. In directory:
ns-allinone-2.1b6/ns-2.1b6/indep-utils/webtrace-conv/dec
I find that there is no my-endian.o file. When I issue the "make" command
in this derectory, I got the same error message as above.
anybody know what is the problem?
Thanks.
J. Huang