[Ndn-interest] Error compiling ndn-tools

Yudi Andrean yudiandreanp at live.com
Tue May 3 08:06:15 PDT 2016


Dear all,


I've got an error when compiling ndn-tools I cloned from the github repository, here are the stdout lines generated


[24/52] Compiling tools/chunks/catchunks/discover-version-iterative.cpp
In file included from ../tools/chunks/catchunks/discover-version-iterative.cpp:28:0:
../tools/chunks/catchunks/discover-version-iterative.hpp:88:7: error: expected ';' at end of member declaration
   run() NDN_CXX_DECL_FINAL;
       ^
../tools/chunks/catchunks/discover-version-iterative.hpp:88:9: error: 'NDN_CXX_DECL_FINAL' does not name a type
   run() NDN_CXX_DECL_FINAL;
         ^
../tools/chunks/catchunks/discover-version-iterative.hpp:92:56: error: expected ';' at end of member declaration
   handleData(const Interest& interest, const Data& data) NDN_CXX_DECL_FINAL;
                                                        ^
../tools/chunks/catchunks/discover-version-iterative.hpp:92:58: error: 'NDN_CXX_DECL_FINAL' does not name a type
   handleData(const Interest& interest, const Data& data) NDN_CXX_DECL_FINAL;
                                                          ^
../tools/chunks/catchunks/discover-version-iterative.hpp:95:68: error: expected ';' at end of member declaration
   handleTimeout(const Interest& interest, const std::string& reason) NDN_CXX_DECL_FINAL;
                                                                    ^
../tools/chunks/catchunks/discover-version-iterative.hpp:95:70: error: 'NDN_CXX_DECL_FINAL' does not name a type
   handleTimeout(const Interest& interest, const std::string& reason) NDN_CXX_DECL_FINAL;
                                                                      ^

In file included from ../tools/chunks/catchunks/discover-version-fixed.cpp:26:0:
../tools/chunks/catchunks/discover-version-fixed.hpp:60:7: error: expected ';' at end of member declaration
   run() NDN_CXX_DECL_FINAL;
       ^
../tools/chunks/catchunks/discover-version-fixed.hpp:60:9: error: 'NDN_CXX_DECL_FINAL' does not name a type
   run() NDN_CXX_DECL_FINAL;
         ^
../tools/chunks/catchunks/discover-version-fixed.hpp:64:56: error: expected ';' at end of member declaration
   handleData(const Interest& interest, const Data& data) NDN_CXX_DECL_FINAL;
                                                        ^
../tools/chunks/catchunks/discover-version-fixed.hpp:64:58: error: 'NDN_CXX_DECL_FINAL' does not name a type
   handleData(const Interest& interest, const Data& data) NDN_CXX_DECL_FINAL;
                                                          ^

Waf: Leaving directory `/home/ndnuser/NDN/ndn-tools/build'
Build failed
 -> task in 'ndncatchunks-objects' failed (exit status 1):
{task 140303682466320: cxx discover-version-iterative.cpp -> discover-version-iterative.cpp.1.o}
['/usr/bin/g++', '-O2', '-g', '-pedantic', '-Wall', '-Wextra', '-Wno-unused-parameter', '-fdiagnostics-color', '-std=c++11', '-I/home/ndnuser/NDN/ndn-tools/build', '-I/home/ndnuser/NDN/ndn-tools', '-I/usr/local/include', '-I/usr/include', '-DNDEBUG', '-DHAVE_INTTYPES_H=1', '-DHAVE_STDINT_H=1', '-DHAVE_SYS_BITYPES_H=1', '-DHAVE_SYS_TYPES_H=1', '-DHAVE_NDN_CXX=1', '../tools/chunks/catchunks/discover-version-iterative.cpp', '-c', '-o', '/home/ndnuser/NDN/ndn-tools/build/tools/chunks/catchunks/discover-version-iterative.cpp.1.o']
 -> task in 'ndncatchunks-objects' failed (exit status 1):
{task 140303682466192: cxx discover-version-fixed.cpp -> discover-version-fixed.cpp.1.o}
['/usr/bin/g++', '-O2', '-g', '-pedantic', '-Wall', '-Wextra', '-Wno-unused-parameter', '-fdiagnostics-color', '-std=c++11', '-I/home/ndnuser/NDN/ndn-tools/build', '-I/home/ndnuser/NDN/ndn-tools', '-I/usr/local/include', '-I/usr/include', '-DNDEBUG', '-DHAVE_INTTYPES_H=1', '-DHAVE_STDINT_H=1', '-DHAVE_SYS_BITYPES_H=1', '-DHAVE_SYS_TYPES_H=1', '-DHAVE_NDN_CXX=1', '../tools/chunks/catchunks/discover-version-fixed.cpp', '-c', '-o', '/home/ndnuser/NDN/ndn-tools/build/tools/chunks/catchunks/discover-version-fixed.cpp.1.o']

anyone ever encountered this or know how to deal with it?
Thanks!
---
Regards,
Yudi A. Phanama

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/ndn-interest/attachments/20160503/ba8dcb4e/attachment.html>


More information about the Ndn-interest mailing list