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

Re: problem with sgb2ns and mcast5.tcl



"Joumdane Abdelhamid" <[email protected]> writes:

> 
> 	For your second problem, indeed I sent an email about this specific file. I was asked to try with the newest release of ns, but in vain. I have the same problem. The origin of the problem is in the file ~/tcl/mcast/BST.tcl. While the init method of the Class BST defined in this file requires two arguments, when you put one argument the interpreter asks for the second argument. And when you put two arguments it says too many arguments which is a bit starnge to my mind.
> 
> So if anyone's got a clue on it, don't hesitate to  lighten the situation. 

> 
> On Sun, 22 Mar 1998 10:37:13   lazrak wrote:
> >Hi ,
> >I have to create a large topology based in method " Transit-Stub" , But
> >when i execute "make all" in order to create the executable "sgb2ns" it
> >gives me an error message :
> >" ...... undefined reference to 'restore_graph'  "
> >
> >
> >I have also a probem with running the file mcast5.tcl it gives a follow
> >error message :
> >" using backward compatible Agent/CBR; use Application/Traffic/CBR
> >instead
> > ...
> > using backward compatible Agent/CBR; use Application/Traffic/CBR
> >instead
> > called "_o478" with too many arguments
> > (Object next line 1)
> > invoked from within
> >"$self next $sim $node"
> >            Any one can help me?
> >

It seems that you are getting an error while calling 'next' 
in BST::init.  This calls McastProto::init with two arguments.  
Check that your ns version McastProto::init is indeed defined to 
take two arguments.