[dpdk-dev] [PATCH v2] vhost: fix compile error
Maxime Coquelin
maxime.coquelin at redhat.com
Wed Nov 6 20:59:57 CET 2019
Hi Jin,
On 10/30/19 10:40 AM, Jin Yu wrote:
> Compile librte_vhost/vhost_crypto.c needs the rte_hash.h
> So we need the librte_hash to be compiled before vhost.
> Add the DEPDIRs to make sure this.
>
> Bugzilla ID: 356
> Fixes: 939066d96563 ("vhost/crypto: add public function implementation")
> Cc: stable at dpdk.org
>
> Signed-off-by: Jin Yu <jin.yu at intel.com>
> ---
> V2 - add the librte_crytodev
> ---
> lib/Makefile | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/Makefile b/lib/Makefile
> index 41c463d92..b2a143d4f 100644
> --- a/lib/Makefile
> +++ b/lib/Makefile
> @@ -46,7 +46,7 @@ DIRS-$(CONFIG_RTE_LIBRTE_RAWDEV) += librte_rawdev
> DEPDIRS-librte_rawdev := librte_eal librte_ethdev
> DIRS-$(CONFIG_RTE_LIBRTE_VHOST) += librte_vhost
> DEPDIRS-librte_vhost := librte_eal librte_mempool librte_mbuf librte_ethdev \
> - librte_net
> + librte_net librte_hash librte_cryptodev
> DIRS-$(CONFIG_RTE_LIBRTE_HASH) += librte_hash
> DEPDIRS-librte_hash := librte_eal librte_ring
> DIRS-$(CONFIG_RTE_LIBRTE_EFD) += librte_efd
>
http://mails.dpdk.org/archives/test-report/2019-October/105347.html
The Intel compilation reports a breakage with this patch, and the
breakage happens in some crypto drivers. Could you please check it
is not a regression due to your patch?
*Make Build Failed #1:
OS: CENTOS76-64
Target: x86_64-native-linuxapp-clang
CC zlib_pmd.o.pmd.o
LD qat_device.o
LD zlib_pmd.o
CC hw_atl_utils_fw2x.o
1 error generated.
make[6]: *** [dpaa2_sec_dpseci.o] Error 1
make[5]: *** [dpaa2_sec] Error 2
make[5]: *** Waiting for unfinished jobs....
CC hw_atl_b0.o
CC qat_logs.o
CC zlib_pmd_ops.o
CC rte_pmd_atlantic.o
--
CC axgbe_rxtx_vec_sse.o
AR librte_pmd_octeontx_crypto.a
AR librte_pmd_bond.a
INSTALL-LIB librte_pmd_octeontx_crypto.a
INSTALL-LIB librte_pmd_bond.a
make[4]: *** [crypto] Error 2
make[4]: *** Waiting for unfinished jobs....
CC dpaa2_mux.o
== Build drivers/net/ena
CC dpaa2_sparser.o
CC mc/dpni.o
--
CC hunt_nic.o
CC medford_nic.o
CC medford2_nic.o
AR librte_pmd_sfc_efx.a
INSTALL-LIB librte_pmd_sfc_efx.a
make[3]: *** [drivers] Error 2
make[2]: *** [all] Error 2
make[1]: *** [pre_install] Error 2
make: *** [install] Error 2
More information about the dev
mailing list