DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] Can't compile examples
@ 2015-06-25  2:31 Tetsuya Mukawa
  2015-06-25  8:26 ` Thomas Monjalon
  0 siblings, 1 reply; 4+ messages in thread
From: Tetsuya Mukawa @ 2015-06-25  2:31 UTC (permalink / raw)
  To: jijiang.liu; +Cc: dev

Hi Jijiang,

It seems below patch introduces compile error of examples.
 - a50245e examples/tep_term: initialize VXLAN sample

Here is log.
Could you please check it?

$ T=x86_64-native-linuxapp-gcc make examples -j12
================== Build examples for x86_64-native-linuxapp-gcc
== cmdline
== distributor
== bond
== helloworld
== exception_path
== kni
== ip_pipeline
== ipv4_multicast
== ip_reassembly
== l2fwd
== l3fwd
== l2fwd-jobstats
== l3fwd-power
== l3fwd-acl
== l3fwd-vf
== link_status_interrupt
== load_balancer
== multi_process
== packet_ordering
== qos_sched
== netmap_compat/bridge
== qos_meter
== quota_watermark
== rxtx_callbacks
== qw
== client_server_mp
== simple_mp
== skeleton
== qwctl
== tep_termination
== symmetric_mp
== timer
== vmdq
== vmdq_dcb
== mp_client
== mp_server
== vm_power_manager
  CC main.o
/home/mukawa/work/dpdk.org/dpdk/examples/tep_termination/main.c:52:28:
fatal error: rte_virtio_net.h: No such file or directory
compilation terminated.
/home/mukawa/work/dpdk.org/dpdk/mk/internal/rte.compile-pre.mk:126:
recipe for target 'main.o' failed
make[4]: *** [main.o] Error 1
/home/mukawa/work/dpdk.org/dpdk/mk/rte.extapp.mk:42: recipe for target
'all' failed
make[3]: *** [all] Error 2
/home/mukawa/work/dpdk.org/dpdk/mk/rte.extsubdir.mk:46: recipe for
target 'tep_termination' failed
make[2]: *** [tep_termination] Error 2
/home/mukawa/work/dpdk.org/dpdk/mk/rte.sdkexamples.mk:52: recipe for
target 'x86_64-native-linuxapp-gcc_examples' failed
make[1]: *** [x86_64-native-linuxapp-gcc_examples] Error 2
/home/mukawa/work/dpdk.org/dpdk/mk/rte.sdkroot.mk:120: recipe for target
'examples' failed
make: *** [examples] Error 2

Regards,
Tetsuya

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

* Re: [dpdk-dev] Can't compile examples
  2015-06-25  2:31 [dpdk-dev] Can't compile examples Tetsuya Mukawa
@ 2015-06-25  8:26 ` Thomas Monjalon
  2015-06-25  8:39   ` Liu, Jijiang
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Monjalon @ 2015-06-25  8:26 UTC (permalink / raw)
  To: jijiang.liu; +Cc: dev

2015-06-25 11:31, Tetsuya Mukawa:
> Hi Jijiang,
> 
> It seems below patch introduces compile error of examples.
>  - a50245e examples/tep_term: initialize VXLAN sample
> 
> Here is log.
> Could you please check it?
> 
[...]
> /home/mukawa/work/dpdk.org/dpdk/examples/tep_termination/main.c:52:28:
> fatal error: rte_virtio_net.h: No such file or directory

The check before merging was with vhost enabled.

Jijiang, does it make sense to try make it without vhost?
If not, examples/Makefile must contain
	DIRS-$(CONFIG_RTE_LIBRTE_VHOST) += tep_termination

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

* Re: [dpdk-dev] Can't compile examples
  2015-06-25  8:26 ` Thomas Monjalon
@ 2015-06-25  8:39   ` Liu, Jijiang
  2015-06-25  9:51     ` Thomas Monjalon
  0 siblings, 1 reply; 4+ messages in thread
From: Liu, Jijiang @ 2015-06-25  8:39 UTC (permalink / raw)
  To: Thomas Monjalon; +Cc: dev


> -----Original Message-----
> From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com]
> Sent: Thursday, June 25, 2015 4:27 PM
> To: Liu, Jijiang
> Cc: dev@dpdk.org; Tetsuya Mukawa
> Subject: Re: [dpdk-dev] Can't compile examples
> 
> 2015-06-25 11:31, Tetsuya Mukawa:
> > Hi Jijiang,
> >
> > It seems below patch introduces compile error of examples.
> >  - a50245e examples/tep_term: initialize VXLAN sample
> >
> > Here is log.
> > Could you please check it?
> >
> [...]
> >
> /home/mukawa/work/dpdk.org/dpdk/examples/tep_termination/main.c:52:28:
> > fatal error: rte_virtio_net.h: No such file or directory
> 
> The check before merging was with vhost enabled.
> 
> Jijiang, does it make sense to try make it without vhost?
> If not, examples/Makefile must contain
> 	DIRS-$(CONFIG_RTE_LIBRTE_VHOST) += tep_termination

The CONFIG_RTE_LIBRTE_VHOST must be set 'Y' when compiling the VXLAN example.

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

* Re: [dpdk-dev] Can't compile examples
  2015-06-25  8:39   ` Liu, Jijiang
@ 2015-06-25  9:51     ` Thomas Monjalon
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Monjalon @ 2015-06-25  9:51 UTC (permalink / raw)
  To: Liu, Jijiang, Tetsuya Mukawa; +Cc: dev

2015-06-25 08:39, Liu, Jijiang:
> From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com]
> > 2015-06-25 11:31, Tetsuya Mukawa:
> > > Hi Jijiang,
> > >
> > > It seems below patch introduces compile error of examples.
> > >  - a50245e examples/tep_term: initialize VXLAN sample
> > >
> > > Here is log.
> > > Could you please check it?
> > >
> > [...]
> > >
> > /home/mukawa/work/dpdk.org/dpdk/examples/tep_termination/main.c:52:28:
> > > fatal error: rte_virtio_net.h: No such file or directory
> > 
> > The check before merging was with vhost enabled.
> > 
> > Jijiang, does it make sense to try make it without vhost?
> > If not, examples/Makefile must contain
> > 	DIRS-$(CONFIG_RTE_LIBRTE_VHOST) += tep_termination
> 
> The CONFIG_RTE_LIBRTE_VHOST must be set 'Y' when compiling the VXLAN example.

Fixed:
	http://dpdk.org/browse/dpdk/commit/?id=8b22792abbfe

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

end of thread, other threads:[~2015-06-25  9:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-25  2:31 [dpdk-dev] Can't compile examples Tetsuya Mukawa
2015-06-25  8:26 ` Thomas Monjalon
2015-06-25  8:39   ` Liu, Jijiang
2015-06-25  9:51     ` Thomas Monjalon

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