[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ns] Error in Linking ns
I developed a new agent, and all code were
successfully compiled. However, when linking, strange
errors appeared. Is it because of something missing
in defining new packet header format ? Do I have to
define a new packet type like PT_NEWAGENT when I
develop a new agent ? Thanks!
When I ran "ptypes2tcl" I found the following:
......
set ptype(tcpfriendctl) 43\n\
set pvals(43) tcpFriendCtl\n\
set ptype(ping) 44\n\
set pvals(44) ping\n\
Segmentation Fault
--------------------Error:
Undefined first referenced
symbol in file
et_ns_ptypes tclAppInit.o
ld: fatal: Symbol referencing errors. No output
written to ns
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `ns'
PT_NTYPE // This MUST be the LAST one
};
__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/