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

Re: [ns] How to Compile ns-allinone-2.1b6 in SUN OS 5.7



Look at the following page, please
http://www-mash.CS.Berkeley.EDU/dist/archive/ns-users/0003/0205.html

- Hyunah

> /include -I/home/xcao2/NetSim/ns-allinone-2.1b6/tclbox/include -o
> formsquid.o formsquid.cc
> c++ -c -O2 -I. -I/home/xcao2/NetSim/ns-allinone-2.1b6/tclcl-1.0b9
> -I/home/xcao2/NetSim/ns-allinone-2.1b6/otcl-1.0a5
> -I/home/xcao2/NetSim/ns-allinone-2.1b6/tkbox/include
> -I/home/xcao2/NetSim/ns-allinone-2.1b6/tclbox/include -o formtxt.o
> Hi,
>   I met a compile problem under SUN OS 5.7
>   Can somebody help me out? Following is the compile
>   message.
> Thanx!!
>
> formtxt.cc
> c++ -c -O2 -I. -I/home/xcao2/NetSim/ns-allinone-2.1b6/tclcl-1.0b9
> -I/home/xcao2/NetSim/ns-allinone-2.1b6/otcl-1.0a5
> -I/home/xcao2/NetSim/ns-allinone-2.1b6/tkbox/include
> -I/home/xcao2/NetSim/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'
> Current working directory
> /home/xcao2/NetSim/ns-allinone-2.1b6/ns-2.1b6/indep-utils/webtrace-conv/dec
> *** Error code 1
> make: Fatal error: Command failed for target `all-recursive'
> Ns make failed!