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

Re: [ns] Problems with installing NS




Hi,

try using g++ instead of Sun's C++-compiler. Change the variable CPP to
g++ in Makefile.

Bye,
Michael

                                                       __o 
                                                     _`\<,_ 
____________________________________________________(*)/_(*)____________
Michael Bahr    
International Computer Science Institute   
Network Services and Applications Group
1947 Center Street, Suite 600       +1-510-666-2974   :phone
Berkeley, CA 94704                  +1-510-666-2956     :fax 
U.S.A.                       [email protected]   :email
                       www.icsi.berkeley.edu/~bahr/     :www
------------------------------------------------------------------------

On Tue, 1 Aug 2000, shravan vallala wrote:

> 
> Hi,
>   
>   When I try to install NS, it exits the installation while compiling the
> file my-endian.cc with the following message.
> 
> *******************************************************************************
>   c++ -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'
> Current working directory
> /home/ut105433/svallala/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!
> ******************************************************************************
> 
> Also it keeps giving a warning saying that IP_BROADCAST is redefined. I am
> trying to install it on Sun sparc Solaris 5.7 Operating System. Waiting
> for your Response with some solution to my problem.
> 
> sincerely
> shravan
> 
> 
> 
> 
>