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

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


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

            Bug ID: 31
           Summary: Does not compile with musl libc:
                    lib/librte_eal/linuxapp/eal/eal_memory.c
           Product: DPDK
           Version: 18.05
          Hardware: All
                OS: Linux
            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