Bug 40 - drivers/net/nfp/nfpcore/nfp-common/nfp_platform.h: does not compile with musl because it uses an internal glibc header
Summary: drivers/net/nfp/nfpcore/nfp-common/nfp_platform.h: does not compile with musl...
Status: RESOLVED FIXED
Alias: None
Product: DPDK
Classification: Unclassified
Component: ethdev (show other bugs)
Version: 18.05
Hardware: All All
: Normal normal
Target Milestone: ---
Assignee: dev
URL:
Depends on:
Blocks:
 
Reported: 2018-05-03 14:26 CEST by Raph
Modified: 2019-10-03 05:52 CEST (History)
3 users (show)



Attachments

Description Raph 2018-05-03 14:26:02 CEST
Code should not link to `sys/cdefs.h` (see https://wiki.musl-libc.org/faq.html#Q:-When-compiling-something-against-musl,-I-get-error-messages-about-%3Ccode%3Esys/cdefs.h%3C/code%3E  ) (apologies for the awful link).

The link above includes the necessary fix.
Comment 1 alejandro.lucero 2018-07-16 13:55:37 CEST
I sent a patch for this and it was accepted on June 11:

https://mails.dpdk.org/archives/dev/2018-June/103971.html

Note You need to log in before you can comment on or make changes to this bug.