> On 28 Jan 2017, at 23:38, Gyanesh Patra <pgyanesh.pa...@gmail.com> wrote:
> 
> odp-dpdk repo gives error for “configure” command when tried with dpdk 16.07 
> and dpdk 17. I am running on ubuntu16 LTS. 
> 
> ./configure --with-dpdk-path=./dpdk/x86_64-native-linuxapp-gcc
> 
> checking rte_config.h usability... no
> 
> checking rte_config.h presence... no
> 
> checking for rte_config.h... no
> 
> configure: error: in `/home/macsad/pktio/odp-dpdk':
> 
> configure: error: "can't find DPDK headers"
> 
> See `config.log' for more details
> 
> macsad@india:~/pktio/odp-dpdk$ 
> 
> P Gyanesh Patra

Hi Gyanesh,

I’m installing odp-dpdk as follows:

# DPDK install
cd <dpdk_dir>
git checkout v16.07
make config T=x86_64-native-linuxapp-gcc O=x86_64-native-linuxapp-gcc
cd x86_64-native-linuxapp-gcc/
sed -ri 's,(CONFIG_RTE_LIBRTE_PMD_PCAP=).*,\1y,' .config
cd ..
make install T=x86_64-native-linuxapp-gcc DESTDIR=./install EXTRA_CFLAGS="-fPIC"

# Odp-dpdk install
cd <odp-dpdk_dir>
./bootstrap
./configure --with-platform=linux-dpdk 
--with-sdk-install-path=<dpdk_dir>/x86_64-native-linuxapp-gcc
make


Did this help?

-Matias


Reply via email to