Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error build for aarch64 #303

Open
Vascom opened this issue May 7, 2019 · 1 comment
Open

Error build for aarch64 #303

Vascom opened this issue May 7, 2019 · 1 comment

Comments

@Vascom
Copy link

Vascom commented May 7, 2019

I am try to build megasync for Fedora. It is excellent built for x86_64, i686 and armv7hl arches. But aarch64 failed.
First error:

BUILDSTDERR: google_breakpad/common/memory.h: In member function 'uint8_t* google_breakpad::PageAllocator::GetNPages(unsigned int)':
BUILDSTDERR: google_breakpad/common/memory.h:117:15: error: 'sys_mmap2' was not declared in this scope
BUILDSTDERR:   117 |     void *a = sys_mmap2(NULL, page_size_ * num_pages, PROT_READ | PROT_WRITE,
BUILDSTDERR:       |               ^~~~~~~~~
BUILDSTDERR: google_breakpad/common/memory.h: In member function 'void google_breakpad::PageAllocator::FreeAll()':
BUILDSTDERR: google_breakpad/common/memory.h:136:7: error: 'sys_munmap' was not declared in this scope; did you mean 'munmap'?
BUILDSTDERR:   136 |       sys_munmap(cur, cur->num_pages * page_size_);
BUILDSTDERR:       |       ^~~~~~~~~~

Full build log http://koji.rpmfusion.org/kojifiles/work/tasks/1919/321919/build.log

Please correct it so we can use megasync on ARM 64-bit arch.

@archisman-panigrahi
Copy link

@Vascom Does the same error message still exist?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants