esnet / dpdk-plugin

Other
23 stars 13 forks source link

Build Errors trying to install on zeek 5.5 #11

Open mmusiak opened 4 months ago

mmusiak commented 4 months ago

When trying to install dpdk-plugin in zeek 5.2.2 with this command:

zkg install https://github.com/esnet/dpdk-plugin.git

I'm seeing these errors: Building CXX object CMakeFiles/ESnet-DPDK.linux-x86_64.dir/src/DPDK.cc.o /opt/secureworks/dpdk-plugin/src/DPDK.cc: In member function int zeek::iosource::DPDK::port_init(uint16_t): /opt/secureworks/dpdk-plugin/src/DPDK.cc:117:44: error: 'ETH_MQ_RX_RSSâ was not declared in this scope; did you mean âRTE_ETH_MQ_RX_RSS? 117 | .mq_mode = ETH_MQ_RX_RSS, | ^~~~~ | RTE_ETH_MQ_RX_RSS /opt/secureworks/dpdk-plugin/src/DPDK.cc:132:59: error: 'ETH_RSS_NONFRAG_IPV4_TCP' was not declared in this scope; did you mean 'RTE_ETH_RSS_NONFRAG_IPV4_TCP'? 132 | .rss_hf = ETH_RSS_NONFRAG_IPV4_TCP | ETH_RSS_NONFRAG_IPV6_TCP | | ^~~~~~~~ | RTE_ETH_RSS_NONFRAG_IPV4_TCP /opt/secureworks/dpdk-plugin/src/DPDK.cc:132:86: error: 'ETH_RSS_NONFRAG_IPV6_TCP' was not declared in this scope; did you mean 'RTE_ETH_RSS_NONFRAG_IPV6_TCP'? 132 | .rss_hf = ETH_RSS_NONFRAG_IPV4_TCP | ETH_RSS_NONFRAG_IPV6_TCP | | ^~~~~~~~ | RTE_ETH_RSS_NONFRAG_IPV6_TCP /opt/secureworks/dpdk-plugin/src/DPDK.cc:133:39: error: 'ETH_RSS_NONFRAG_IPV4_UDP' was not declared in this scope; did you mean 'RTE_ETH_RSS_NONFRAG_IPV4_UDP'? 133 | ETH_RSS_NONFRAG_IPV4_UDP | ETH_RSS_NONFRAG_IPV6_UDP | | ^~~~~~~~ | RTE_ETH_RSS_NONFRAG_IPV4_UDP /opt/secureworks/dpdk-plugin/src/DPDK.cc:133:66: error: 'ETH_RSS_NONFRAG_IPV6_UDP' was not declared in this scope; did you mean 'RTE_ETH_RSS_NONFRAG_IPV6_UDP'? 133 | ETH_RSS_NONFRAG_IPV4_UDP | ETH_RSS_NONFRAG_IPV6_UDP | | ^~~~~~~~ | RTE_ETH_RSS_NONFRAG_IPV6_UDP /opt/secureworks/dpdk-plugin/src/DPDK.cc:134:39: error: 'ETH_RSS_NONFRAG_IPV4_OTHER' was not declared in this scope; did you mean 'RTE_ETH_RSS_NONFRAG_IPV4_OTHER'? 134 | ETH_RSS_NONFRAG_IPV4_OTHER | ETH_RSS_NONFRAG_IPV6_OTHER | | ^~~~~~ | RTE_ETH_RSS_NONFRAG_IPV4_OTHER /opt/secureworks/dpdk-plugin/src/DPDK.cc:134:68: error: 'ETH_RSS_NONFRAG_IPV6_OTHER' was not declared in this scope; did you mean 'RTE_ETH_RSS_NONFRAG_IPV6_OTHER'? 134 | ETH_RSS_NONFRAG_IPV4_OTHER | ETH_RSS_NONFRAG_IPV6_OTHER | | ^~~~~~ | RTE_ETH_RSS_NONFRAG_IPV6_OTHER /opt/secureworks/dpdk-plugin/src/DPDK.cc:135:39: error: 'ETH_RSS_FRAG_IPV4' was not declared in this scope; did you mean 'RTE_ETH_RSS_FRAG_IPV4'? 135 | ETH_RSS_FRAG_IPV4 | ETH_RSS_FRAG_IPV6, | ^~~~~ | RTE_ETH_RSS_FRAG_IPV4 /opt/secureworks/dpdk-plugin/src/DPDK.cc:135:59: error: 'ETH_RSS_FRAG_IPV6' was not declared in this scope; did you mean 'RTE_ETH_RSS_FRAG_IPV6'? 135 | ETH_RSS_FRAG_IPV4 | ETH_RSS_FRAG_IPV6, | ^~~~~ | RTE_ETH_RSS_FRAG_IPV6