[dpdk-dev] Error while compiling DPDK

Neil Horman nhorman at tuxdriver.com
Mon Jul 14 13:46:16 CEST 2014


On Mon, Jul 14, 2014 at 09:24:52AM +0900, BYEONG-GI KIM wrote:
> Hello.
> 
> An error occured while compiling DPDK 1.6.0r2 as below:
> 
> [root at compute dpdk-1.6.0r2]# make install T=x86_64*gcc
> ...Installing...
> /ovdk/dpdk/dpdk-1.6.0r2/lib/librte_eal/bsdapp/eal/eal.c: In function
> ‘rte_eal_init’:
> /ovdk/dpdk/dpdk-1.6.0r2/lib/librte_eal/bsdapp/eal/eal.c:873:2: error:
> format ‘%p’ expects argument of type ‘void *’, but argument 5 has type
> ‘pthread_t’ [-Werror=format=]
>   RTE_LOG(DEBUG, EAL, "Master core %u is ready (tid=%p)\n",
>   ^
> 
> The current OS is Fedora20. What should I do?...
> 
> Best regards
> 
> Byeong-Gi KIM
> 

FWIW, The dpdk is already packaged for fedora.
Neil



More information about the dev mailing list