[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ns] (solved) packet type for agent ?
I got rid of the error in the following message. No
need to reply. Thanks!
I just added "name_[MY_NEW_PACKETTYPE] =
"new_packet_type_name" into packet.h.
However, I still have not confirmed whether packet
type and agent type should be one-to-one
coorespondent, though I guess so. Thanks!
--- Frank Chu <[email protected]> wrote:
> Date: Tue, 16 May 2000 06:19:14 -0700 (PDT)
> From: Frank Chu <[email protected]>
> Subject: packet type for agent ?
> To: [email protected]
>
> 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/
>
__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/