cd ns-allinone-2.34/ns-2.34/ && ./ns ex-linkage.tcl
Result : identical to
http://nile.wpi.edu/NS/linkage.html :
Code:
warning: no class variable Agent/MyAgentOtcl::my_var1_otcl
see tcl-object.tcl in tclcl for info about this warning.
warning: no class variable Agent/MyAgentOtcl::my_var2_otcl
Message From MyPrivFunc
my_var1 = 2
my_var2 = 3.140000
Please do not make any changes to the file names.
I.e ex-linkage.cc , ex-linkage.o , ex-linkage.tcl : Work OK.
..