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

[ns] Problem with Compiling NS



Hi Evrybody,

m trying to compile NS using ns-allinone-2.1b6 and
i have this problem :
c++ -c -O2 -I.
-I/infres/goriot/car/halim/ns/ns-allinone-2.1b6/tclcl-1.0b9
-I/infres/goriot/car/halim/ns/ns-allinone-2.1b6/otcl-1.0a5
-I/infres/goriot/car/halim/ns/ns-allinone-2.1b6/tk8.0.4/generic
-I/infres/goriot/car/halim/ns/ns-allinone-2.1b6/tcl8.0.4/generic -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'

Could some one helps me .. :(

Thnx