couchbase / forestdb

A Fast Key-Value Storage Engine Based on Hierarchical B+-Tree Trie
Apache License 2.0
1.29k stars 172 forks source link

build error for aarch64 #24

Closed calvin2021y closed 2 years ago

calvin2021y commented 2 years ago
orestdb/utils/debug.cc:93:57: error: no member named 'gregs' in 'mcontext_t'; did you mean 'regs'?
    unsigned char *pc = (unsigned char *)u->uc_mcontext.gregs[REG_EIP];
                                                        ^~~~~
                                                        regs
/usr/include/aarch64-linux-gnu/sys/ucontext.h:55:34: note: 'regs' declared here
    unsigned long long int __ctx(regs)[31];
                                 ^
forestdb/utils/debug.cc:93:63: error: use of undeclared identifier 'REG_EIP'
    unsigned char *pc = (unsigned char *)u->uc_mcontext.gregs[REG_EIP];
                                                              ^
calvin2021y commented 2 years ago

https://github.com/ForestDB-KVStore/forestdb/issues/5