[dpdk-users] Install DPDK on Centos7

RICCARDO RUSSO riccardo.russo79 at gmail.com
Fri Apr 20 18:01:53 CEST 2018

I'm trying to install dpdk on CentOS

$ yum -y update
$ yum -y install git gcc numactl-devel libpcap-devel kernel-devel
$ hostnamectl
    Virtualization: kvm
  Operating System: CentOS Linux 7 (Core)
       CPE OS Name: cpe:/o:centos:centos:7
            Kernel: Linux 3.10.0-514.26.1.el7.x86_64
      Architecture: x86-64

$ wget http://dpdk.org/browse/dpdk-stable/snapshot/dpdk-stable-18.02.tar.gz
$ gunzip dpdk-stable-18.02.tar.gz
$ tar -xvf dpdk-stable-18.02.tar
$ export RTE_SDK=/root/dpdk-stable-18.02
$ export RTE_TARGET=x86_64-native-linuxapp-gcc
$ cd $RTE_SDK
$ make install T=x86_64-native-linuxapp-gcc DESTDIR=install
== Build lib/librte_eal/linuxapp/eal
  SYMLINK-FILE include/exec-env/rte_kni_common.h
  CC eal.o
  CC eal_hugepage_info.o
  CC eal_memory.o
  CC eal_thread.o
  CC eal_log.o
  CC eal_vfio.o
  CC eal_vfio_mp_sync.o
  CC eal_debug.o
  CC eal_lcore.o
  CC eal_timer.o
  CC eal_interrupts.o
  CC eal_alarm.o
  CC eal_common_lcore.o
  CC eal_common_timer.o
  CC eal_common_memzone.o
  CC eal_common_log.o
  CC eal_common_launch.o
  CC eal_common_memory.o
  CC eal_common_tailqs.o
  CC eal_common_errno.o
  CC eal_common_cpuflags.o
  CC eal_common_hypervisor.o
  CC eal_common_string_fns.o
  CC eal_common_hexdump.o
  CC eal_common_devargs.o
  CC eal_common_bus.o
  CC eal_common_dev.o
  CC eal_common_options.o
  CC eal_common_thread.o
  CC eal_common_proc.o
  CC rte_malloc.o
  CC malloc_elem.o
  CC malloc_heap.o
  CC rte_keepalive.o
  CC rte_service.o
  CC rte_reciprocal.o
  CC rte_cpuflags.o
  CC rte_hypervisor.o
  CC rte_spinlock.o
  CC rte_cycles.o
  AR librte_eal.a
  INSTALL-LIB librte_eal.a
== Build lib/librte_eal/linuxapp/igb_uio
make: *** /lib/modules/3.10.0-514.26.1.el7.x86_64/build: No such file or
directory.  Stop.
make[7]: *** [igb_uio.ko] Error 2
make[6]: *** [igb_uio] Error 2
make[5]: *** [linuxapp] Error 2
make[4]: *** [librte_eal] Error 2
make[3]: *** [lib] Error 2
make[2]: *** [all] Error 2
make[1]: *** [pre_install] Error 2
make: *** [install] Error 2

I don't know what I am missing

More information about the users mailing list