[ndnSIM] 回复: questions for compiling

Aaron aaronishere at qq.com
Fri Feb 15 23:00:44 PST 2013

Hi, Alex 
I found the error. I made the mistake of the variable size in the function of CAHeader::GetSerializedSize (void) const

------------------ 原始邮件 ------------------
发件人: "Aaron"<aaronishere at qq.com>;
发送时间: 2013年2月16日(星期六) 中午12:40
收件人: "alexander.afanasyev"<alexander.afanasyev at ucla.edu>; 
抄送: "ndnsim"<ndnsim at lists.cs.ucla.edu>; 
主题: [ndnSIM] questions for compiling

Hi, Alex
I added a new CAHeader like InterestHeader and a CA file like PIT. I also add new function OnCA and a series of  related functions such as PropagateCA in forwardstrategy.h/.cc and some functions in L3protocol.h/.cc as well as HeaderHelp.h/.cc . It can compile without error, however, when I typed "./waf --run=ndn-grid", it shows below:

Waf: Leaving directory `/home/ndnSIM-2-4/ns-3/build'
'build' finished successfully (51.112s)
assert failed. cond="m_current + delta <= m_dataEnd", file=./ns3/buffer.h, line=697
terminate called without an active exception
Command ['/home/ndnSIM-2-4/ns-3/build/src/ndnSIM/examples/ns3-dev-ndn-grid-debug'] terminated with signal SIGIOT. Run it under a debugger to get more information (./waf --run <program> --command-template="gdb --args %s <args>").

I have no idea about it. What's probably cause?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20130216/0dd07cbe/attachment.html>

More information about the ndnSIM mailing list