[dpdk-dev] [PATCH] testpmd: fix build on FreeBSD

Mrzyglod, DanielX T danielx.t.mrzyglod at intel.com
Mon Mar 21 09:59:50 CET 2016


>From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Marvin Liu
>Sent: Monday, March 21, 2016 2:45 AM
>To: dev at dpdk.org
>Cc: Liu, Yong <yong.liu at intel.com>
>Subject: [dpdk-dev] [PATCH] testpmd: fix build on FreeBSD
>
>Build log:
>/root/dpdk/app/test-pmd/cmdline.c:6687:45: error: no member named
>'s6_addr32' in 'struct in6_addr'
>	rte_be_to_cpu_32(res->ip_value.addr.ipv6.s6_addr32[i]);
>
>This is caused by macro "s6_addr32" not defined on FreeBSD.
>
>Signed-off-by: Marvin Liu <yong.liu at intel.com>

Acked-by: Daniel Mrzyglod <danielx.t.mrzyglod at intel.com>


More information about the dev mailing list