Project

General

Profile

Actions

Bug #2380

closed

Build error in model/ndn-ns3.cpp

Added by Junxiao Shi over 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Urgent
Category:
model
Target version:
Start date:
01/14/2015
Due date:
% Done:

100%

Estimated time:

Description

Platform: Ubuntu 12.04 64-bit with Boost 1.48

ndn-cxx version: a90ba482597d899fe638993f257ec83e4eca4524

ns-3 version: fc42a8acb9d3763dd89ea826dafdeaabb2f21963

ndnSIM version: ab933c620a929135eb261fd36201cb0f1dd7c401

configure command: ./waf configure --disable-python --enable-tests --enable-examples

[1224/2532] cxx: src/ndnSIM/model/ndn-ns3.cpp -> build/src/ndnSIM/model/ndn-ns3.
cpp.1.o
In file included from ../src/ndnSIM/model/ndn-ns3.cpp:20:0:
../src/ndnSIM/model/ndn-ns3.hpp:32:10: error: ‘shared_ptr’ in namespace ‘std’ do
es not name a type
../src/ndnSIM/model/ndn-ns3.cpp:34:39: error: no ‘std::shared_ptr<const _Tp> ns3::ndn::Convert::FromPacket(ns3::Ptr<ns3::Packet>)’ member function declared in class ‘ns3::ndn::Convert’
../src/ndnSIM/model/ndn-ns3.cpp:46:10: error: no matching template for ‘ns3::ndn::Convert::FromPacket’ found
../src/ndnSIM/model/ndn-ns3.cpp:46:20: error: expected ‘;’ before ‘<’ token
../src/ndnSIM/model/ndn-ns3.cpp:49:10: error: no matching template for ‘ns3::ndn::Convert::FromPacket’ found
../src/ndnSIM/model/ndn-ns3.cpp:49:20: error: expected ‘;’ before ‘<’ token
 -> task in 'ns3-ndnSIM' failed (exit status 1): 
        {task 49474576: cxx ndn-ns3.cpp -> ndn-ns3.cpp.1.o}
['/usr/bin/g++', '-std=c++0x', '-O0', '-ggdb', '-g3', '-Wall', '-Wno-error=deprecated-declarations', '-fstrict-aliasing', '-Wstrict-aliasing', '-fPIC', '-fPIC', '-pthread', '-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/usr/local/include', '-I/usr/include', '-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_NDN_CXX=1', '-DHAVE_SQLITE3=1', '-DHAVE_IF_TUN_H=1', '../src/ndnSIM/model/ndn-ns3.cpp', '-c', '-o', 'src/ndnSIM/model/ndn-ns3.cpp.1.o']

Related issues 1 (0 open1 closed)

Has duplicate ndnSIM - Bug #2383: Build error in ndn-ns3.cppClosed01/14/2015

Actions
Actions #1

Updated by Alex Afanasyev over 9 years ago

  • Has duplicate Bug #2383: Build error in ndn-ns3.cpp added
Actions #2

Updated by Alex Afanasyev over 9 years ago

  • Tracker changed from Task to Bug
  • Status changed from New to In Progress
  • Assignee set to Alex Afanasyev
  • % Done changed from 0 to 100
Actions #3

Updated by Spyros Mastorakis about 9 years ago

  • Status changed from In Progress to Closed
Actions

Also available in: Atom PDF