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

Re: [ns] Simulation on ATM



Just one question: does this ATM package work only on ns-1? Isn't there any
upgraded package for ns-2 yet?
Thanks!
--Lipas

----- Original Message -----
From: "Antonio Carlos Theophilo Costa Junior" <[email protected]>
To: <[email protected]>
Sent: Wednesday, March 21, 2001 2:41 PM
Subject: [ns] Simulation on ATM


>
> Hello folks.
>
> I'm looking for a ATM Simulator (free of course :) ). If someone
> knows a good one please mail me.
>
> I've looked for a ATM Simulator for the ns and I've found a
> package written by Syed Umair Ahmed Shah. After run the ./configure, the
> make command display this error message:
>
> >rm -f version.o; gcc -o version.o -c -I.   -DSIGRET=void -DNO_TK -O2
> version.c
> >rm -f tcl2c
> >gcc -o tcl2c -I.   -DSIGRET=void -DNO_TK -O2 tcl2c.c
> >rm -f ns_tcl.c
> >./tcl2c tcl_ns_default < ns_default.tcl >> ns_tcl.c
> >rm -f ns_tcl.o; gcc -o ns_tcl.o -c -I.   -DSIGRET=void -DNO_TK -O2
> ns_tcl.c
> >rm -f scheduler.o; c++ -o scheduler.o -c -I.   -DSIGRET=void -DNO_TK -O2
> scheduler.cc
> >rm -f link.o; c++ -o link.o -c -I.   -DSIGRET=void -DNO_TK -O2 link.cc
> >In file included from link.h:45,
>                  from link.cc:43:
> >flow.h: In method `void Flow::resetcounters()':
> >flow.h:153: ANSI C++ forbids declaration `i' with no type
> >make: *** [link.o] Error 1
>
> if someone knows how to fix it pleasa mail me.
>
>
> []'s
>
> ================================================
> Antonio Carlos Theophilo Costa Junior
>
> Aluno do Curso de Ciencia da Computacao - UFRN
>
> mail:
> [email protected]
> ================================================
>
>