Bug #1755
closedNLSR code doesn't compile with latest ndn-cxx
100%
Description
With latest updates in ndn-cxx the nlsr code doesn't compile.
Commit IDs:
ndn-cxx: 4a557053a23ecb85efca35f63dced0fa2599cab4
nlsr: cc82753e8d589261a277589dcb849cd33afbfb84
Error:
./waf
Waf: Entering directory /usr/local/NLSR/build'
/usr/local/NLSR/build'
[ 2/40] cxx: nsync/sync-std-name-info.cc -> build/nsync/sync-std-name-info.cc.1.o
[ 3/40] cxx: build/nsync/sync-state.pb.cc -> build/nsync/sync-state.pb.cc.1.o
[ 4/40] cxx: src/adjacency-list.cpp -> build/src/adjacency-list.cpp.2.o
[ 5/40] cxx: src/adjacent.cpp -> build/src/adjacent.cpp.2.o
[ 6/40] cxx: src/communication/sync-logic-handler.cpp -> build/src/communication/sync-logic-handler.cpp.2.o
[ 7/40] cxx: src/conf-file-processor.cpp -> build/src/conf-file-processor.cpp.2.o
[ 8/40] cxx: src/conf-parameter.cpp -> build/src/conf-parameter.cpp.2.o
[ 9/40] cxx: src/face-monitor.cpp -> build/src/face-monitor.cpp.2.o
[15/40] cxx: src/hello-protocol.cpp -> build/src/hello-protocol.cpp.2.o
[16/40] cxx: src/lsdb.cpp -> build/src/lsdb.cpp.2.o
In file included from /usr/local/include/ndn-cxx/signature.hpp:25:0,
from /usr/local/include/ndn-cxx/data.hpp:29,
from /usr/local/include/ndn-cxx/face.hpp:32,
from ../src/conf-parameter.hpp:29,
from ../src/conf-parameter.cpp:23:
/usr/local/include/ndn-cxx/signature-info.hpp:127:3: error: ‘list’ in namespace ‘std’ does not name a type
In file included from /usr/local/include/ndn-cxx/signature.hpp:25:0,
from /usr/local/include/ndn-cxx/data.hpp:29,
from /usr/local/include/ndn-cxx/face.hpp:32,
from ../src/face-monitor.hpp:26,
from ../src/face-monitor.cpp:23:
/usr/local/include/ndn-cxx/signature-info.hpp:127:3: error: ‘list’ in namespace ‘std’ does not name a type
In file included from /usr/local/include/ndn-cxx/signature.hpp:25:0,
from /usr/local/include/ndn-cxx/data.hpp:29,
from /usr/local/include/ndn-cxx/face.hpp:32,
from /usr/local/NLSR/src/nlsr.hpp:29,
from ../src/communication/sync-logic-handler.cpp:23:
/usr/local/include/ndn-cxx/signature-info.hpp:127:3: error: ‘list’ in namespace ‘std’ does not name a type
In file included from /usr/local/include/ndn-cxx/signature.hpp:25:0,
from /usr/local/include/ndn-cxx/data.hpp:29,
from /usr/local/include/ndn-cxx/face.hpp:32,
from ../src/nlsr.hpp:29,
from ../src/hello-protocol.cpp:23:
/usr/local/include/ndn-cxx/signature-info.hpp:127:3: error: ‘list’ in namespace ‘std’ does not name a type
In file included from /usr/local/include/ndn-cxx/security/../signature.hpp:25:0,
from /usr/local/include/ndn-cxx/security/../data.hpp:29,
from /usr/local/include/ndn-cxx/security/certificate.hpp:30,
from /usr/local/include/ndn-cxx/security/identity-certificate.hpp:28,
from /usr/local/include/ndn-cxx/security/sec-public-info.hpp:31,
from /usr/local/include/ndn-cxx/security/key-chain.hpp:27,
from ../src/lsdb.hpp:28,
from ../src/lsdb.cpp:26:
/usr/local/include/ndn-cxx/security/../signature-info.hpp:127:3: error: ‘list’ in namespace ‘std’ does not name a type
In file included from /usr/local/include/ndn-cxx/signature.hpp:25:0,
from /usr/local/include/ndn-cxx/data.hpp:29,
from /usr/local/include/ndn-cxx/face.hpp:32,
from ../src/adjacent.hpp:25,
from ../src/adjacent.cpp:29:
/usr/local/include/ndn-cxx/signature-info.hpp:127:3: error: ‘list’ in namespace ‘std’ does not name a type
Waf: Leaving directory
Build failed
-> task in 'nlsr-objects' failed (exit status 1):
{task 146528172: cxx conf-parameter.cpp -> conf-parameter.cpp.2.o}
['/usr/bin/g++', '-std=c++03', '-Wall', '-Wno-long-long', '-O2', '-g', '-fPIC', '-pthread', '-pthread', '-I/usr/local/NLSR/build', '-I/usr/local/NLSR', '-I/usr/local/NLSR/build/src', '-I/usr/local/NLSR/src', '-I/usr/local/NLSR/build/nsync', '-I/usr/local/NLSR/nsync', '-I/usr/local/include', '../src/conf-parameter.cpp', '-c', '-o', 'src/conf-parameter.cpp.2.o']
-> task in 'nlsr-objects' failed (exit status 1):
{task 146528332: cxx face-monitor.cpp -> face-monitor.cpp.2.o}
['/usr/bin/g++', '-std=c++03', '-Wall', '-Wno-long-long', '-O2', '-g', '-fPIC', '-pthread', '-pthread', '-I/usr/local/NLSR/build', '-I/usr/local/NLSR', '-I/usr/local/NLSR/build/src', '-I/usr/local/NLSR/src', '-I/usr/local/NLSR/build/nsync', '-I/usr/local/NLSR/nsync', '-I/usr/local/include', '../src/face-monitor.cpp', '-c', '-o', 'src/face-monitor.cpp.2.o']
-> task in 'nlsr-objects' failed (exit status 1):
{task 146527852: cxx sync-logic-handler.cpp -> sync-logic-handler.cpp.2.o}
['/usr/bin/g++', '-std=c++03', '-Wall', '-Wno-long-long', '-O2', '-g', '-fPIC', '-pthread', '-pthread', '-I/usr/local/NLSR/build', '-I/usr/local/NLSR', '-I/usr/local/NLSR/build/src', '-I/usr/local/NLSR/src', '-I/usr/local/NLSR/build/nsync', '-I/usr/local/NLSR/nsync', '-I/usr/local/include', '../src/communication/sync-logic-handler.cpp', '-c', '-o', 'src/communication/sync-logic-handler.cpp.2.o']
-> task in 'nlsr-objects' failed (exit status 1):
{task 146528492: cxx hello-protocol.cpp -> hello-protocol.cpp.2.o}
['/usr/bin/g++', '-std=c++03', '-Wall', '-Wno-long-long', '-O2', '-g', '-fPIC', '-pthread', '-pthread', '-I/usr/local/NLSR/build', '-I/usr/local/NLSR', '-I/usr/local/NLSR/build/src', '-I/usr/local/NLSR/src', '-I/usr/local/NLSR/build/nsync', '-I/usr/local/NLSR/nsync', '-I/usr/local/include', '../src/hello-protocol.cpp', '-c', '-o', 'src/hello-protocol.cpp.2.o']
-> task in 'nlsr-objects' failed (exit status 1):
{task 146528972: cxx lsdb.cpp -> lsdb.cpp.2.o}
['/usr/bin/g++', '-std=c++03', '-Wall', '-Wno-long-long', '-O2', '-g', '-fPIC', '-pthread', '-pthread', '-I/usr/local/NLSR/build', '-I/usr/local/NLSR', '-I/usr/local/NLSR/build/src', '-I/usr/local/NLSR/src', '-I/usr/local/NLSR/build/nsync', '-I/usr/local/NLSR/nsync', '-I/usr/local/include', '../src/lsdb.cpp', '-c', '-o', 'src/lsdb.cpp.2.o']
-> task in 'nlsr-objects' failed (exit status 1):
{task 146527692: cxx adjacent.cpp -> adjacent.cpp.2.o}
['/usr/bin/g++', '-std=c++03', '-Wall', '-Wno-long-long', '-O2', '-g', '-fPIC', '-pthread', '-pthread', '-I/usr/local/NLSR/build', '-I/usr/local/NLSR', '-I/usr/local/NLSR/build/src', '-I/usr/local/NLSR/src', '-I/usr/local/NLSR/build/nsync', '-I/usr/local/NLSR/nsync', '-I/usr/local/include', '../src/adjacent.cpp', '-c', '-o', 'src/adjacent.cpp.2.o']