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

Re: A problem about installing tclcl-1.0b8




See http://www-mash.cs.berkeley.edu/ns/ns-problems.html.

Cheers,

/ChJ

> 
> 	I have download the file ns-allinone-2.1b5a.tar.gz. And I want to install it on one sparc-sun-solaris2.5.1 workstation.
> 	Found this error while installing:
> "Tcl.cc",line 358: Error: TclObject::enum_tracedVars() is expected to return a value.
> 
> And I check the file Tcl.cc, found:
> //Enumerating through all traced variables, but still use the trace() 
> //callback.
> int TclObject::enum_tracedVars()
> {
> 	for (InstVar* p = instvar_; p!=0; p=p->next_){
> 		if(p->tracedvar()&&p->tracedvar()->tracer())
> 			p->tracedvar()->tracer()->trace(p->tracedvar());
> 	}
> 	
> 	TracedVar* var = tracedvar_;
> 	for(;var!=0;var=var->next_)
> 		if(var->tracer())
> 			var->tracer()->trace(var);
> }
> 
> please tell me how to do. Thanks.
>