[ndnSIM] ndnSIM 2.0 update.

Chaim Rieger chaim.rieger at gmail.com
Mon Jan 19 14:50:23 PST 2015


On 1/19/2015 12:08 PM, Spyridon (Spyros) Mastorakis wrote:
> Dear all,
>
> We would like to thank you all for submitting reports about some compilation
> problems of ndnSIM 2.0 in Linux. The issues have been resolved and you
> can re-download the code using the instructions on http://ndnsim.net/2.0/ <http://www.google.com/url?q=http%3A%2F%2Fndnsim.net%2F2.0%2F&sa=D&sntz=1&usg=AFQjCNEjQhgvbkdV3NA3jJUQTNIh4fGtfw>.
>
> --
> ndnSIM Team

did the following steps
[ndn-cxx and ndf are installed via ubuntu packages]


mkdir ndnSIM
cd ndnSIM
git clone ns-3-dev, pygbingen, ndnSIM
cd ndnSIM/ns-3
./wag configure --enable-examples
[ran successfully]
./waf
[1725/2454] cxx: src/ndnSIM/examples/ndn-custom-apps/custom-app.cpp ->
build/src/ndnSIM/examples/ndn-custom-apps/custom-app.cpp.4.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 140634857585680: 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', '-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/gtk-2.0', '-I/usr/lib/x86_64-linux-gnu/gtk-2.0/include',
'-I/usr/include/gio-unix-2.0', '-I/usr/include/cairo',
'-I/usr/include/pango-1.0', '-I/usr/include/atk-1.0',
'-I/usr/include/pixman-1', '-I/usr/include/libpng12',
'-I/usr/include/gdk-pixbuf-2.0', '-I/usr/include/harfbuzz',
'-I/usr/include/glib-2.0',
'-I/usr/lib/x86_64-linux-gnu/glib-2.0/include',
'-I/usr/include/freetype2', '-I/usr/include/libxml2',
'-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