From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io0-f182.google.com (mail-io0-f182.google.com [209.85.223.182]) by dpdk.org (Postfix) with ESMTP id 83EE31C01 for ; Mon, 23 Apr 2018 09:27:58 +0200 (CEST) Received: by mail-io0-f182.google.com with SMTP id d6-v6so17320767iog.1 for ; Mon, 23 Apr 2018 00:27:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=xj4Oo1uzidYQqRyykMdb+6geXrnjnZGox6Df5iVwgZM=; b=Ggjj2hMe8cInW/9QFymzCeydIZXbgexplo6alRtbDweKd0xIXzakstKAS1Vv6PARUt s09nlvs75owTBtTaAJP9oId88avbHNTVM7ooVgY0iiUdmkJ0SF4uClTTN9efbWUOTw/w bYdX/cU3ZjPu/Rpe7FpTCKtJG4VdaqOoFzKI+YKeo7odVEIOClG3VYAC601E1a+Fr+vb +jq3Skl16euN0VTf+owj4LNvAaVVXVctjscsJvwXMyeow3BL7fZzqYWo22B3GZxHbxMi JNu/diK0GcieWg6elqyEbabag5Z1W31B9CQaMi98vCnIR8Q8yJkrD+cke/CiWWXniLYa RBAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=xj4Oo1uzidYQqRyykMdb+6geXrnjnZGox6Df5iVwgZM=; b=PTVxA2HA/mrtJU0BSvHF6VwDt3P0Ye39oMNNRvK5IhrhgXDl6r4g1uRFWQMZkjAA0o +sgQpTumlSnltvJdFPn8ohat0c8B6g0IWc0sDWRY7klu2TxNuGJytl1oeGUgLEA+hV8L 3zjKrVHDPMk/LtdDjHHj0d6mK0EqeFYoMt/sGXRbA1DZqTkD+1KDnGleLih6H/h3HCH5 mJzhpykgZD4ecxjCfo58IATlpIut4JRYZlMT8tt/9hcu46/twXdvvs2aqxbOI/oRDZfz AW+qNssrawhzmSQD7sJygFPLipaMCZ1uzylbgI4zRxvKKNJmbQxyahoqUUpcJGGDbKAH EizA== X-Gm-Message-State: ALQs6tA3Be87U2sedbXR2PeVB+YXq0e0OI1Ff4PQre52ydxaIZAVhu4U a8QK+d9dIAu0Pe0UA+WR6jQsCpxlesMhp1tLjFw= X-Google-Smtp-Source: AB8JxZqMMelVJmh134LHPa+HE//VIMlnKadOS9JPqoXrMcVtoPbi8uHmFghg/dUtNdsG3OyPZdsDD/s+Iu1MHiIQABY= X-Received: by 2002:a6b:3e46:: with SMTP id l67-v6mr20137398ioa.75.1524468477544; Mon, 23 Apr 2018 00:27:57 -0700 (PDT) MIME-Version: 1.0 Received: by 10.213.83.9 with HTTP; Mon, 23 Apr 2018 00:27:26 -0700 (PDT) In-Reply-To: References: From: James Bensley Date: Mon, 23 Apr 2018 08:27:26 +0100 Message-ID: To: RICCARDO RUSSO Cc: users@dpdk.org Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-users] Install DPDK on Centos7 X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Apr 2018 07:27:58 -0000 On 20 April 2018 at 17:01, RICCARDO RUSSO wrote: > Hello, > 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 > Rr Hi Riccardo, I have to install these packages on CentOS 7 first: sudo yum install make coreutils gcc glibc-devel.x86_64 kernel-devel.x86_64 kernel-headers.x86_64 python libpcap-devel numactl.x86_64 numactl-devel.x86_64 numactl-libs.x86_64 Cheers, James.