[dpdk-dev] [Bug 34] Does not compile with musl libc: lib/librte_eal/common/eal_common_fbarray.c

bugzilla at dpdk.org bugzilla at dpdk.org
Thu May 3 12:24:14 CEST 2018


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

            Bug ID: 34
           Summary: Does not compile with musl libc:
                    lib/librte_eal/common/eal_common_fbarray.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