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

Re: [ns] Help on Compiling



you may download update files in that directory from the web, or get
current snapshot; the enum stuff was fixed there. 

On Mon, 13 Mar 2000, Umberto Properzi wrote:

> Hello
> I'm trying to compile the ns-allinone2.1b6 on 
> a Pentium PC running Linux Mandrake 7.0.
> I got the following errors:
> --------------------------------------------------------------------------------------------------------
> c++ -c -O2 -I. -I/opt/EBBO/ns-allinone-2.1b6/tclcl-1.0b9
> -I/opt/EBBO/ns-allinone-2.1b6/otcl-1.0a5
> -I/opt/EBBO/ns-allinone-2.1b6/tkbox/include
> -I/opt/EBBO/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
> `/opt/EBBO/ns-allinone-2.1b6/ns-2.1b6/indep-utils/webtrace-conv/dec'
> make[1]: Entering directory
> `/opt/EBBO/ns-allinone-2.1b6/ns-2.1b6/indep-utils/webtrace-conv/epa'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory
> `/opt/EBBO/ns-allinone-2.1b6/ns-2.1b6/indep-utils/webtrace-conv/epa'
> make[1]: Entering directory
> `/opt/EBBO/ns-allinone-2.1b6/ns-2.1b6/indep-utils/webtrace-conv/nlanr'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory
> `/opt/EBBO/ns-allinone-2.1b6/ns-2.1b6/indep-utils/webtrace-conv/nlanr'
> make[1]: Entering directory
> `/opt/EBBO/ns-allinone-2.1b6/ns-2.1b6/indep-utils/webtrace-conv/ucb'
> c++ -c -O2 -I. -I/opt/EBBO/ns-allinone-2.1b6/tclcl-1.0b9
> -I/opt/EBBO/ns-allinone-2.1b6/otcl-1.0a5
> -I/opt/EBBO/ns-allinone-2.1b6/tkbox/include
> -I/opt/EBBO/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
> `/opt/EBBO/ns-allinone-2.1b6/ns-2.1b6/indep-utils/webtrace-conv/ucb'
> make: *** [all-recursive] Error 2
> Ns make failed!
> ---------------------------------------------------------------------------------------------------
> I've checked on the web-site but seems there is nothing about it ...
> Is there anybody who can help me?
> Thanks in advance
> //Umberto
>