Hi Everyone,

        I am trying to install OLSR patch in ns-2.34. I have successfully
installed the patch (i say this because i can see the changes to the
ns2-lib.tcl file )

but when i run the OSLR.tcl ($ns OSLR.tcl) file it is throwing the following

    (_o19 cmd line 1)
    invoked from within
"_o19 cmd ragent _o17"
    invoked from within
"catch "$self cmd $args" ret"
    invoked from within
"if [catch "$self cmd $args" ret] {
set cls [$self info class]
global errorInfo
set savedInfo $errorInfo
error "error when calling class $cls: $args" $..."
    (procedure "_o19" line 2)
    (SplitObject unknown line 2)
    invoked from within
"$mac ragent $r "
    ("for" body line 9)
    invoked from within
"for {set i 0} {$i < $opt(NumOfMN) } {incr i} {
    set node_($i) [$ns_ node]

    # Set initial position
    $node_($i) random-motion 0  ;# enable random moti..."
    (file "olsr.tcl" line 184)

$make clean and $make are working fine for me.

but when I try to do this $sudo make install

it is throwing this error

for d in /usr/local/man/man1; do \
        if [ ! -d $d ]; then \
            mkdir -p $d ;\
/usr/bin/install -c -m 755 ns /usr/local/bin
/usr/bin/install -c -m 644 ns.1 /usr/local/man/man1


*Manoj Gandamalla
M.S. Electrical Engineering
Mob #: 714-299-9143
San Diego State University*

Reply via email to