[dpdk-dev] Error while compiling DPDK

Choi, Sy Jong sy.jong.choi at intel.com
Mon Jul 14 03:00:47 CEST 2014


Hi Mr. Kim,

Please do not compile with "T=x86*gcc" because it will compile BSD app too, which cause the error.

Please complile only the configuration you need. This should remove the error.


Regards,
Choi, Sy Jong

-----Original Message-----
From: BYEONG-GI KIM [kimbyeonggi at gmail.com<mailto:kimbyeonggi at gmail.com>]
Sent: Monday, July 14, 2014 08:25 AM Malay Peninsula Standard Time
To: Dpdk-ovs at lists.01.org; dev at dpdk.org
Subject: [dpdk-dev] Error while compiling DPDK


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


More information about the dev mailing list