Build failed on ubuntu 16.04 ARM
hryamzik opened this issue · comments
make -R all
:
g++ -c -g -O3 -std=gnu++0x -fvisibility=hidden -fvisibility-inlines-hidden -fno-default-inline -fno-omit-frame-pointer -fno-common -fsigned-char -Wall -W -Werror -Wsign-promo -Woverloaded-virtual -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -isystem . -isystem ./pd/fixinclude -D_GNU_SOURCE=1 -Wundef -MD -MF deps/pd%bq%bq_cont.o.d pd/bq/bq_cont.C -o pd/bq/bq_cont.o
pd/bq/bq_cont.C:40:2: error: #error Not implemented yet
#error Not implemented yet
^
pd/bq/bq_cont.C:96:21: error: ‘MISC_REG_NUM’ was not declared in this scope
unsigned long misc[MISC_REG_NUM];
^
pd/bq/bq_cont.C: In member function ‘char* pd::bq_stack_pool_t::item_t::stack()’:
pd/bq/bq_cont.C:344:44: error: ‘STACK_SIZE’ was not declared in this scope
return ((char *)this) + sizeof(*this) - STACK_SIZE;
^
pd/bq/bq_cont.C: In static member function ‘static pd::bq_stack_pool_t::item_t* pd::bq_stack_pool_t::item_t::obj(char*)’:
pd/bq/bq_cont.C:348:30: error: ‘STACK_SIZE’ was not declared in this scope
return (item_t *)(stack + STACK_SIZE - sizeof(item_t));
^
pd/bq/bq_cont.C: In member function ‘char* pd::bq_stack_pool_t::alloc()’:
pd/bq/bq_cont.C:378:10: error: ‘STACK_SIZE’ was not declared in this scope
NULL, STACK_SIZE, PROT_READ | PROT_WRITE,
^
pd/bq/bq_cont.C:385:23: error: ‘PAGE_SIZE’ was not declared in this scope
if (mprotect(stack, PAGE_SIZE, 0) < 0)
^
pd/bq/bq_cont.C: In member function ‘void pd::bq_stack_pool_t::free(char*)’:
pd/bq/bq_cont.C:413:17: error: ‘STACK_SIZE’ was not declared in this scope
munmap(stack, STACK_SIZE);
^
pd/bq/bq_cont.C: In destructor ‘pd::bq_stack_pool_t::~bq_stack_pool_t()’:
pd/bq/bq_cont.C:423:26: error: ‘STACK_SIZE’ was not declared in this scope
munmap(item->stack(), STACK_SIZE);
^
pd/bq/bq_cont.C: In static member function ‘static void* pd::bq_cont_t::operator new(size_t)’:
pd/bq/bq_cont.C:443:22: error: ‘STACK_SIZE’ was not declared in this scope
void *ptr = stack + STACK_SIZE - size;
^
opts.mk:44: recipe for target 'pd/bq/bq_cont.o' failed
make: *** [pd/bq/bq_cont.o] Error 1