[Nfd-dev] Error compiling ndn-tools
Alex Afanasyev
aa at CS.UCLA.EDU
Tue May 3 08:59:25 PDT 2016
(moved to nfd-dev@)
As a quick temporary fix, you can use an older version of ndn-cxx (2-4 commits back).
---
Alex
> On May 3, 2016, at 8:06 AM, Yudi Andrean <yudiandreanp at live.com> wrote:
>
> 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
>
> _______________________________________________
> Ndn-interest mailing list
> Ndn-interest at lists.cs.ucla.edu
> http://www.lists.cs.ucla.edu/mailman/listinfo/ndn-interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.lists.cs.ucla.edu/pipermail/nfd-dev/attachments/20160503/06d7e898/attachment.html>
More information about the Nfd-dev
mailing list