MySQL Forums
Forum List  »  Source, Builds, Binaries

Re: 安装mysql-8.0.16,编译报错。
Posted by: young young
Date: October 16, 2019 09:17PM

[ 36%] Building CXX object storage/innobase/CMakeFiles/innobase.dir/buf/buf0buf.cc.o
/usr/src/mysql-8.0.16/storage/innobase/buf/buf0buf.cc: In function ‘void buf_pool_create(buf_pool_t*, ulint, ulint, std::mutex*, dberr_t&)’:
/usr/src/mysql-8.0.16/storage/innobase/buf/buf0buf.cc:1220:44: 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/buf0buf.cc.o] Error 1
make[1]: *** [storage/innobase/CMakeFiles/innobase.dir/all] Error 2
make: *** [all] Error 2

Options: ReplyQuote


Subject
Views
Written By
Posted
2949
May 16, 2019 04:00PM
Re: 安装mysql-8.0.16,编译报错。
539
October 16, 2019 09:17PM


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.