MySQL Forums
Forum List  »  Source, Builds, Binaries

Re: building mysql-8.0.15 buf0buf.cc: SYS_gettid error
Posted by: Bjørn Munch
Date: July 08, 2019 02:22AM

Try adding this after #include <sys/types.h> in storage/innobase/buf/buf0flu.cc:

#include <sys/syscall.h>

It may be that system header files have been changed in later updates to Red Hat / Centos 6 so that this gets included via other files. In Oracle Linux 6.10 it builds fine without that #include.

Let us know here if this worked.

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.