Skip to content

Instantly share code, notes, and snippets.

@jamesob
Created October 5, 2021 17:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamesob/c46513d41e355a3e6e69f4ff78167c92 to your computer and use it in GitHub Desktop.
Save jamesob/c46513d41e355a3e6e69f4ff78167c92 to your computer and use it in GitHub Desktop.
/usr/bin/ar: `u' modifier ignored since `D' is the default (see `U')
util/syscall_sandbox.cpp:116:6: error: use of undeclared identifier '__NR_copy_file_range'
{__NR_copy_file_range, "copy_file_range"},
^
util/syscall_sandbox.cpp:271:6: error: use of undeclared identifier '__NR_pkey_alloc'
{__NR_pkey_alloc, "pkey_alloc"},
^
util/syscall_sandbox.cpp:272:6: error: use of undeclared identifier '__NR_pkey_free'
{__NR_pkey_free, "pkey_free"},
^
util/syscall_sandbox.cpp:273:6: error: use of undeclared identifier '__NR_pkey_mprotect'
{__NR_pkey_mprotect, "pkey_mprotect"},
^
util/syscall_sandbox.cpp:279:6: error: use of undeclared identifier '__NR_preadv2'
{__NR_preadv2, "preadv2"},
^
util/syscall_sandbox.cpp:288:6: error: use of undeclared identifier '__NR_pwritev2'
{__NR_pwritev2, "pwritev2"},
^
util/syscall_sandbox.cpp:554:33: error: use of undeclared identifier '__NR_copy_file_range'
allowed_syscalls.insert(__NR_copy_file_range); // copy a range of data from one file to another
^
7 errors generated.
make[2]: *** [util/libbitcoin_util_a-syscall_sandbox.o] Error 1
make[2]: *** Waiting for unfinished jobs....
ar: `u' modifier ignored since `D' is the default (see `U')
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
Command exited with non-zero status 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment