[ndnSIM] error in compiling

Alex Afanasyev alexander.afanasyev at ucla.edu
Wed Feb 20 19:02:08 PST 2013


Hi Aaron,

This error due to the latest addition of small utility header.  I have updated ndnSIM, so it should compile now without an error.

---
Alex

On Feb 20, 2013, at 5:02 PM, aaronishere <aaronishere at qq.com> wrote:

> Hi, Alex
> I have download the new version of the ndnSIM, but errors when compiles. (I use ubuntu12.10-desktop and libboost 1.50). Is there something missing in the desktop version of 12.10? 
>  
> [1108/1972] cxx: src/ndnSIM/examples/ndn-simple-with-cs-lfu.cc -> build/src/ndnSIM/examples/ndn-simple-with-cs-lfu.cc.14.o
> In file included from ../src/ndnSIM/examples/ndn-simple-with-cs-lfu.cc:27:0:
> ./ns3/ndnSIM/utils/mem-usage.h:25:27: fatal error: proc/readproc.h: No such file or directory
> compilation terminated.
> [1114/1972] cxx: build/src/lte/bindings/ns3module.cc -> build/src/lte/bindings/ns3module.cc.7.o
> Waf: Leaving directory `/home/Original-ndnSIM-2-20/ns-3/build'
> Build failed
>  -> task in 'ndn-simple-with-cs-lfu' failed (exit status 1): 
> {task 159437548: cxx ndn-simple-with-cs-lfu.cc -> ndn-simple-with-cs-lfu.cc.14.o}
> ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-Wno-error=deprecated-declarations', '-fstrict-aliasing', '-Wstrict-aliasing', '-pthread', '-fno-strict-aliasing', '-fwrapv', '-fstack-protector', '-fno-strict-aliasing', '-Ibuild', '-I.', '-I.', '-I/home/Original-ndnSIM-2-20', '-I/usr/include', '-I/usr/include/python2.7', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_PACKET_H=1', '-DHAVE_IF_TUN_H=1', '-DNDEBUG', '-D_FORTIFY_SOURCE=2', '../src/ndnSIM/examples/ndn-simple-with-cs-lfu.cc', '-c', '-o', 'src/ndnSIM/examples/ndn-simple-with-cs-lfu.cc.14.o']
>  
> aaronishere
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20130220/201fec70/attachment.html>


More information about the ndnSIM mailing list