Bug 40

Summary: drivers/net/nfp/nfpcore/nfp-common/nfp_platform.h: does not compile with musl because it uses an internal glibc header
Product: DPDK Reporter: Raph (dpdk)
Component: ethdevAssignee: dev
Status: RESOLVED FIXED    
Severity: normal CC: alejandro.lucero, dpdk, Muthurajan.Jayakumar
Priority: Normal    
Version: 18.05   
Target Milestone: ---   
Hardware: All   
OS: All   

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