Skip to contentSkip to conversation

Does not compile with musl libc: lib/librte_eal/linuxapp/eal/eal_hugepage_info.c

Bug 33 [email protected] 1 participant 1 message May 3, 2018

lore
Share & tools
lore
#0 lore raw

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: [email protected]
          Reporter: [email protected]

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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.