[dpdk-dev] [Bug 30] Compilation error while disabling crypto device library

bugzilla at dpdk.org bugzilla at dpdk.org
Wed May 2 09:28:45 CEST 2018


https://dpdk.org/tracker/show_bug.cgi?id=30

            Bug ID: 30
           Summary: Compilation error while disabling crypto device
                    library
           Product: DPDK
           Version: 18.02
          Hardware: x86
                OS: All
            Status: CONFIRMED
          Severity: minor
          Priority: Normal
         Component: cryptodev
          Assignee: dev at dpdk.org
          Reporter: wisamm at mellanox.com
  Target Milestone: ---

How to reproduce:

Just set crypto lib to be no instead of yes:
"""
CONFIG_RTE_LIBRTE_CRYPTODEV=n
"""

Then compile.
The compilation error log:
"""
/download/dpdk/lib/librte_security/rte_security.h:57:24: fatal error:
rte_crypto.h: No such file or directory
compilation terminated.
/download/dpdk/mk/internal/rte.compile-pre.mk:114: recipe for target
'rte_security.o' failed
make[5]: *** [rte_security.o] Error 1
make[5]: *** Waiting for unfinished jobs....
  CC rte_distributor_match_sse.o
  CC rte_pdump.o
  CC rte_kni.o
  CC gso_tunnel_tcp4.o
  CC rte_distributor.o
/download/dpdk/mk/rte.subdir.mk:35: recipe for target 'librte_security' failed
make[4]: *** [librte_security] Error 2
make[4]: *** Waiting for unfinished jobs....
  SYMLINK-FILE include/rte_gso.h
  CC gso_common.o
  CC rte_gso.o
  CC gso_tcp4.o
  SYMLINK-FILE include/rte_ip_frag.h
  CC rte_ipv6_fragmentation.o
  CC rte_ipv4_reassembly.o
  CC rte_ipv4_fragmentation.o
  CC rte_ipv6_reassembly.o
  CC ip_frag_internal.o
  CC rte_ip_frag_common.o
/download/dpdk/lib/librte_vhost/vhost_crypto.c:8:27: fatal error:
rte_cryptodev.h: No such file or directory
compilation terminated.
/download/dpdk/mk/internal/rte.compile-pre.mk:114: recipe for target
'vhost_crypto.o' failed
make[5]: *** [vhost_crypto.o] Error 1
make[5]: *** Waiting for unfinished jobs....
  AR librte_bitratestats.a
  INSTALL-LIB librte_bitratestats.a
  AR librte_latencystats.a
  INSTALL-LIB librte_latencystats.a
  AR librte_gro.a
  INSTALL-LIB librte_gro.a
  AR librte_eventdev.a
  INSTALL-LIB librte_eventdev.a
  AR librte_ip_frag.a
  INSTALL-LIB librte_ip_frag.a
  AR librte_rawdev.a
  INSTALL-LIB librte_rawdev.a
  AR librte_gso.a
  INSTALL-LIB librte_gso.a
  AR librte_kni.a
  INSTALL-LIB librte_kni.a
  AR librte_pdump.a
  INSTALL-LIB librte_pdump.a
  AR librte_distributor.a
  INSTALL-LIB librte_distributor.a
/download/dpdk/mk/rte.subdir.mk:35: recipe for target 'librte_vhost' failed
make[4]: *** [librte_vhost] Error 2
/download/dpdk/mk/rte.sdkbuild.mk:49: recipe for target 'lib' failed
make[3]: *** [lib] Error 2
/download/dpdk/mk/rte.sdkroot.mk:100: recipe for target 'all' failed
make[2]: *** [all] Error 2
/download/dpdk/mk/rte.sdkinstall.mk:85: recipe for target 'pre_install' failed
make[1]: *** [pre_install] Error 2
/download/dpdk/mk/rte.sdkroot.mk:79: recipe for target 'install' failed
make: *** [install] Error 2
"""

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the dev mailing list