<div dir="ltr">Hi All,<div><br></div><div><br></div><div>I&#39;am trying to install OVS-2.5 with dpdk.</div><div><br></div><div>I have downloaded and installed dpdk-2.2.0 version.</div><div><br></div><div>Executed the following steps to install OVS-2.5 with dpdk.</div><div>    -  <span style="background-color:rgb(239,240,241);color:rgb(36,39,41);font-family:Consolas,Menlo,Monaco,&quot;Lucida Console&quot;,&quot;Liberation Mono&quot;,&quot;DejaVu Sans Mono&quot;,&quot;Bitstream Vera Sans Mono&quot;,&quot;Courier New&quot;,monospace,sans-serif;font-size:13px;white-space:pre-wrap">export DPDK_BUILD=$DPDK_DIR/x86_64-native-linuxapp-gcc/</span></div><span style="color:rgb(36,39,41);font-family:Consolas,Menlo,Monaco,&quot;Lucida Console&quot;,&quot;Liberation Mono&quot;,&quot;DejaVu Sans Mono&quot;,&quot;Bitstream Vera Sans Mono&quot;,&quot;Courier New&quot;,monospace,sans-serif;font-size:13px;white-space:pre-wrap;background-color:rgb(239,240,241)">  - ./configure --with-dpdk=$DPDK_BUILD
  - make </span><div><span style="background-color:rgb(239,240,241);color:rgb(36,39,41);font-family:Consolas,Menlo,Monaco,&quot;Lucida Console&quot;,&quot;Liberation Mono&quot;,&quot;DejaVu Sans Mono&quot;,&quot;Bitstream Vera Sans Mono&quot;,&quot;Courier New&quot;,monospace,sans-serif;font-size:13px;white-space:pre-wrap">  - make install</span> <br><div><br></div><div>But during make the below compilation errors i got:</div></div><div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><br></div><div><div>libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I ./include -I ./include -I ./lib -I ./lib -Wstrict-prototypes -Wall -Wextra -Wno-sign-compare -Wpointer-arith -Wformat -Wformat-security -Wswitch-enum -Wunused-parameter -Wbad-function-cast -Wcast-align -Wstrict-prototypes -Wold-style-definition -Wmissing-prototypes -Wmissing-field-initializers -fno-strict-aliasing -Wswitch-bool -Wlogical-not-parentheses -Wsizeof-array-argument -Wbool-compare -mssse3 -I/usr/src/dpdk-2.2.0/x86_64-native-linuxapp-gcc//include -D_FILE_OFFSET_BITS=64 -g -O2 -MT lib/bfd.lo -MD -MP -MF lib/.deps/bfd.Tpo -c lib/bfd.c -o lib/bfd.o</div></div><div><div>In file included from lib/bfd.c:27:0:</div></div><div><div>lib/dp-packet.h: In function ‘dp_packet_ip_checksum_valid’:</div></div><div><div>lib/dp-packet.h:643:32: error: ‘PKT_RX_IP_CKSUM_MASK’ undeclared (first use in this function)</div></div><div><div>     return (p-&gt;mbuf.ol_flags &amp; PKT_RX_IP_CKSUM_MASK) ==</div></div><div><div>                                ^</div></div><div><div>lib/dp-packet.h:643:32: note: each undeclared identifier is reported only once for each function it appears in</div></div><div><div>lib/dp-packet.h:644:13: error: ‘PKT_RX_IP_CKSUM_GOOD’ undeclared (first use in this function)</div></div><div><div>             PKT_RX_IP_CKSUM_GOOD;</div></div><div><div>             ^</div></div><div><div>lib/dp-packet.h: In function ‘dp_packet_ip_checksum_bad’:</div></div><div><div>lib/dp-packet.h:654:32: error: ‘PKT_RX_IP_CKSUM_MASK’ undeclared (first use in this function)</div></div><div><div>     return (p-&gt;mbuf.ol_flags &amp; PKT_RX_IP_CKSUM_MASK) ==</div></div><div><div>                                ^</div></div><div><div>lib/dp-packet.h: In function ‘dp_packet_l4_checksum_valid’:</div></div><div><div>lib/dp-packet.h:665:32: error: ‘PKT_RX_L4_CKSUM_MASK’ undeclared (first use in this function)</div></div><div><div>     return (p-&gt;mbuf.ol_flags &amp; PKT_RX_L4_CKSUM_MASK) ==</div></div><div><div>                                ^</div></div><div><div>lib/dp-packet.h:666:13: error: ‘PKT_RX_L4_CKSUM_GOOD’ undeclared (first use in this function)</div></div><div><div>             PKT_RX_L4_CKSUM_GOOD;</div></div><div><div>             ^</div></div><div><div>lib/dp-packet.h: In function ‘dp_packet_l4_checksum_bad’:</div></div><div><div>lib/dp-packet.h:676:32: error: ‘PKT_RX_L4_CKSUM_MASK’ undeclared (first use in this function)</div></div><div><div>     return (p-&gt;mbuf.ol_flags &amp; PKT_RX_L4_CKSUM_MASK) ==</div></div><div><div>                                ^</div></div><div><div>lib/dp-packet.h: In function ‘reset_dp_packet_checksum_ol_flags’:</div></div><div><div>lib/dp-packet.h:687:27: error: ‘PKT_RX_L4_CKSUM_GOOD’ undeclared (first use in this function)</div></div><div><div>     p-&gt;mbuf.ol_flags &amp;= ~(PKT_RX_L4_CKSUM_GOOD | PKT_RX_L4_CKSUM_BAD |</div></div><div><div>                           ^</div></div><div><div>lib/dp-packet.h:688:27: error: ‘PKT_RX_IP_CKSUM_GOOD’ undeclared (first use in this function)</div></div><div><div>                           PKT_RX_IP_CKSUM_GOOD | PKT_RX_IP_CKSUM_BAD);</div></div><div><div>                           ^</div></div><div><div>Makefile:4700: recipe for target &#39;lib/bfd.lo&#39; failed</div></div><div><div>make[2]: *** [lib/bfd.lo] Error 1</div></div><div><div>make[2]: Leaving directory &#39;/home/asfvolt/ovs&#39;</div></div><div><div>Makefile:5426: recipe for target &#39;all-recursive&#39; failed</div></div><div><div>make[1]: *** [all-recursive] Error 1</div></div><div><div>make[1]: Leaving directory &#39;/home/asfvolt/ovs&#39;</div></div><div><div>Makefile:3171: recipe for target &#39;all&#39; failed</div></div><div><div>make: *** [all] Error 2</div></div></blockquote></div><div><br></div><div><br></div><div>Please let me know which version of dpdk is compatible to compile OVS-2.5 with dpdk.</div><div><br></div><div><br></div><div>Thanks,</div><div>Rajesh</div></div>