MySQL Forums
Forum List  »  Source, Builds, Binaries

building mysql-8.0.15 buf0buf.cc: SYS_gettid error
Posted by: zhuzhu Shiki
Date: April 26, 2019 09:34AM

Hello,
I'm getting errors while building mysql-8.0.15 with the following log:
/home/zhouw/mysql-8.0.15/storage/innobase/buf/buf0buf.cc: 在函数‘void buf_pool_create(buf_pool_t*, ulint, ulint, std::mutex*, dberr_t&)’中:
/home/zhouw/mysql-8.0.15/storage/innobase/buf/buf0buf.cc:1223:44: 错误:‘SYS_gettid’在此作用域中尚未声明
setpriority(PRIO_PROCESS, (pid_t)syscall(SYS_gettid), -20);
^~~~~~~~~~
make[2]: *** [storage/innobase/CMakeFiles/innobase.dir/buf/buf0buf.cc.o] 错误 1
make[1]: *** [storage/innobase/CMakeFiles/innobase.dir/all] 错误 2
make: *** [all] 错误 2

I need help,thank you.

Options: ReplyQuote




Sorry, only registered users may post in this forum.

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.