sedimentation-fault opened a new issue #2040: URL: https://github.com/apache/incubator-pagespeed-mod/issues/2040
### Problem I have followed the instructions at [build mod_pagespeed from source](https://www.modpagespeed.com/doc/build_mod_pagespeed_from_source) to build _pagespeed_ from source in a Gentoo Linux system. During execution of `make BUILDTYPE=Release mod_pagespeed_test pagespeed_automatic_test` I got the error: ``` CC(target) out/Release/obj.target/gpr/third_party/grpc/src/src/core/lib/support/log_linux.o third_party/grpc/src/src/core/lib/support/log_linux.c:42:13: error: conflicting types for 'gettid' 42 | static long gettid(void) { return syscall(__NR_gettid); } | ^~~~~~ In file included from /usr/include/unistd.h:1170, from third_party/grpc/src/src/core/lib/support/log_linux.c:40: /usr/include/bits/unistd_ext.h:34:16: note: previous declaration of 'gettid' was here 34 | extern __pid_t gettid (void) __THROW; | ^~~~~~ make: *** [third_party/grpc/gpr.target.mk:345: out/Release/obj.target/gpr/third_party/grpc/src/src/core/lib/support/log_linux.o] Error 1 ``` ### Reason It seems that the error is related to the version of the compiler used (_gcc_ 9.3.0), as the following patch shows: [#18950](https://github.com/grpc/grpc/pull/18950/files/57586a1ca7f17b1916aed3dea4ff8de872dbf853) ### Solution Either incorporate the changes of the mentioned patch, or insert some suggestion about the upper bound of _gcc_ version that can compile your _grpc_ version without errors. It would also be helpful if you could provide some _configure_ script that will search the system for existing libraries and build the Makefiles. For example, _grpc_ IS already installed on my system (version 1.26.0). ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org