MySQL Forums
Forum List  »  Source, Builds, Binaries

building mysql-8.0.16 SYS_gettid error
Posted by: Leon Yu
Date: July 07, 2019 08:37AM

Hello! While building mysql-boost-8.0.16 I got the following error:
[ 35%] Building CXX object storage/innobase/CMakeFiles/innobase.dir/buf/
/root/ly/mysql-8.0.16/storage/innobase/buf/ In function ‘void buf_pool_create(buf_pool_t*, ulint, ulint, std::mutex*, dberr_t&)’:
/root/ly/mysql-8.0.16/storage/innobase/buf/ error: ‘SYS_gettid’ was not declared in this scope
1220 | setpriority(PRIO_PROCESS, (pid_t)syscall(SYS_gettid), -20);
| ^~~~~~~~~~
make[2]: *** [storage/innobase/CMakeFiles/innobase.dir/buf/] Error 1
make[1]: *** [storage/innobase/CMakeFiles/innobase.dir/all] Error 2
make: *** [all] Error 2

Using gcc version 9.1.0 (GCC) and cmake version 3.14.5.

I need help. Thank you

Options: ReplyQuote

Written By
building mysql-8.0.16 SYS_gettid error
July 07, 2019 08:37AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.