[dpdk-users] [dpdk-dev] Compilation failed on dpdk-16.04

Christian Ehrhardt christian.ehrhardt at canonical.com
Fri May 20 14:15:25 CEST 2016

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

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

Christian Ehrhardt
Software Engineer, Ubuntu Server
Canonical Ltd

On Fri, May 20, 2016 at 2:03 PM, Sheroo Pratap <
sheroopratapresearch at 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 at osboxes:/home/osboxes/Downloads/dpdk-16.04#*
> Thanks and Regards
>  Sheroo Pratap

More information about the users mailing list