[dpdk-dev] [Bug 33] Does not compile with musl libc: lib/librte_eal/linuxapp/eal/eal_hugepage_info.c

bugzilla at dpdk.org bugzilla at dpdk.org
Thu May 3 12:18:54 CEST 2018


https://dpdk.org/tracker/show_bug.cgi?id=33

            Bug ID: 33
           Summary: Does not compile with musl libc:
                    lib/librte_eal/linuxapp/eal/eal_hugepage_info.c
           Product: DPDK
           Version: 18.05
          Hardware: All
                OS: All
            Status: CONFIRMED
          Severity: normal
          Priority: Normal
         Component: core
          Assignee: dev at dpdk.org
          Reporter: dpdk at stormmq.com
  Target Milestone: ---

This file does not compile on linux systems using the musl libc.

musl libc is strict in which headers are exposed to user space. This file is
relying on a side-effect of glibc.

This can be fixed by adding `#include <fcntl.h>` to the list of included
headers.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the dev mailing list