查看: 3182|回复: 1

NS2添加新模块错误提示, 急切等待高人指点!

[复制链接]

该用户从未签到

发表于 2008-5-9 08:53:17 | 显示全部楼层 |阅读模式
分享到:
Hi,
我是个NS2的新手,我试验加入新的模块,但出现了错误!希望得到高人在白忙种给一指点!谢谢!困扰很久了!
我是按照下面网页的指导作的,只是不同的是我用的是ns2.29,并且我把队列算法名字myfifo统一改作了lyfifo,

http://140.116.72.80/~smallko/ns2/module.htm

显示的错误如下:

invalid command name "Queue/lyfifo"
while executing
"Queue/lyfifo create _o16 "
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 Queue/$qtype"
("default" arm line 3)
invoked from within
"switch -exact $qtype {
ErrorModule {
if { [llength $args] > 0 } {
set q [eval new $qtype $args]
} else {
set q [new $qtype Fid]
}
}
intserv {
set qtyp..."
(procedure "_o3" line 14)
(Simulator simplex-link line 14)
invoked from within
"_o3 simplex-link _o10 _o13 1Mb 10ms lyfifo"
("eval" body line 1)
invoked from within
"eval $self simplex-link $n1 $n2 $bw $delay $type $args"
(procedure "_o3" line 8)
(Simulator duplex-link line 8)
invoked from within
"$ns duplex-link $n0 $n1 1Mb 10ms lyfifo"
(file "ex-lyfifo.tcl" line 22)
回复

使用道具 举报

该用户从未签到

发表于 2008-6-15 20:29:02 | 显示全部楼层

RE:NS2添加新模块错误提示, 急切等待高人指点!

回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 注册/登录

本版积分规则

关闭

站长推荐上一条 /4 下一条



手机版|小黑屋|与非网

GMT+8, 2024-11-26 01:56 , Processed in 0.116396 second(s), 17 queries , MemCache On.

ICP经营许可证 苏B2-20140176  苏ICP备14012660号-2   苏州灵动帧格网络科技有限公司 版权所有.

苏公网安备 32059002001037号

Powered by Discuz! X3.4

Copyright © 2001-2024, Tencent Cloud.