[dpdk-users] unable compiling dpdk

Stephen Hemminger stephen at networkplumber.org
Mon Oct 22 18:25:25 CEST 2018


On Wed, 17 Oct 2018 12:09:28 +0530
venkataprasad k <prasaddml at gmail.com> wrote:

> Getting the following error while compiling dpdk.
> Not clear what i am missing.
> 
> $ make config T=x86_64-native-linuxapp-gcc
> Configuration done using x86_64-native-linuxapp-gcc
> $   sed -ri 's,(PMD_PCAP=).*,\1y,' build/.config
> $ make
> == Build lib
> *dpdk-stable-18.02.2/mk/rte.subdir.mk:56 <http://rte.subdir.mk:56>: ***
> missing separator.  Stop.*
> *make[1]: *** [lib] Error 2*
> *make: *** [all] Error 2*
> $ uname -a
> Linux sce-bld-lin2 2.6.32-754.el6.x86_64 #1 SMP Thu May 24 18:18:25 EDT
> 2018 x86_64 x86_64 x86_64 GNU/Linux
> 
> Thanks,
> Venkat

Don't edit build results, instead create your own config file and use
make config on that.

  $ cp defconfig/x86_64-native-linuxapp-gcc defconfig/linux-pcap
  $ echo 'CONFIG_RTE_LIBRTE_PMD_PCAP=y' >> defconfig/linux-pcap
  $ make config T=linux-pcap

Or just use meson build which should enable everything that is buildable
in your environment.


More information about the users mailing list