Re: [dpdk-dev] [PATCH] net/virtio: fix build errors

2019-07-30 Thread Thomas Monjalon
30/07/2019 18:12, Maxime Coquelin: > On 7/30/19 1:04 PM, jer...@marvell.com wrote: > > From: Jerin Jacob > > > > Add extern to variable declaration to avoid some compiler treating it > > as variable definition. > > > > build error log: > > > > lib/librte_pmd_virtio.a(vhost_kernel.o):(.rodata+0x

Re: [dpdk-dev] [PATCH] net/virtio: fix build errors

2019-07-30 Thread Maxime Coquelin
On 7/30/19 1:04 PM, jer...@marvell.com wrote: > From: Jerin Jacob > > Add extern to variable declaration to avoid some compiler treating it > as variable definition. > > build error log: > > lib/librte_pmd_virtio.a(vhost_kernel.o):(.rodata+0x110): > multiple definition of `vhost_msg_strings'

[dpdk-dev] [PATCH] net/virtio: fix build errors

2019-07-30 Thread jerinj
From: Jerin Jacob Add extern to variable declaration to avoid some compiler treating it as variable definition. build error log: lib/librte_pmd_virtio.a(vhost_kernel.o):(.rodata+0x110): multiple definition of `vhost_msg_strings' lib/librte_pmd_virtio.a(vhost_user.o):(.data.rel.ro.local+0x0): fi