From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk0-f174.google.com (mail-qk0-f174.google.com [209.85.220.174]) by dpdk.org (Postfix) with ESMTP id 3A6D3567D for ; Mon, 18 Apr 2016 08:24:00 +0200 (CEST) Received: by mail-qk0-f174.google.com with SMTP id r191so8110429qke.2 for ; Sun, 17 Apr 2016 23:24:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=bniV2VDy+giUwA74olLCSjIsFJROZofl/UrNZNr00VY=; b=toI6y9wmVgHjhXpY4vp4wtDg0qX+oJCyTUqjt4WRbACzXJfsoVBISC/aTxtTPfREAc lK+rGMEQ6Z1xQuIYhMgDud62hesmLieGpoBxATnxGT9xGVaE63ZAfRfbWdLeWVOtzDJ3 qlsl78MPHY36cLgWS9SjERVjijfWjoOJtdrIVeK8trMiasHmxMqKR4ZnIy+tw01CtxlW OXONmLRpi47pez+DV6muSNhEk+93rnyAWs4zgc7QtDGqwvc6+e2mlYGMNH1HRAiGXKYz dQkbfeYv1g1XvCJqqiUmiRVKOEc16xF3mSyXVOskk5+XtOQeL+h1yiFFRqJ5W13HiWff h4ZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=bniV2VDy+giUwA74olLCSjIsFJROZofl/UrNZNr00VY=; b=eIwIY1qZ5TfLWnrocyycVsgM/G93CUKB34PdHfA0ZGQS0g6UhLdVTDuqvjTKoakWga WEqFHlkQzPH3NS3ut7HF8p4EZP8/nh593i2nqQ5yoldLprvHJzN5eXQxA+GvOCgNo9/f tlOlAUGWpluTXefXyWNfPBnbTYS6hup0qrtnQfeCF6EJtZCj//FVBzxv2RfXRvVK6K/b UakEbT21wekBvPz7aBn8JOiD+XhimC7bBmiiHx5R2NGn/Fop15EWB3Vqi/mdYpKEiQhA Sz1pxE1CjcEqJrNyr9M42n6J49FSQoF0lqvUiK0LmV9TQOz0KcAobhXt1LWa4E3zMAsm 61GQ== X-Gm-Message-State: AOPr4FV/1651WT/p7qEAjdw5AQc6DjV1yYsqmaAeM/fOfJ4f1ySHp7O3S9d3MJKo4ppwJ3Dq9YXXV6ePv9WEYILT X-Received: by 10.55.79.17 with SMTP id d17mr41848378qkb.56.1460960639541; Sun, 17 Apr 2016 23:23:59 -0700 (PDT) MIME-Version: 1.0 Received: by 10.55.212.91 with HTTP; Sun, 17 Apr 2016 23:23:40 -0700 (PDT) In-Reply-To: <5713D8D0.8080201@chocot.jp> References: <5713D8D0.8080201@chocot.jp> From: Christian Ehrhardt Date: Mon, 18 Apr 2016 08:23:40 +0200 Message-ID: To: Masaru OKI Cc: Sharath , dev Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] compile error on ubuntu 14.4.4 kernel 4.2.0-27-generic in qemu X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Apr 2016 06:24:00 -0000 It is hard for me to spot what exactly is missing, but while it was never intended for trusty the version we have for xenial should get you going. # all kind of dependencies sudo apt-get install build-essential ubuntu-dev-tools debhelper dh-python dh-systemd doxygen graphviz inkscape libcap-dev libpcap-dev libxen-dev libxenstore3.0 python python-sphinx texlive-fonts-recommended texlive-latex-extra # get the version we currently package for xenial pull-lp-source dpdk xenial # run the packaged build which takes care of most enabling/disabling and such cd dpdk-2.2.0 ./debian/rules build Also as you need at least some SSE (level depends on your config) which isn't in the guest by default. Take a look at this - although I'm not 100% sure how mouch of it works back on trusty. https://help.ubuntu.com/16.04/serverguide/DPDK.html#dpdk-in-guest >>From there you can derive into whatever you need. Or just take the build process as your starting point for your own. On the other hand I encourage you to go to 16.04 and just use the packaged version if that would suit your needs. Christian Ehrhardt Software Engineer, Ubuntu Server Canonical Ltd On Sun, Apr 17, 2016 at 8:41 PM, Masaru OKI wrote: > On 2016/04/18 3:27, Sharath wrote: > >> I am facing feew compile errors while compiling dpdk. The env is ubuntu >> running as an VM, VM is started by qemu. How do I fix the compile errors? >> > > Default qemu virtual cpu does not support SSE4.2. > Try qemu -cpu help, and specify your reasonable cpu. >