Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-7456

Compilation error on recent glibc in cgroups device subsystem

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.3.0
    • None

    Description

      Got compile error on Arch

      ../../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());
      

      Attachments

        Activity

          People

            windreamer Zhongbo Tian
            haosdent@gmail.com haosdent
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: