have downloaded ex-linkage.cc and ex-linkage.tcl codes from the link
http://nile.wpi.edu/NS/linkage.html
i followed the steps involved as follows:
add the object file in makefile then
#make
#ns ex-linkage.tcl
these steps i followed but got the error message
[root@it-sdl019 ns-2.34]# ns ex-linkage.tcl
invalid command name "Agent/MyAgentOtcl"
while executing
"Agent/MyAgentOtcl create _o3 "
invoked from within
"catch "$className create $o $args" msg"
invoked from within
"if [catch "$className create $o $args" msg] {
if [string match "__FAILED_SHADOW_OBJECT_" $msg] {
delete $o
return ""
}
global errorInfo
error "class $..."
(procedure "new" line 3)
invoked from within
"new Agent/MyAgentOtcl"
invoked from within
"set myagent [new Agent/MyAgentOtcl]"
(file "ex-linkage.tcl" line 5)
thanks in advance friend