title: Need help on compiling DPDK hello world
body: <p>I try to learn DPDK using the following link: <a href="https://doc.dpdk.org/guides/prog_guide/build_app.html" rel="nofollow noreferrer">https://doc.dpdk.org/guides/prog_guide/build_app.html</a></p>
  <p>I have downloaded DPDK 19.11.1 version in Ubuntu 16 virtual machine. Then unzipped the tar.gz file. Then I have given the following commands</p>
  <pre><code>~/DPDK$ cd examples/helloworld/  
  ~/DPDK/examples/helloworld$ export RTE_SDK=/home/vijay/dpdk  
  ~/DPDK/examples/helloworld$ export RTE_TARGET=x86_64-native-linuxapp-gcc  
  ~/DPDK/examples/helloworld$ make  
  </code></pre>
  <p>The following error is displayed:</p>
  <blockquote>
  <p>/home/vijay/dpdk/mk/internal/rte.extvars.mk:29 cannot find .config in /home/vijay/dpdk/build. stop</p>
  </blockquote>
  <p>If I put sudo make, the following error is displayed</p>
  <pre><code>Makefile:44: *** &quot;Please define RTE_SDK environment variable&quot;. stop  
  </code></pre>
  <p>When I put echo $RTE_SDK and echo $RTE_TARGET the values are printed correctly.  I tried x86_64-native-linux-gcc for RTE_TARGET also.</p>
  <p>I tried multiple times and referred to different sources. Not sure whether I miss any steps in the process. What can I try next?</p>