Re: [lng-odp] odp-dpdk gives error with "configure" command

2017-01-31 Thread Gyanesh Patra
Thank you.

It works fine now.

P Gyanesh Patra

On Mon, 30 Jan 2017 at 05:54 Elo Matias (Nokia - FI/Espoo)

<
mailto:Elo Matias (Nokia - FI/Espoo) 
> wrote:

a, pre, code, a:link, body { word-wrap: break-word !important; }

> On 28 Jan 2017, at 23:38, Gyanesh Patra <
mailto: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

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

./bootstrap

./configure --with-platform=linux-dpdk --with-sdk-install-path=

/x86_64-native-linuxapp-gcc

make

Did this help?

-Matias


Re: [lng-odp] odp-dpdk gives error with "configure" command

2017-01-29 Thread Elo, Matias (Nokia - FI/Espoo)

> On 28 Jan 2017, at 23:38, Gyanesh Patra  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 
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 
./bootstrap
./configure --with-platform=linux-dpdk 
--with-sdk-install-path=/x86_64-native-linuxapp-gcc
make


Did this help?

-Matias




[lng-odp] odp-dpdk gives error with "configure" command

2017-01-28 Thread Gyanesh Patra
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