Project

General

Profile

Actions

Bug #1700

closed

Compilation failure on 32-bit Ubuntu 10.04/12.04

Added by Alex Afanasyev almost 10 years ago. Updated almost 7 years ago.

Status:
Abandoned
Priority:
Normal
Assignee:
-
Category:
Base
Target version:
Start date:
06/26/2014
Due date:
% Done:

0%

Estimated time:

Description

Updated libraries:

  • gcc (Ubuntu 4.8.1-2ubuntu1~10.04.1) 4.8.1
  • boost 1.55
  • libsqlite3-dev/lucid 3.6.22-1
  • libcrypto++-dev/lucid 5.6.0-5

Run:

./waf configure && ./waf build

Expectation: succeeds

Actual:

named-data/ndn-cxx$ ./waf
Waf: Entering directory `/groups/Hercules/NDN/named-data/ndn-cxx/build'
[ 1/68] subst: src/version.hpp.in -> build/src/version.hpp
[ 2/68] gchx: src/common-pch.hpp -> build/ndn-cxx.2.gch
[ 3/68] cxx: src/data.cpp -> build/src/data.cpp.2.o
In file included from /usr/include/cryptopp/filters.h:5:0,
                 from /usr/include/cryptopp/asn.h:4,
                 from ./../src/security/cryptopp.hpp:29,
                 from ./../src/common-pch.hpp:56,
                 from <command-line>:0:
/usr/include/cryptopp/secblock.h: In instantiation of ‘CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer CryptoPP::AllocatorWithCleanup<T, T_Align16>::allocate(CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type, const void*) [with T = unsigned char; bool T_Align16 = false; CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer = unsigned char*; CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type = unsigned int]’:
/usr/include/cryptopp/secblock.h:283:25:   required from ‘CryptoPP::SecBlock<T, A>::SecBlock(CryptoPP::SecBlock<T, A>::size_type) [with T = unsigned char; A = CryptoPP::AllocatorWithCleanup<unsigned char>; CryptoPP::SecBlock<T, A>::size_type = unsigned int]’
/usr/include/cryptopp/algparam.h:17:2:   required from here
/usr/include/cryptopp/secblock.h:97:14: error: ‘CheckSize’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
   CheckSize(n);
              ^
/usr/include/cryptopp/secblock.h:97:14: note: declarations in dependent base ‘CryptoPP::AllocatorBase<unsigned char>’ are not found by unqualified lookup
/usr/include/cryptopp/secblock.h:97:14: note: use ‘this->CheckSize’ instead
/usr/include/cryptopp/secblock.h: In instantiation of ‘CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer CryptoPP::AllocatorWithCleanup<T, T_Align16>::allocate(CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type, const void*) [with T = unsigned char; bool T_Align16 = true; CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer = unsigned char*; CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type = unsigned int]’:
/usr/include/cryptopp/secblock.h:283:25:   required from ‘CryptoPP::SecBlock<T, A>::SecBlock(CryptoPP::SecBlock<T, A>::size_type) [with T = unsigned char; A = CryptoPP::AllocatorWithCleanup<unsigned char, true>; CryptoPP::SecBlock<T, A>::size_type = unsigned int]’
/usr/include/cryptopp/modes.h:63:34:   required from here
/usr/include/cryptopp/secblock.h:97:14: error: ‘CheckSize’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
/usr/include/cryptopp/secblock.h:97:14: note: declarations in dependent base ‘CryptoPP::AllocatorBase<unsigned char>’ are not found by unqualified lookup
/usr/include/cryptopp/secblock.h:97:14: note: use ‘this->CheckSize’ instead
/usr/include/cryptopp/secblock.h: In instantiation of ‘CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer CryptoPP::AllocatorWithCleanup<T, T_Align16>::allocate(CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type, const void*) [with T = unsigned int; bool T_Align16 = true; CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer = unsigned int*; CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type = unsigned int]’:
/usr/include/cryptopp/secblock.h:285:29:   required from ‘CryptoPP::SecBlock<T, A>::SecBlock(const CryptoPP::SecBlock<T, A>&) [with T = unsigned int; A = CryptoPP::AllocatorWithCleanup<unsigned int, true>]’
/usr/include/cryptopp/modarith.h:122:20:   required from here
/usr/include/cryptopp/secblock.h:97:14: error: ‘CheckSize’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
/usr/include/cryptopp/secblock.h:97:14: note: declarations in dependent base ‘CryptoPP::AllocatorBase<unsigned int>’ are not found by unqualified lookup
/usr/include/cryptopp/secblock.h:97:14: note: use ‘this->CheckSize’ instead
/usr/include/cryptopp/secblock.h: In instantiation of ‘CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer CryptoPP::AllocatorWithCleanup<T, T_Align16>::allocate(CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type, const void*) [with T = unsigned int; bool T_Align16 = false; CryptoPP::AllocatorWithCleanup<T, T_Align16>::pointer = unsigned int*; CryptoPP::AllocatorWithCleanup<T, T_Align16>::size_type = unsigned int]’:
/usr/include/cryptopp/secblock.h:283:25:   required from ‘CryptoPP::SecBlock<T, A>::SecBlock(CryptoPP::SecBlock<T, A>::size_type) [with T = unsigned int; A = CryptoPP::AllocatorWithCleanup<unsigned int>; CryptoPP::SecBlock<T, A>::size_type = unsigned int]’
/usr/include/cryptopp/gf2n.h:48:4:   required from here
/usr/include/cryptopp/secblock.h:97:14: error: ‘CheckSize’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
/usr/include/cryptopp/secblock.h:97:14: note: declarations in dependent base ‘CryptoPP::AllocatorBase<unsigned int>’ are not found by unqualified lookup
/usr/include/cryptopp/secblock.h:97:14: note: use ‘this->CheckSize’ instead
cc1plus: warning: unrecognized command line option "-Wno-unneeded-internal-declaration" [enabled by default]

Waf: Leaving directory `/groups/Hercules/NDN/named-data/ndn-cxx/build'
Build failed
 -> task in 'ndn-cxx' failed (exit status 1):
    {task 166418444: cxx data.cpp -> data.cpp.2.o}
['/usr/bin/g++', '-std=c++03', '-pedantic', '-Wall', '-Wno-long-long', '-Wno-unneeded-internal-declaration', '-O2', '-g', '-fPIC', '-include', '/groups/Hercules/NDN/named-data/ndn-cxx/build/ndn-cxx.2', '-I/groups/Hercules/NDN/named-data/ndn-cxx/build', '-I/groups/Hercules/NDN/named-data/ndn-cxx', '-I/groups/Hercules/NDN/named-data/ndn-cxx/build/src', '-I/groups/Hercules/NDN/named-data/ndn-cxx/src', '-I/usr/include', '../src/data.cpp', '-c', '-o', '/groups/Hercules/NDN/named-data/ndn-cxx/build/src/data.cpp.2.o']
Actions

Also available in: Atom PDF