DPDK patches and discussions
 help / color / mirror / Atom feed
From: Christian Ehrhardt <christian.ehrhardt@canonical.com>
To: Sheroo Pratap <sheroopratapresearch@gmail.com>
Cc: users@dpdk.org, dev <dev@dpdk.org>
Subject: Re: [dpdk-dev] Compilation failed on dpdk-16.04
Date: Fri, 20 May 2016 14:15:25 +0200	[thread overview]
Message-ID: <CAATJJ0L42Gzv4qaLzNijaRXNdvFWFaMg-6hajw+6gL6Mq6x+fA@mail.gmail.com> (raw)
In-Reply-To: <CALNBCoXqGtYEBJD-2MS7=1c=z=-cd5Q0zPcWZWh0rFMaG6GjHg@mail.gmail.com>

Hi,
as Thomas said that is a dep for pcap.
Note that dpdk is part of Ubuntu 15.10 and later - due to that even if
building on your own on these releases you would be able to run "sudo
apt-get build-dep dpdk" to get all usual build dependencies resolved
automatically.

But since you are on an older release you can just do what this woudl do
for you which would be (including pcap enabled and all kind of docu
building things) :
sudo apt-get install doxygen graphviz inkscape libcap-dev libpcap-dev
libxen-dev libxenstore3.0 python python-sphinx texlive-fonts-recommended
texlive-latex-extra





Christian Ehrhardt
Software Engineer, Ubuntu Server
Canonical Ltd

On Fri, May 20, 2016 at 2:03 PM, Sheroo Pratap <
sheroopratapresearch@gmail.com> wrote:

> Hi All,
>
>   I m trying to install dpdk-16.04 on my VM ubuntu.
>   I tried to make the build but it failed with below error.
>
>   anyone can help on this.
>
>  ubuntu version is "Ubuntu 14.04.3 (64bit)"
>  kernel version is 4.6.
>
> * SYMLINK-FILE include/rte_eth_null.h*
> *  INSTALL-LIB librte_pmd_null.a*
> *== Build drivers/net/pcap*
> *  CC rte_eth_pcap.o*
> */home/osboxes/Downloads/dpdk-16.04/drivers/net/pcap/rte_eth_pcap.c:47:18:
> fatal error: pcap.h: No such file or directory*
> *compilation terminated.*
> *make[4]: *** [rte_eth_pcap.o] Error 1*
> *make[3]: *** [pcap] Error 2*
> *make[2]: *** [net] Error 2*
> *make[1]: *** [drivers] Error 2*
> *make: *** [all] Error 2*
> *root@osboxes:/home/osboxes/Downloads/dpdk-16.04#*
>
> Thanks and Regards
>  Sheroo Pratap
>

      parent reply	other threads:[~2016-05-20 12:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-20 12:03 Sheroo Pratap
2016-05-20 12:09 ` Thomas Monjalon
2016-05-20 12:15 ` Christian Ehrhardt [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAATJJ0L42Gzv4qaLzNijaRXNdvFWFaMg-6hajw+6gL6Mq6x+fA@mail.gmail.com \
    --to=christian.ehrhardt@canonical.com \
    --cc=dev@dpdk.org \
    --cc=sheroopratapresearch@gmail.com \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).