[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] packet type for agent ?



Sorry for pasting in the wrong text accidently.  My
previous message should be:

I developed a new agent, and all code were
successfully compiled.  However, when linking, strange
errors appeared.  Do I have to
define a new packet type like PT_NEWAGENT when I
develop a new agent ?  However, I may have several
packet types for ONE AGENT to send out.  In this case,
should I make them as ONE packet type, and distinguish
them within the internal data structure of that one
packet type.  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'
       

__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/