[dpdk-users] [dpdk-dev] Compilation failed on dpdk-16.04
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
Software Engineer, Ubuntu Server
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*
> fatal error: pcap.h: No such file or directory*
> *compilation terminated.*
> *make: *** [rte_eth_pcap.o] Error 1*
> *make: *** [pcap] Error 2*
> *make: *** [net] Error 2*
> *make: *** [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