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

Re: [ns] ns-allinone-2.1b6: installation problem



Could you please try to build tcl, tk, otcl, and tclcl seperately? It may
help to locate the error. Thanks.

-chen xuan
On Wed, 5 Jul 2000, Y. S. Chang wrote:

> Hi,
> did anybody install the ns-allinone-2.1b6 in a linux box (SuSE6.4)
> successfully? Please give me some hints. Thanks in advance!
> Y. S. Chang 
> 
> I got the following message after the compiling:
> =======snip==============================================
> make[1]: Entering directory
> `/home/chang/bluetooth/ns/ns-2.1/ns-allinone-2.1b6/ns-2.1b6/indep-utils/cmu-scen-gen/setdest'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory
> `/home/chang/bluetooth/ns/ns-2.1/ns-allinone-2.1b6/ns-2.1b6/indep-utils/cmu-scen-gen/setdest'
> make[1]: Entering directory
> `/home/chang/bluetooth/ns/ns-2.1/ns-allinone-2.1b6/ns-2.1b6/indep-utils/webtrace-conv/dec'
> c++ -c -O2 -I.
> -I/home/chang/bluetooth/ns/ns-2.1/ns-allinone-2.1b6/tclcl-1.0b9
> -I/home/chang/bluetooth/ns/ns-2.1/ns-allinone-2.1b6/otcl-1.0a5
> -I/home/chang/bluetooth/ns/ns-2.1/ns-allinone-2.1b6/tkbox/include
> -I/home/chang/bluetooth/ns/ns-2.1/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[1]: *** [my-endian.o] Error 1
> make[1]: Leaving directory
> `/home/chang/bluetooth/ns/ns-2.1/ns-allinone-2.1b6/ns-2.1b6/indep-utils/webtrace-conv/dec'
> make[1]: Entering directory
> `/home/chang/bluetooth/ns/ns-2.1/ns-allinone-2.1b6/ns-2.1b6/indep-utils/webtrace-conv/epa'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory
> `/home/chang/bluetooth/ns/ns-2.1/ns-allinone-2.1b6/ns-2.1b6/indep-utils/webtrace-conv/epa'
> make[1]: Entering directory
> `/home/chang/bluetooth/ns/ns-2.1/ns-allinone-2.1b6/ns-2.1b6/indep-utils/webtrace-conv/nlanr'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory
> `/home/chang/bluetooth/ns/ns-2.1/ns-allinone-2.1b6/ns-2.1b6/indep-utils/webtrace-conv/nlanr'
> make[1]: Entering directory
> `/home/chang/bluetooth/ns/ns-2.1/ns-allinone-2.1b6/ns-2.1b6/indep-utils/webtrace-conv/ucb'
> c++ -c -O2 -I.
> -I/home/chang/bluetooth/ns/ns-2.1/ns-allinone-2.1b6/tclcl-1.0b9
> -I/home/chang/bluetooth/ns/ns-2.1/ns-allinone-2.1b6/otcl-1.0a5
> -I/home/chang/bluetooth/ns/ns-2.1/ns-allinone-2.1b6/tkbox/include
> -I/home/chang/bluetooth/ns/ns-2.1/ns-allinone-2.1b6/tclbox/include -o
> utils.o utils.cc
> utils.cc: In function `int saccept(int)':
> utils.cc:358: passing `int *' as argument 3 of `accept(int, sockaddr *,
> socklen_t *)' changes signedness
> utils.cc: In function `int sportnum(int)':
> utils.cc:469: passing `int *' as argument 3 of `getsockname(int,
> sockaddr *, socklen_t *)' changes signedness
> make[1]: *** [utils.o] Error 1
> make[1]: Leaving directory
> `/home/chang/bluetooth/ns/ns-2.1/ns-allinone-2.1b6/ns-2.1b6/indep-utils/webtrace-conv/ucb'
> make: *** [all-recursive] Error 2
> Ns make failed!
> See http://www-mash.CS.Berkeley.EDU/ns/ns-problems.html for problems
> 
> ================================================================
> 

-- 
Xuan Chen
ISI/USC