You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pagespeed.apache.org by GitBox <gi...@apache.org> on 2022/09/15 14:35:43 UTC
[GitHub] [incubator-pagespeed-mod] beobungbu commented on issue #2040: error: conflicting types for 'gettid' - in third_party/grpc/src/src/core/lib/support/log_linux.c:42:13
beobungbu commented on issue #2040:
URL: https://github.com/apache/incubator-pagespeed-mod/issues/2040#issuecomment-1248192723
any solution to fix this issue?
aws ec2 running ubuntu 20.04, checkout source code form master branch, build with --devel --psol-from-source
`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/x86_64-linux-gnu/bits/unistd_ext.h:34:16: note: previous declaration of ‘gettid’ was here
34 | extern __pid_t gettid (void) __THROW;
| ^~~~~~
make[1]: *** [third_party/grpc/gpr.target.mk:345: out/Debug/obj.target/gpr/third_party/grpc/src/src/core/lib/support/log_linux.o] Error 1
make: *** [Makefile:314: apache_debug] Error 2
Error: Failure running 'make apache_debug_psol', exiting.`
--
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.
To unsubscribe, e-mail: dev-unsubscribe@pagespeed.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org