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

ns-2.1b2 installation problem



Hi,

I am trying hard to install ns. Please help me for the following
problem. Thank you!

I have gotten Makefile by configuring, 
using command(based my SGI system directories):

./configure --prefix=~/netsim --with-tcl=/local/tcl-7.6 
 --with-tk=/local/tcl-7.6 --with-otcl=/local/NS --with-tclcl=/local/NS 
 --with-perl=/local/perl-5.004/

Our SGI systems have installed  tcl-7.6,tk-4.2, otcl-0.96 and tclcl-1.0b4,
also perl5.0040.

I use "gmake" to get ns*, it seems OK, but when I run it,
there is very long source code comes out, following is the last part:
-------------------------------

Simulator instproc attach-fmon {lnk fm { edrop 0 } } {
set isnoop [new SnoopQueue/In]
set osnoop [new SnoopQueue/Out]
set dsnoop [new SnoopQueue/Drop]
$lnk attach-monitors $isnoop $osnoop $dsnoop $fm
if { $edrop != 0 } {
set edsnoop [new SnoopQueue/EDrop]
$edsnoop set-monitor $fm
[$lnk queue] early-drop-target $edsnoop
$edsnoop target [$self set nullAgent_]
}
[$lnk queue] drop-target $dsnoop
}

Simulator instproc lossmodel {lossobj from to} {
set link [$self link $from $to]
set head [$link head]
$lossobj target [$head target]
$head target $lossobj
}

: expected a list of classes but got InitObject during {LanLink} {superclass} {InitObject}
    while executing
"LanLink init -superclass InitObject"
    invoked from within
"Class create LanLink -superclass InitObject"
    ("eval" body line 1)
    invoked from within
"eval [list $self] create [list $m] $args         "
    (procedure "Class" line 5)
    invoked from within
"Class LanLink -superclass InitObject"
---------------------------------------- 

--Bing Chen

++++++++++++++++++++++++++++++++++++++++++++++++++++
Bing Chen   (702)895-1428      [email protected] 
Dep. of Electrical and Computer Engineering
University of Nevada, Las Vegas, NV  89154
++++++++++++++++++++++++++++++++++++++++++++++++++++