I think that ns can not find these two variant "aomdv_max_paths_" "aomdv_prim_alt_path_len_diff_" in the Agent/AOMDV class.
You should define the AOMDV in "makefile" or add the code "#define AOMDV" to the head file such as "aodv.h", which will enable the defination of those variants in AOMDV class. Hope it's helpful to you. heyang 2008-04-15 发件人: pejman 发送时间: 2008-04-15 13:03:15 收件人: [email protected] 抄送: 主题: [ns] Question About AOMDV Dear Marcello: Finally i could add AOMDV code to ns-2.32. I have two questions. 1- How can i implement node disjoint and link disjoint paths? 2- After running aomdv.tcl i have the following messages: num_nodes is set 16 warning: no class variable Agent/AOMDV::aomdv_max_paths_ ??????? see tcl-object.tcl in tclcl for info about this warning. warning: no class variable Agent/AOMDV::aomdv_prim_alt_path_len_diff_ INITIALIZE THE LIST xListHead warning: no class variable Agent/AOMDV::aomdv_max_paths_ ??????? see tcl-object.tcl in tclcl for info about this warning. warning: no class variable Agent/AOMDV::aomdv_prim_alt_path_len_diff_ warning: no class variable Agent/AOMDV::aomdv_max_paths_ ??????? see tcl-object.tcl in tclcl for info about this warning. warning: no class variable Agent/AOMDV::aomdv_prim_alt_path_len_diff_ warning: no class variable Agent/AOMDV::aomdv_max_paths_ ??????? see tcl-object.tcl in tclcl for info about this warning. warning: no class variable Agent/AOMDV::aomdv_prim_alt_path_len_diff_ warning: no class variable Agent/AOMDV::aomdv_max_paths_ ??????? see tcl-object.tcl in tclcl for info about this warning. warning: no class variable Agent/AOMDV::aomdv_prim_alt_path_len_diff_ warning: no class variable Agent/AOMDV::aomdv_max_paths_ ??????? see tcl-object.tcl in tclcl for info about this warning. warning: no class variable Agent/AOMDV::aomdv_prim_alt_path_len_diff_ warning: no class variable Agent/AOMDV::aomdv_max_paths_ ??????? see tcl-object.tcl in tclcl for info about this warning. warning: no class variable Agent/AOMDV::aomdv_prim_alt_path_len_diff_ warning: no class variable Agent/AOMDV::aomdv_max_paths_ ??????? see tcl-object.tcl in tclcl for info about this warning. warning: no class variable Agent/AOMDV::aomdv_prim_alt_path_len_diff_ warning: no class variable Agent/AOMDV::aomdv_max_paths_ ??????? see tcl-object.tcl in tclcl for info about this warning. warning: no class variable Agent/AOMDV::aomdv_prim_alt_path_len_diff_ warning: no class variable Agent/AOMDV::aomdv_max_paths_ ??????? see tcl-object.tcl in tclcl for info about this warning. warning: no class variable Agent/AOMDV::aomdv_prim_alt_path_len_diff_ warning: no class variable Agent/AOMDV::aomdv_max_paths_ ??????? see tcl-object.tcl in tclcl for info about this warning. warning: no class variable Agent/AOMDV::aomdv_prim_alt_path_len_diff_ warning: no class variable Agent/AOMDV::aomdv_max_paths_ ??????? see tcl-object.tcl in tclcl for info about this warning. warning: no class variable Agent/AOMDV::aomdv_prim_alt_path_len_diff_ warning: no class variable Agent/AOMDV::aomdv_max_paths_ ??????? see tcl-object.tcl in tclcl for info about this warning. warning: no class variable Agent/AOMDV::aomdv_prim_alt_path_len_diff_ warning: no class variable Agent/AOMDV::aomdv_max_paths_ ??????? see tcl-object.tcl in tclcl for info about this warning. warning: no class variable Agent/AOMDV::aomdv_prim_alt_path_len_diff_ warning: no class variable Agent/AOMDV::aomdv_max_paths_ ??????? see tcl-object.tcl in tclcl for info about this warning. warning: no class variable Agent/AOMDV::aomdv_prim_alt_path_len_diff_ warning: no class variable Agent/AOMDV::aomdv_max_paths_ ??????? see tcl-object.tcl in tclcl for info about this warning. warning: no class variable Agent/AOMDV::aomdv_prim_alt_path_len_diff_ 10 simulation seconds 20 simulation seconds 30 simulation seconds 40 simulation seconds 50 simulation seconds 60 simulation seconds 70 simulation seconds 80 simulation seconds 90 simulation seconds 100 simulation seconds Are these warnings serious and how to delete them? I appreciate for your help.Thanks a lot. Cheers: Pejman.
