[ns] Adding your own header Type
Waleed Tuffaha
tuffaha at gmail.com
Thu Jan 1 07:26:15 PST 2009
Hello Obaid,
did you modify the Makefile to add your .cc files ?
On Thu, Jan 1, 2009 at 12:16 PM, obaid abbasi <obaidabbasi at gmail.com> wrote:
>
> Hello
>
>
> I have added my own header type namely "myHeader". Althought I made the
> necessary changes in file "ns-packet.tcl" , packet.h. But still when I want
> to access the header of my packet (hdr_myHeader* my=
> hdr_myHeader::access(p);), following error occurs
>
> apps/rtp.o: In function `hdr_myHeader::access(Packet const*)':
> rtp.cc:(.gnu.linkonce.t._ZN12hdr_myHeader6accessEPK6Packet+0xb): undefined
> reference to `hdr_myHeader::offset_
>
>
> Anyone having idea about this problem and solution.
>
>
> Thanks
>
--
Waleed Tuffaha.
More information about the Ns-users
mailing list