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

Re: Make error in ns-2.1b6



Try that file from current snapshot. It's corrected. Or you just remove
the target from your makefile if you don't need it.

- Haobo

On Fri, 11 Feb 2000, Anurag wrote:

> Hi
> 
> I downloaded all the required components for ns-2.1b6. I applied both
> the patchs for ns-2.1b6 given on Install Problems page. I also applied
> ds patch contributed by Sean Murphy. 
> when I do make in ns-2, it returns with an error message given below:
> 
> 
> for i in indep-utils/cmu-scen-gen/setdest 
> indep-utils/webtrace-conv/dec  indep-utils/webtrace-conv/epa 
> indep-utils/webtrace-conv/nlanr  indep-utils/webtrace-conv/ucb; do ( cd
> $i; make all; ) done
> c++ -c -g -Wall -I. -I/csproject/qosperf/ds-ns/tclcl-1.0b9
> -I/csproject/qosperf/ns/otcl-1.0a5
> -I/csproject/qosperf/ns/tk8.0.4/generic
> -I/csproject/qosperf/ns/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'
> Current working directory
> /csproject/qosperf/ds-ns/ns-2.1b6/indep-utils/webtrace-conv/dec
> *** Error code 1
> make: Fatal error: Command failed for target `all-recursive'
> 
> 
> What may be causing this error?
> Please help.
> 
> thansk
> with Regards
> Anurag,
> ---------------------------------------------
> Computer Science Department, HKUST, Hong Kong
> Lab. # 4204, Phone: + (852) 2358 8832 (Lab.)
>              FAX  : + (852) 2358 1477 (Dept. off.)
>