You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "haosdent (JIRA)" <ji...@apache.org> on 2017/05/03 18:40:04 UTC
[jira] [Created] (MESOS-7456) Compilation error on recent glibc in
cgroups device subsystem
haosdent created MESOS-7456:
-------------------------------
Summary: Compilation error on recent glibc in cgroups device subsystem
Key: MESOS-7456
URL: https://issues.apache.org/jira/browse/MESOS-7456
Project: Mesos
Issue Type: Bug
Reporter: haosdent
Assignee: Zhongbo Tian
Fix For: 1.3.0
Got compile error on Arch
{code}
../../src/slave/containerizer/mesos/isolators/cgroups/subsystems/devices.cpp:116:13: error: In the GNU C Library, "major" is defined
by <sys/sysmacros.h>. For historical compatibility, it is
currently defined by <sys/types.h> as well, but we plan to
remove this soon. To use "major", include <sys/sysmacros.h>
directly. If you did not intend to use a system-defined macro
"major", you should undefine it after including <sys/types.h>. [-Werror]
entry.selector.major = major(device.get());
{code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)