[ndnSIM] ndnSIM 2.0 update.

Chaim Rieger chaim.rieger at gmail.com
Mon Jan 19 15:19:49 PST 2015


On 1/19/2015 2:54 PM, Alex Afanasyev wrote:
> Hi Chaim,
>
> Your problem is that you're using not the master branch of ndn-cxx library (by "re-downloading" we meant to update the whole package, including ndn-cxx library.  We should have been more explicit about this.).  Unfortunately, there was a need for a few changes that require latest version of the library.
>
> After you update the library (either from source or PPA on ubuntu), you should not see this error.
>
> ---
> Alex
>
(sorry for the long email) , will have one more try with a source
install of boost and a source install of ndn-cxx (instead of ppa
installed versions)

ndn-cxx, and ndn-cxx dev were updated today via apt-get (ubuntu 140.04 ppa)
ndn-cxx-dev is already the newest version.
ndn-cxx is already the newest version.

This ./waf configure was done with out --enable-examples




crieger at crieger-Precision-WorkStation-T5500:/media/crieger/disk1/git/ndnSIM/ns-3$
nfd-status
General NFD status:
                 nfdId=/localhost/daemons/nfd/KEY/ksk-1420659166741/ID-CERT
               version=0.2.0-88-gc5173de
             startTime=20150119T211245.043000
           currentTime=20150119T231442.344000
                uptime=7317 seconds
      nNameTreeEntries=11
           nFibEntries=3
           nPitEntries=2
  nMeasurementsEntries=0
            nCsEntries=139
          nInInterests=247
         nOutInterests=245
              nInDatas=139
             nOutDatas=128
Channels:
  ws://[::]:9696
  unix:///run/nfd.sock
  udp6://[::]:6363
  udp4://0.0.0.0:6363
  tcp6://[::]:6363
  tcp4://0.0.0.0:6363
Faces:
...
FIB:
...
RIB:
...
Strategy choices:
...




crieger at crieger-Precision-WorkStation-T5500:/media/crieger/disk1/git/ndnSIM/ns-3$
./waf configure
Setting top to                           :
/media/crieger/disk1/git/ndnSIM/ns-3
Setting out to                           :
/media/crieger/disk1/git/ndnSIM/ns-3/build
Checking for 'gcc' (c compiler)          : /usr/bin/gcc
Checking for cc version                  : 4.9.1
Checking for 'g++' (c++ compiler)        : /usr/bin/g++
Checking supported compiler CXXFLAGS     : -std=c++0x -std=c++11
Checking supported optimizations CXXFLAGS : -O0
Checking supported debug CXXFLAGS         : -ggdb -g3
Checking supported warnings CXXFLAGS      : -Wall
-Wno-error=deprecated-declarations -fstrict-aliasing -Wstrict-aliasing
Checking for compilation flag -Wl,--soname=foo... support : ok
Checking for program python                               : /usr/bin/python
Checking for python version                               : (2, 7, 8,
'final', 0)
Checking for library python2.7 in LIBDIR                  : yes
Checking for program python-config                        :
/usr/bin/python-config
Checking for header Python.h                              : yes
Checking for compilation flag -fvisibility=hidden... support : ok
Checking for compilation flag -Wno-array-bounds... support   : ok
Checking for pybindgen location                              :
../pybindgen (guessed)
Checking for python module 'pybindgen'                       : 0.17.0.887
Checking for pybindgen version                               : 0.17.0.887
Checking for types uint64_t and unsigned long equivalence    : yes
Checking for types uint64_t and unsigned long long equivalence : no
Checking for the apidefs that can be used for Python bindings  : gcc-LP64
Checking for internal GCC cxxabi                               : complete
Checking for python module 'pygccxml'                          : 1.0.0
Checking for pygccxml version                                  : 1.0.0
Checking for program gccxml                                    :
/usr/bin/gccxml
Checking for gccxml version                                    : 0.9.0
Checking boost includes                                        : 1_55
Checking boost libs                                            : ok
Checking for boost linkage                                     : ok
Checking for click location                                    : not found
Checking for program pkg-config                                :
/usr/bin/pkg-config
Checking for 'gtk+-2.0' >= 2.12                                : yes
Checking for 'libxml-2.0' >= 2.7                               : yes
Checking for type uint128_t                                    : not found
Checking for type __uint128_t                                  : yes
Checking high precision implementation                         : 128-bit
integer (default)
Checking for header stdint.h                                   : yes
Checking for header inttypes.h                                 : yes
Checking for header sys/inttypes.h                             : not found
Checking for header sys/types.h                                : yes
Checking for header sys/stat.h                                 : yes
Checking for header dirent.h                                   : yes
Checking for header stdlib.h                                   : yes
Checking for header signal.h                                   : yes
Checking for header pthread.h                                  : yes
Checking for header stdint.h                                   : yes
Checking for header inttypes.h                                 : yes
Checking for header sys/inttypes.h                             : not found
Checking for library rt                                        : yes
Checking for header netpacket/packet.h                         : yes
Checking for header sys/ioctl.h                                : yes
Checking for header net/if.h                                   : yes
Checking for header net/ethernet.h                             : yes
Checking for header linux/if_tun.h                             : yes
Checking for header netpacket/packet.h                         : yes
Checking for NSC location                                      : not found
Checking for program doxygen                                   :
/usr/bin/doxygen
Checking for program tar                                       : /bin/tar
Checking for program sphinx-build                              :
/usr/bin/sphinx-build
Checking for std::is_default_constructible                     : yes
Checking for std::is_move_constructible                        : yes
Checking for override specifier                                : yes
Checking for 'libndn-cxx'                                      : yes
Checking for OpenFlow location                                 : not found
Checking for 'sqlite3'                                         : yes
Checking for header linux/if_tun.h                             : yes
Checking for python module 'gtk'                               : connect
/tmp/.X11-unix/X0: No such file or directory
ok
Checking for python module 'goocanvas'                         : connect
/tmp/.X11-unix/X0: No such file or directory
0.14.1
Checking for python module 'pygraphviz'                        : 1.2
Checking for program sudo                                      :
/usr/bin/sudo
Checking for program valgrind                                  :
/usr/bin/valgrind
Checking for 'gsl'                                             : yes
Checking for program doxygen                                   :
/usr/bin/doxygen
---- Summary of optional NS-3 features:
Build profile                 : debug
Build directory               :
Python Bindings               : enabled
Python API Scanning Support   : enabled
BRITE Integration             : not enabled (BRITE not enabled (see
option --with-brite))
NS-3 Click Integration        : not enabled (nsclick not enabled (see
option --with-nsclick))
GtkConfigStore                : enabled
XmlIo                         : enabled
Threading Primitives          : enabled
Real Time Simulator           : enabled
Emulated Net Device           : enabled
File descriptor NetDevice     : enabled
Tap FdNetDevice               : enabled
Emulation FdNetDevice         : enabled
PlanetLab FdNetDevice         : not enabled (PlanetLab operating system
not detected (see option --force-planetlab))
Network Simulation Cradle     : not enabled (NSC not found (see option
--with-nsc))
MPI Support                   : not enabled (option --enable-mpi not
selected)
ndnSIM                        : enabled
NS-3 OpenFlow Integration     : not enabled (OpenFlow not enabled (see
option --with-openflow))
SQlite stats data output      : enabled
Tap Bridge                    : enabled
PyViz visualizer              : enabled
Use sudo to set suid bit      : not enabled (option --enable-sudo not
selected)
Build tests                   : not enabled (defaults to disabled)
Build examples                : not enabled (defaults to disabled)
GNU Scientific Library (GSL)  : enabled
'configure' finished successfully (6.650s)

./waf
<snip> ... </snip>
[1372/2045] cxx: src/ndnSIM/helper/ndn-strategy-choice-helper.cpp ->
build/src/ndnSIM/helper/ndn-strategy-choice-helper.cpp.1.o
../src/ndnSIM/utils/dummy-keychain.cpp:68:48: error: expected identifier
before string constant
 NDN_CXX_KEYCHAIN_REGISTER_PIB(DummyPublicInfo, "pib-dummy", "dummy");
                                                ^
../src/ndnSIM/utils/dummy-keychain.cpp:68:48: error: expected ‘,’ or
‘...’ before string constant
../src/ndnSIM/utils/dummy-keychain.cpp:68:69: error: expected
constructor, destructor, or type conversion before ‘;’ token
 NDN_CXX_KEYCHAIN_REGISTER_PIB(DummyPublicInfo, "pib-dummy", "dummy");
                                                                     ^
../src/ndnSIM/utils/dummy-keychain.cpp:69:41: error: expected identifier
before string constant
 NDN_CXX_KEYCHAIN_REGISTER_TPM(DummyTpm, "tpm-dummy", "dummy");
                                         ^
../src/ndnSIM/utils/dummy-keychain.cpp:69:41: error: expected ‘,’ or
‘...’ before string constant
../src/ndnSIM/utils/dummy-keychain.cpp:69:62: error: expected
constructor, destructor, or type conversion before ‘;’ token
 NDN_CXX_KEYCHAIN_REGISTER_TPM(DummyTpm, "tpm-dummy", "dummy");
                                                              ^
Waf: Leaving directory `/media/crieger/disk1/git/ndnSIM/ns-3/build'
Build failed
 -> task in 'ns3-ndnSIM' failed (exit status 1):
        {task 139678969957520: cxx dummy-keychain.cpp ->
dummy-keychain.cpp.1.o}
['/usr/bin/g++', '-std=c++0x', '-std=c++11', '-O0', '-ggdb', '-g3',
'-Wall', '-Wno-error=deprecated-declarations', '-fstrict-aliasing',
'-Wstrict-aliasing', '-fPIC', '-fPIC', '-pthread',
'-fno-strict-aliasing', '-fwrapv', '-fstack-protector-strong',
'-fno-strict-aliasing', '-Isrc/ndnSIM', '-I../src/ndnSIM',
'-Isrc/ndnSIM/NFD', '-I../src/ndnSIM/NFD', '-Isrc/ndnSIM/NFD/daemon',
'-I../src/ndnSIM/NFD/daemon', '-Isrc/ndnSIM/NFD/core',
'-I../src/ndnSIM/NFD/core', '-I.', '-I..',
'-I/software/export/usr/include', '-I/usr/include',
'-I/usr/include/python2.7', '-I/usr/include/x86_64-linux-gnu/python2.7',
'-DNS3_ASSERT_ENABLE', '-DNS3_LOG_ENABLE', '-DHAVE_SYS_IOCTL_H=1',
'-DHAVE_IF_NETS_H=1', '-DHAVE_NET_ETHERNET_H=1', '-DHAVE_PACKET_H=1',
'-DHAVE_IS_DEFAULT_CONSTRUCTIBLE=1', '-DHAVE_IS_MOVE_CONSTRUCTIBLE=1',
'-DHAVE_CXX_OVERRIDE=1', '-DHAVE_NDN_CXX=1', '-DHAVE_SQLITE3=1',
'-DHAVE_IF_TUN_H=1', '-DHAVE_GSL=1', '-DNDEBUG', '-D_FORTIFY_SOURCE=2',
'../src/ndnSIM/utils/dummy-keychain.cpp', '-c', '-o',
'src/ndnSIM/utils/dummy-keychain.cpp.1.o']




More information about the ndnSIM mailing list