[ndnSIM] About update

Alex Afanasyev alexander.afanasyev at ucla.edu
Sun Jun 16 11:02:21 PDT 2013


Hi Amin,

Not sure how, but you got a version mistmatch betweeen ndnSIM and NS-3.  I would highly recommend to download the code again, at least NS-3 part, since I did significant non-mergeable changes in it.

You can do something similar like

mv <ns-3> ns-3-old
git clone git://github.com/cawka/ns-3-dev-ndnSIM.git ns-3
mv ns-3-old/src/ndnSIM ns-3/src

---
Alex

On Jun 16, 2013, at 6:22 AM, Amin Karami <amin at ac.upc.edu> wrote:

> Hi!
> I updated my repo based on the recommended commands:
> cd <ns-3>
> git pull origin ndnSIM
> cd src/ndnSIM
> git pull origin master
> 
> but after completing, i faced with following error when i ran "./waf --run=ndn-simple" or any .cc program:
> 
> Waf: Entering directory `/home/bluebit/Documents/ndnSIM/ns-3/build'
> feature ' ' does not exist - bind at least one method to it
> feature 'n' does not exist - bind at least one method to it
> feature 's' does not exist - bind at least one method to it
> feature '3' does not exist - bind at least one method to it
> feature 'f' does not exist - bind at least one method to it
> feature 'u' does not exist - bind at least one method to it
> feature 'l' does not exist - bind at least one method to it
> feature 'l' does not exist - bind at least one method to it
> feature 'm' does not exist - bind at least one method to it
> feature 'o' does not exist - bind at least one method to it
> feature 'u' does not exist - bind at least one method to it
> feature 'l' does not exist - bind at least one method to it
> feature 'e' does not exist - bind at least one method to it
> feature 'h' does not exist - bind at least one method to it
> feature 'e' does not exist - bind at least one method to it
> feature 'a' does not exist - bind at least one method to it
> feature 'e' does not exist - bind at least one method to it
> feature 'r' does not exist - bind at least one method to it
> feature 's' does not exist - bind at least one method to it
> [ 936/1918] cxx: build/src/ndnSIM/bindings/ns3module.cc -> build/src/ndnSIM/bindings/ns3module.cc.7.o
> In file included from src/ndnSIM/bindings/ns3module.cc:1:0:
> src/ndnSIM/bindings/ns3module.h: In member function ‘void PyNs3NdnApp__PythonHelper::DoInitialize__parent_caller()’:
> src/ndnSIM/bindings/ns3module.h:1797:7: error: ‘DoInitialize’ is not a member of ‘ns3::Application’
> src/ndnSIM/bindings/ns3module.h: In member function ‘void PyNs3NdnFace__PythonHelper::DoInitialize__parent_caller()’:
> src/ndnSIM/bindings/ns3module.h:1930:7: error: ‘DoInitialize’ is not a member of ‘ns3::Object’
> src/ndnSIM/bindings/ns3module.h: In member function ‘void PyNs3NdnForwardingStrategy__PythonHelper::DoInitialize__parent_caller()’:
> src/ndnSIM/bindings/ns3module.h:2035:7: error: ‘DoInitialize’ is not a member of ‘ns3::Object’
> In file included from src/ndnSIM/bindings/ns3module.cc:1:0:
> src/ndnSIM/bindings/ns3module.h: In member function ‘void PyNs3NdnL3Protocol__PythonHelper::DoInitialize__parent_caller()’:
> src/ndnSIM/bindings/ns3module.h:2268:7: error: ‘DoInitialize’ is not a member of ‘ns3::Object’
> src/ndnSIM/bindings/ns3module.h: In member function ‘void PyNs3NdnLimits__PythonHelper::DoInitialize__parent_caller()’:
> src/ndnSIM/bindings/ns3module.h:2352:7: error: ‘DoInitialize’ is not a member of ‘ns3::Object’
> src/ndnSIM/bindings/ns3module.h: In member function ‘void PyNs3NdnNetDeviceFace__PythonHelper::DoInitialize__parent_caller()’:
> src/ndnSIM/bindings/ns3module.h:2478:7: error: ‘DoInitialize’ is not a member of ‘ns3::Object’
> src/ndnSIM/bindings/ns3module.h: In member function ‘void PyNs3NdnRttEstimator__PythonHelper::DoInitialize__parent_caller()’:
> src/ndnSIM/bindings/ns3module.h:2577:7: error: ‘DoInitialize’ is not a member of ‘ns3::Object’
> src/ndnSIM/bindings/ns3module.h: In member function ‘void PyNs3NdnAppFace__PythonHelper::DoInitialize__parent_caller()’:
> src/ndnSIM/bindings/ns3module.h:2698:7: error: ‘DoInitialize’ is not a member of ‘ns3::Object’
> src/ndnSIM/bindings/ns3module.cc: In member function ‘virtual void PyNs3NdnApp__PythonHelper::DoInitialize()’:
> src/ndnSIM/bindings/ns3module.cc:5419:9: error: ‘DoInitialize’ is not a member of ‘ns3::Application’
> src/ndnSIM/bindings/ns3module.cc: In member function ‘virtual void PyNs3NdnFace__PythonHelper::DoInitialize()’:
> src/ndnSIM/bindings/ns3module.cc:7987:9: error: ‘DoInitialize’ is not a member of ‘ns3::Object’
> src/ndnSIM/bindings/ns3module.cc: In member function ‘virtual void PyNs3NdnForwardingStrategy__PythonHelper::DoInitialize()’:
> src/ndnSIM/bindings/ns3module.cc:13377:9: error: ‘DoInitialize’ is not a member of ‘ns3::Object’
> src/ndnSIM/bindings/ns3module.cc: In member function ‘virtual void PyNs3NdnL3Protocol__PythonHelper::DoInitialize()’:
> src/ndnSIM/bindings/ns3module.cc:15828:9: error: ‘DoInitialize’ is not a member of ‘ns3::Object’
> src/ndnSIM/bindings/ns3module.cc: In member function ‘virtual void PyNs3NdnLimits__PythonHelper::DoInitialize()’:
> src/ndnSIM/bindings/ns3module.cc:17175:9: error: ‘DoInitialize’ is not a member of ‘ns3::Object’
> src/ndnSIM/bindings/ns3module.cc: In member function ‘virtual void PyNs3NdnNetDeviceFace__PythonHelper::DoInitialize()’:
> src/ndnSIM/bindings/ns3module.cc:19037:9: error: ‘DoInitialize’ is not a member of ‘ns3::Object’
> src/ndnSIM/bindings/ns3module.cc: In member function ‘virtual void PyNs3NdnRttEstimator__PythonHelper::DoInitialize()’:
> src/ndnSIM/bindings/ns3module.cc:20546:9: error: ‘DoInitialize’ is not a member of ‘ns3::Object’
> src/ndnSIM/bindings/ns3module.cc: In member function ‘virtual void PyNs3NdnAppFace__PythonHelper::DoInitialize()’:
> src/ndnSIM/bindings/ns3module.cc:22989:9: error: ‘DoInitialize’ is not a member of ‘ns3::Object’
> Waf: Leaving directory `/home/bluebit/Documents/ndnSIM/ns-3/build'
> Build failed
>  -> task in 'ns3module_ndnSIM' failed (exit status 1): 
>     {task 162111820: cxx ns3module.cc -> ns3module.cc.7.o}
> ['/usr/bin/g++', '-O0', '-ggdb', '-g3', '-Wall', '-Werror', '-Wno-error=deprecated-declarations', '-fstrict-aliasing', '-Wstrict-aliasing', '-fPIC', '-pthread', '-fno-strict-aliasing', '-fwrapv', '-fno-strict-aliasing', '-fvisibility=hidden', '-Wno-array-bounds', '-pthread', '-pthread', '-pthread', '-fno-strict-aliasing', '-fwrapv', '-fno-strict-aliasing', '-Ibuild', '-I.', '-Ibuild/src/ndnSIM/bindings', '-Isrc/ndnSIM/bindings', '-I/usr/include/python2.7', '-I/usr/include/gtk-2.0', '-I/usr/lib/i386-linux-gnu/gtk-2.0/include', '-I/usr/include/atk-1.0', '-I/usr/include/cairo', '-I/usr/include/gdk-pixbuf-2.0', '-I/usr/include/pango-1.0', '-I/usr/include/gio-unix-2.0', '-I/usr/include/glib-2.0', '-I/usr/lib/i386-linux-gnu/glib-2.0/include', '-I/usr/include/pixman-1', '-I/usr/include/freetype2', '-I/usr/include/libpng12', '-I/usr/include/libxml2', '-I/usr/local/include', '-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_PACKET_H=1', '-DSQLITE3=1', '-DHAVE_IF_TUN_H=1', '-DENABLE_GSL', '-DNS_DEPRECATED=', '-DNS3_DEPRECATED_H', '-DNDEBUG', '-DNDEBUG', 'src/ndnSIM/bindings/ns3module.cc', '-c', '-o', 'src/ndnSIM/bindings/ns3module.cc.7.o']
> 
> 
> On 06/14/2013 08:21 ب.ظ, Alex Afanasyev wrote:
>> Hi!
>> 
>> There are two pieces that should be updated: the NS-3 base and ndnSIM itself.
>> 
>> cd <ns-3>
>> git pull origin ndnSIM
>> 
>> cd src/ndnSIM
>> git pull origin master
>> 
>> 
>> If these are not working, just try to re-download the whole thing, as described in http://ndnsim.net/getting-started.html#downloading-ndnsim-source
>> 
>> ---
>> Alex
>> 
>> On Jun 14, 2013, at 5:44 AM, 陈胜蓝 <blindeafer at 163.com> wrote:
>> 
>>> Hi All,
>>> Do you update the code use the command:git pull origin master?
>>> I downloaded the code from google a few months ago and today I tried to update the code many times,but every time it was susupend when downloading,could you tell me what is the reason?
>>> 
>>> Reagrds. 
>> 
>> 
>> _______________________________________________
>> ndnSIM mailing list
>> ndnSIM at lists.cs.ucla.edu
>> http://www.lists.cs.ucla.edu/mailman/listinfo/ndnsim

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndnsim/attachments/20130616/6847840b/attachment.html>


More information about the ndnSIM mailing list