Project

General

Profile

Actions

Bug #1755

closed

NLSR code doesn't compile with latest ndn-cxx

Added by Syed Amin over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Category:
Security
Target version:
Start date:
07/13/2014
Due date:
% Done:

100%

Estimated time:

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'
[ 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
/usr/local/NLSR/build'
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']


Related issues 1 (0 open1 closed)

Related to ndn-cxx - Task #1750: Update Signature abstraction to match 0.1.1 specClosedYingdi Yu07/09/2014

Actions
Actions #1

Updated by Alex Afanasyev over 10 years ago

  • Related to Task #1750: Update Signature abstraction to match 0.1.1 spec added
Actions #2

Updated by Alex Afanasyev over 10 years ago

  • Status changed from New to Code review
  • Assignee set to Alex Afanasyev
  • % Done changed from 0 to 100
Actions #3

Updated by Alex Afanasyev over 10 years ago

  • Project changed from NLSR to ndn-cxx
  • Category set to Security
  • Target version set to v0.2
Actions #4

Updated by Alex Afanasyev over 10 years ago

  • Subject changed from The code doesn't compile with latest ndn-cxx to NLSR code doesn't compile with latest ndn-cxx
Actions #5

Updated by Junxiao Shi over 10 years ago

  • Status changed from Code review to Resolved

Library issue is resolved.

@Obaid, please verify.

Actions #6

Updated by Alex Afanasyev over 10 years ago

  • Status changed from Resolved to Closed

Verified on Jenkins

Actions #7

Updated by Syed Amin over 10 years ago

Sorry Junxiao, I didn't get your message. I tried the new code and it seems to be working fine. Thanks!

Actions

Also available in: Atom PDF