Calvin Valentino Gosal created MESOS-10238:
----------------------------------------------
Summary: Error while compiling directory mesos/build using make
Key: MESOS-10238
URL: https://issues.apache.org/jira/browse/MESOS-10238
Project: Mesos
Issue Type: Bug
Reporter: Calvin Valentino Gosal
I'm building mesos on Ubuntu with version 20.4. I've followed the steps like
the one on this page https://mesos.apache.org/documentation/latest/building/
But I encountered a problem when I compile it with the make command. The error
is
*make[4]: Entering directory '/home/calvin/mesos/build/3rdparty/grpc-1.10.0'*
*[CXX] Compiling src/core/lib/gpr/log_linux.cc*
*src/core/lib/gpr/log_linux.cc:42:13: error: ambiguating new declaration of
'long int gettid()'*
*42 | static long gettid(void) \{ return syscall(__NR_gettid); }*
*| ^~~~~~~~*
*In file included from /usr/include/unistd.h:1170,*
*from src/core/lib/gpr/log_linux.cc:40:*
*/usr/includes/x86_64-linux-gnu/bits/unistd_ext.h:34:16: note: old declaration
'__pid_t gettid()'*
*34 | extern __pid_t gettid(void) __THROW;*
*| ^~~~~~~~*
*src/core/lib/gpr/log_linux.cc:42:13: warning: 'long int gettid()' defined but
not used [-Wunused-function]*
*42 | static long gettid(void) \{ return syscall(__NR_gettid); }*
Now, I stop here.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)