DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] Compilation failed on dpdk-16.04
@ 2016-05-20 12:03 Sheroo Pratap
  2016-05-20 12:09 ` Thomas Monjalon
  2016-05-20 12:15 ` Christian Ehrhardt
  0 siblings, 2 replies; 3+ messages in thread
From: Sheroo Pratap @ 2016-05-20 12:03 UTC (permalink / raw)
  To: users, dev

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-dev] Compilation failed on dpdk-16.04
  2016-05-20 12:03 [dpdk-dev] Compilation failed on dpdk-16.04 Sheroo Pratap
@ 2016-05-20 12:09 ` Thomas Monjalon
  2016-05-20 12:15 ` Christian Ehrhardt
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Monjalon @ 2016-05-20 12:09 UTC (permalink / raw)
  To: Sheroo Pratap; +Cc: dev, users

2016-05-20 17:33, Sheroo Pratap:
> 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*

PCAP is disabled in the default config:
	CONFIG_RTE_LIBRTE_PMD_PCAP=n
Either you keep it disable or you install libpcap headers.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-dev] Compilation failed on dpdk-16.04
  2016-05-20 12:03 [dpdk-dev] Compilation failed on dpdk-16.04 Sheroo Pratap
  2016-05-20 12:09 ` Thomas Monjalon
@ 2016-05-20 12:15 ` Christian Ehrhardt
  1 sibling, 0 replies; 3+ messages in thread
From: Christian Ehrhardt @ 2016-05-20 12:15 UTC (permalink / raw)
  To: Sheroo Pratap; +Cc: users, dev

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
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-05-20 12:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-20 12:03 [dpdk-dev] Compilation failed on dpdk-16.04 Sheroo Pratap
2016-05-20 12:09 ` Thomas Monjalon
2016-05-20 12:15 ` Christian Ehrhardt

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).