orc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ray Doetjes (Jira)" <j...@apache.org>
Subject [jira] [Created] (ORC-543) libprotobuf-lite compile fails on Ubuntu 16/Mint
Date Wed, 21 Aug 2019 14:58:00 GMT
Ray Doetjes created ORC-543:
-------------------------------

             Summary: libprotobuf-lite compile fails on Ubuntu 16/Mint
                 Key: ORC-543
                 URL: https://issues.apache.org/jira/browse/ORC-543
             Project: ORC
          Issue Type: Bug
          Components: C++
    Affects Versions: 1.5.6
            Reporter: Ray Doetjes


When running make I run into a compile error of libprotobuf-lite


[ 87%] Building CXX object CMakeFiles/libprotobuf-lite.dir/home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc.o
/home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:
In member function ‘void google::protobuf::internal::ArenaImpl::Init()’:
/home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:70:48:
error: ‘threads_’ was not declared in this scope
 google::protobuf::internal::NoBarrier_Store(&threads_, 0);
 ^
/home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:72:7:
error: ‘initial_block_’ was not declared in this scope
 if (initial_block_) {
 ^
/home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:76:75:
error: ‘InitBlock’ was not declared in this scope
 InitBlock(initial_block_, &thread_cache(), options_.initial_block_size);
 ^
/home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:77:5:
error: ‘ThreadInfo’ was not declared in this scope
 ThreadInfo* info = NewThreadInfo(initial_block_);
 ^
/home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:77:17:
error: ‘info’ was not declared in this scope
 ThreadInfo* info = NewThreadInfo(initial_block_);
 ^
/home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:77:52:
error: ‘NewThreadInfo’ was not declared in this scope
 ThreadInfo* info = NewThreadInfo(initial_block_);
 ^
/home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:82:62:
error: invalid conversion from ‘google::protobuf::uint64* \{aka long unsigned int*}’ to
‘volatile Atomic64* \{aka volatile long int*}’ [-fpermissive]
 options_.initial_block_size);
 ^
In file included from /home/rdoetjes/anaconda3/include/google/protobuf/stubs/atomicops.h:200:0,
 from /home/rdoetjes/anaconda3/include/google/protobuf/stubs/atomic_sequence_num.h:33,
 from /home/rdoetjes/anaconda3/include/google/protobuf/arena_impl.h:38,
 from /home/rdoetjes/anaconda3/include/google/protobuf/arena.h:54,
 from /home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:31:
/home/rdoetjes/anaconda3/include/google/protobuf/stubs/atomicops_internals_x86_gcc.h:222:13:
note: initializing argument 1 of ‘void google::protobuf::internal::NoBarrier_Store(volatile
Atomic64*, google::protobuf::internal::Atomic64)’
 inline void NoBarrier_Store(volatile Atomic64* ptr, Atomic64 value) {
 ^
/home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:85:69:
error: invalid conversion from ‘google::protobuf::uint64* \{aka long unsigned int*}’ to
‘volatile Atomic64* \{aka volatile long int*}’ [-fpermissive]
 google::protobuf::internal::NoBarrier_Store(&space_allocated_, 0);
 ^
In file included from /home/rdoetjes/anaconda3/include/google/protobuf/stubs/atomicops.h:200:0,
 from /home/rdoetjes/anaconda3/include/google/protobuf/stubs/atomic_sequence_num.h:33,
 from /home/rdoetjes/anaconda3/include/google/protobuf/arena_impl.h:38,
 from /home/rdoetjes/anaconda3/include/google/protobuf/arena.h:54,
 from /home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:31:
/home/rdoetjes/anaconda3/include/google/protobuf/stubs/atomicops_internals_x86_gcc.h:222:13:
note: initializing argument 1 of ‘void google::protobuf::internal::NoBarrier_Store(volatile
Atomic64*, google::protobuf::internal::Atomic64)’
 inline void NoBarrier_Store(volatile Atomic64* ptr, Atomic64 value) {
 ^
/home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:
In destructor ‘google::protobuf::internal::ArenaImpl::~ArenaImpl()’:
/home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:92:15:
error: no matching function for call to ‘google::protobuf::internal::ArenaImpl::CleanupList()’
 CleanupList();
 ^
In file included from /home/rdoetjes/anaconda3/include/google/protobuf/arena.h:54:0,
 from /home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:31:
/home/rdoetjes/anaconda3/include/google/protobuf/arena_impl.h:175:8: note: candidate: void
google::protobuf::internal::ArenaImpl::CleanupList(google::protobuf::internal::ArenaImpl::Block*)
 void CleanupList(Block* head);
 ^
/home/rdoetjes/anaconda3/include/google/protobuf/arena_impl.h:175:8: note: candidate expects
1 argument, 0 provided
/home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:93:14:
error: no matching function for call to ‘google::protobuf::internal::ArenaImpl::FreeBlocks()’
 FreeBlocks();
 ^
In file included from /home/rdoetjes/anaconda3/include/google/protobuf/arena.h:54:0,
 from /home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:31:
/home/rdoetjes/anaconda3/include/google/protobuf/arena_impl.h:170:10: note: candidate: google::protobuf::uint64
google::protobuf::internal::ArenaImpl::FreeBlocks(google::protobuf::internal::ArenaImpl::Block*)
 uint64 FreeBlocks(Block* head);
 ^
/home/rdoetjes/anaconda3/include/google/protobuf/arena_impl.h:170:10: note: candidate expects
1 argument, 0 provided
/home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:
In member function ‘google::protobuf::uint64 google::protobuf::internal::ArenaImpl::Reset()’:
/home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:99:15:
error: no matching function for call to ‘google::protobuf::internal::ArenaImpl::CleanupList()’
 CleanupList();
 ^
In file included from /home/rdoetjes/anaconda3/include/google/protobuf/arena.h:54:0,
 from /home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:31:
/home/rdoetjes/anaconda3/include/google/protobuf/arena_impl.h:175:8: note: candidate: void
google::protobuf::internal::ArenaImpl::CleanupList(google::protobuf::internal::ArenaImpl::Block*)
 void CleanupList(Block* head);
 ^
/home/rdoetjes/anaconda3/include/google/protobuf/arena_impl.h:175:8: note: candidate expects
1 argument, 0 provided
/home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:100:39:
error: no matching function for call to ‘google::protobuf::internal::ArenaImpl::FreeBlocks()’
 uint64 space_allocated = FreeBlocks();
 ^
In file included from /home/rdoetjes/anaconda3/include/google/protobuf/arena.h:54:0,
 from /home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:31:
/home/rdoetjes/anaconda3/include/google/protobuf/arena_impl.h:170:10: note: candidate: google::protobuf::uint64
google::protobuf::internal::ArenaImpl::FreeBlocks(google::protobuf::internal::ArenaImpl::Block*)
 uint64 FreeBlocks(Block* head);
 ^
/home/rdoetjes/anaconda3/include/google/protobuf/arena_impl.h:170:10: note: candidate expects
1 argument, 0 provided
/home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:
At global scope:
/home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:106:19:
error: prototype for ‘google::protobuf::internal::ArenaImpl::Block* google::protobuf::internal::ArenaImpl::NewBlock(void*,
google::protobuf::internal::ArenaImpl::Block*, size_t)’ does not match any in class ‘google::protobuf::internal::ArenaImpl’
 ArenaImpl::Block* ArenaImpl::NewBlock(void* me, Block* my_last_block,
 ^
In file included from /home/rdoetjes/anaconda3/include/google/protobuf/arena.h:54:0,
 from /home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:31:
/home/rdoetjes/anaconda3/include/google/protobuf/arena_impl.h:199:10: error: candidate is:
google::protobuf::internal::ArenaImpl::Block* google::protobuf::internal::ArenaImpl::NewBlock(void*,
google::protobuf::internal::ArenaImpl::Block*, size_t, size_t, size_t)
 Block* NewBlock(void* me, Block* my_last_block, size_t min_bytes,
 ^
/home/rdoetjes/anaconda3/include/google/protobuf/arena_impl.h:125:10: error: ‘struct google::protobuf::internal::ArenaImpl::Block’
is private
 struct Block {
 ^
/home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:106:12:
error: within this context
 ArenaImpl::Block* ArenaImpl::NewBlock(void* me, Block* my_last_block,
 ^
/home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:125:58:
error: no ‘void google::protobuf::internal::ArenaImpl::InitBlock(google::protobuf::internal::ArenaImpl::Block*,
void*, size_t)’ member function declared in class ‘google::protobuf::internal::ArenaImpl’
 void ArenaImpl::InitBlock(Block* b, void *me, size_t size) {
 ^
In file included from /home/rdoetjes/anaconda3/include/google/protobuf/arena.h:54:0,
 from /home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:31:
/home/rdoetjes/anaconda3/include/google/protobuf/arena_impl.h:125:10: error: ‘struct google::protobuf::internal::ArenaImpl::Block’
is private
 struct Block {
 ^
/home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:125:27:
error: within this context
 void ArenaImpl::InitBlock(Block* b, void *me, size_t size) {
 ^
/home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:138:26:
error: prototype for ‘google::protobuf::internal::ArenaImpl::CleanupChunk* google::protobuf::internal::ArenaImpl::ExpandCleanupList(google::protobuf::internal::ArenaImpl::CleanupChunk*,
google::protobuf::internal::ArenaImpl::Block*)’ does not match any in class ‘google::protobuf::internal::ArenaImpl’
 ArenaImpl::CleanupChunk* ArenaImpl::ExpandCleanupList(CleanupChunk* cleanup,
 ^
In file included from /home/rdoetjes/anaconda3/include/google/protobuf/arena.h:54:0,
 from /home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:31:
/home/rdoetjes/anaconda3/include/google/protobuf/arena_impl.h:173:10: error: candidate is:
google::protobuf::internal::ArenaImpl::Block* google::protobuf::internal::ArenaImpl::ExpandCleanupList(google::protobuf::internal::ArenaImpl::Block*)
 Block* ExpandCleanupList(Block* b);
 ^
/home/rdoetjes/anaconda3/include/google/protobuf/arena_impl.h:113:10: error: ‘struct google::protobuf::internal::ArenaImpl::CleanupChunk’
is private
 struct CleanupChunk {
 ^
/home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:138:12:
error: within this context
 ArenaImpl::CleanupChunk* ArenaImpl::ExpandCleanupList(CleanupChunk* cleanup,
 ^
In file included from /home/rdoetjes/anaconda3/include/google/protobuf/arena.h:54:0,
 from /home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:31:
/home/rdoetjes/anaconda3/include/google/protobuf/arena_impl.h:125:10: error: ‘struct google::protobuf::internal::ArenaImpl::Block’
is private
 struct Block {
 ^
/home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:139:55:
error: within this context
 Block* b) {
 ^
/home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:155:8:
error: ‘GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE’ does not name a type
 inline GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE
 ^
/home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:189:8:
error: ‘GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE’ does not name a type
 inline GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE
 ^
/home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:217:8:
error: ‘GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE’ does not name a type
 inline GOOGLE_PROTOBUF_ATTRIBUTE_ALWAYS_INLINE
 ^
/home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:
In member function ‘google::protobuf::internal::ArenaImpl::Block* google::protobuf::internal::ArenaImpl::GetBlockSlow(void*,
google::protobuf::internal::ArenaImpl::Block*, size_t)’:
/home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:232:3:
error: ‘ThreadInfo’ was not declared in this scope
 ThreadInfo* info =
 ^
/home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:232:15:
error: ‘info’ was not declared in this scope
 ThreadInfo* info =
 ^
/home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:233:38:
error: ‘struct google::protobuf::internal::ArenaImpl::Block’ has no member named ‘thread_info’
 my_full_block ? my_full_block->thread_info : GetThreadInfo(me, n);
 ^
/home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:233:71:
error: ‘GetThreadInfo’ was not declared in this scope
 my_full_block ? my_full_block->thread_info : GetThreadInfo(me, n);
 ^
/home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:237:37:
error: no matching function for call to ‘google::protobuf::internal::ArenaImpl::NewBlock(void*&,
google::protobuf::internal::ArenaImpl::Block*&, size_t&)’
 Block* new_b = NewBlock(me, b, n);
 ^
In file included from /home/rdoetjes/anaconda3/include/google/protobuf/arena.h:54:0,
 from /home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:31:
/home/rdoetjes/anaconda3/include/google/protobuf/arena_impl.h:199:10: note: candidate: google::protobuf::internal::ArenaImpl::Block*
google::protobuf::internal::ArenaImpl::NewBlock(void*, google::protobuf::internal::ArenaImpl::Block*,
size_t, size_t, size_t)
 Block* NewBlock(void* me, Block* my_last_block, size_t min_bytes,
 ^
/home/rdoetjes/anaconda3/include/google/protobuf/arena_impl.h:199:10: note: candidate expects
5 arguments, 3 provided
/home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:238:12:
error: ‘struct google::protobuf::internal::ArenaImpl::Block’ has no member named ‘thread_info’
 new_b->thread_info = info;
 ^
/home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:
In member function ‘google::protobuf::uint64 google::protobuf::internal::ArenaImpl::SpaceAllocated()
const’:
/home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:248:70:
error: invalid conversion from ‘const uint64* \{aka const long unsigned int*}’ to ‘const
volatile Atomic64* \{aka const volatile long int*}’ [-fpermissive]
 return google::protobuf::internal::NoBarrier_Load(&space_allocated_);
 ^
In file included from /home/rdoetjes/anaconda3/include/google/protobuf/stubs/atomicops.h:200:0,
 from /home/rdoetjes/anaconda3/include/google/protobuf/stubs/atomic_sequence_num.h:33,
 from /home/rdoetjes/anaconda3/include/google/protobuf/arena_impl.h:38,
 from /home/rdoetjes/anaconda3/include/google/protobuf/arena.h:54,
 from /home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:31:
/home/rdoetjes/anaconda3/include/google/protobuf/stubs/atomicops_internals_x86_gcc.h:252:17:
note: initializing argument 1 of ‘google::protobuf::internal::Atomic64 google::protobuf::internal::NoBarrier_Load(const
volatile Atomic64*)’
 inline Atomic64 NoBarrier_Load(volatile const Atomic64* ptr) {
 ^
/home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:
In member function ‘google::protobuf::uint64 google::protobuf::internal::ArenaImpl::SpaceUsed()
const’:
/home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:252:3:
error: ‘ThreadInfo’ was not declared in this scope
 ThreadInfo* info =
 ^
/home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:252:15:
error: ‘info’ was not declared in this scope
 ThreadInfo* info =
 ^
/home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:253:24:
error: ‘ThreadInfo’ does not name a type
 reinterpret_cast<ThreadInfo*>(google::protobuf::internal::Acquire_Load(&threads_));
 ^
/home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:253:34:
error: expected ‘>’ before ‘*’ token
 reinterpret_cast<ThreadInfo*>(google::protobuf::internal::Acquire_Load(&threads_));
 ^
/home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:253:34:
error: expected ‘(’ before ‘*’ token
/home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:253:35:
error: expected primary-expression before ‘>’ token
 reinterpret_cast<ThreadInfo*>(google::protobuf::internal::Acquire_Load(&threads_));
 ^
/home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:253:79:
error: ‘threads_’ was not declared in this scope
 reinterpret_cast<ThreadInfo*>(google::protobuf::internal::Acquire_Load(&threads_));
 ^
/home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:253:89:
error: expected ‘)’ before ‘;’ token
 reinterpret_cast<ThreadInfo*>(google::protobuf::internal::Acquire_Load(&threads_));
 ^
/home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:
At global scope:
/home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:267:8:
error: prototype for ‘google::protobuf::uint64 google::protobuf::internal::ArenaImpl::FreeBlocks()’
does not match any in class ‘google::protobuf::internal::ArenaImpl’
 uint64 ArenaImpl::FreeBlocks() {
 ^
In file included from /home/rdoetjes/anaconda3/include/google/protobuf/arena.h:54:0,
 from /home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:31:
/home/rdoetjes/anaconda3/include/google/protobuf/arena_impl.h:170:10: error: candidate is:
google::protobuf::uint64 google::protobuf::internal::ArenaImpl::FreeBlocks(google::protobuf::internal::ArenaImpl::Block*)
 uint64 FreeBlocks(Block* head);
 ^
/home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:300:6:
error: prototype for ‘void google::protobuf::internal::ArenaImpl::CleanupList()’ does
not match any in class ‘google::protobuf::internal::ArenaImpl’
 void ArenaImpl::CleanupList() {
 ^
In file included from /home/rdoetjes/anaconda3/include/google/protobuf/arena.h:54:0,
 from /home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:31:
/home/rdoetjes/anaconda3/include/google/protobuf/arena_impl.h:175:8: error: candidate is:
void google::protobuf::internal::ArenaImpl::CleanupList(google::protobuf::internal::ArenaImpl::Block*)
 void CleanupList(Block* head);
 ^
/home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:319:12:
error: ‘ThreadInfo’ in ‘class google::protobuf::internal::ArenaImpl’ does not name
a type
 ArenaImpl::ThreadInfo* ArenaImpl::NewThreadInfo(Block* b) {
 ^
/home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:330:12:
error: ‘ThreadInfo’ in ‘class google::protobuf::internal::ArenaImpl’ does not name
a type
 ArenaImpl::ThreadInfo* ArenaImpl::FindThreadInfo(void* me) {
 ^
/home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:342:12:
error: ‘ThreadInfo’ in ‘class google::protobuf::internal::ArenaImpl’ does not name
a type
 ArenaImpl::ThreadInfo* ArenaImpl::GetThreadInfo(void* me, size_t n) {
 ^
/home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc:364:33:
error: no ‘void google::protobuf::Arena::CallDestructorHooks()’ member function declared
in class ‘google::protobuf::Arena’
 void Arena::CallDestructorHooks() {
 ^
CMakeFiles/libprotobuf-lite.dir/build.make:62: recipe for target 'CMakeFiles/libprotobuf-lite.dir/home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc.o'
failed
make[2]: *** [CMakeFiles/libprotobuf-lite.dir/home/rdoetjes/source/orc-1.5.6/build/protobuf_ep-prefix/src/protobuf_ep/src/google/protobuf/arena.cc.o]
Error 1
CMakeFiles/Makefile2:179: recipe for target 'CMakeFiles/libprotobuf-lite.dir/all' failed
make[1]: *** [CMakeFiles/libprotobuf-lite.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Mime
View raw message