DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] rte_config.h: No such file or directory in DPDK 2.1.0-rc3 and DPDK 2.0.0
       [not found] <55C1C677.4040106@salzburgresearch.at>
@ 2015-08-05 10:07 ` Stefan Binna
  2015-08-05 10:14   ` Thomas Monjalon
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Binna @ 2015-08-05 10:07 UTC (permalink / raw)
  To: dev


Hi,

I am seeking help regarding DPDK 2.1.0 -rc3 as well as DPDK 2.0.0 on
Ubuntu 14.04 (Kernel 3.19.0-031900-generic) and
openvswitchdpdk.l.1.1.0-27.gz.

I can install both DPDK-versions without errors by help of following
commands:

export RTE_SDK=$(pwd)
export RTE_TARGET="x86_64-ivshmem-linuxapp-gcc"
make CONFIG_RTE_BUILD_COMBINE_LIBS=y CONFIG_RTE_BUILD_SHARED_LIB=y
install T="$RTE_TARGET"

But when I try to compile the Open vSwitch by help of following commands:

./boot.sh
./configure RTE_SDK=$(RTE_SDK) --disable-ssl make

I always get following errors:

lib/dpdk-link.c:25:24: fatal error: rte_config.h: No such file or directory
#include <rte_config.h>

compilation terminated.
make[2]: *** [lib/dpdk-link.o] Error 1
make[2]: Directory »/root/ovs_dpdk/openvswitch« is left
make[1]: *** [all-recursive] Error 1
make[1]: Directory »/root/ovs_dpdk/openvswitch« is left
make: *** [all] Error 2

Tried Workarounds:
Workaround 1: Tried to copy the file rte_config.h (found in
dpdk/include/) manually to openvswitch/lib
Result 1: Still couldn't make the build

Workaround 2: Setting the RTE_SDK variable to
dpdk/x86_64-ivshmem-linuxapp-gcc path instead of just to dpdk path
Result 2: Still couldn't make the build

Workaround 3: Use DPDK 1.7.1
Result 3: Can't even compile DPDK 1.7.1

Thanks!
Stefan.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-dev] rte_config.h: No such file or directory in DPDK 2.1.0-rc3 and DPDK 2.0.0
  2015-08-05 10:07 ` [dpdk-dev] rte_config.h: No such file or directory in DPDK 2.1.0-rc3 and DPDK 2.0.0 Stefan Binna
@ 2015-08-05 10:14   ` Thomas Monjalon
  2015-08-05 11:22     ` Stefan Binna
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Monjalon @ 2015-08-05 10:14 UTC (permalink / raw)
  To: Stefan Binna; +Cc: dev

2015-08-05 12:07, Stefan Binna:
> I can install both DPDK-versions without errors by help of following
> commands:

Good to know :)

> But when I try to compile the Open vSwitch by help of following commands:

Please send this question to the Open vSwitch project.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dpdk-dev] rte_config.h: No such file or directory in DPDK 2.1.0-rc3 and DPDK 2.0.0
  2015-08-05 10:14   ` Thomas Monjalon
@ 2015-08-05 11:22     ` Stefan Binna
  0 siblings, 0 replies; 3+ messages in thread
From: Stefan Binna @ 2015-08-05 11:22 UTC (permalink / raw)
  To: Thomas Monjalon, dev

Alright, thanks.

> 2015-08-05 12:07, Stefan Binna:
>> I can install both DPDK-versions without errors by help of following
>> commands:
> Good to know :)
>
>> But when I try to compile the Open vSwitch by help of following commands:
> Please send this question to the Open vSwitch project.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-08-05 11:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <55C1C677.4040106@salzburgresearch.at>
2015-08-05 10:07 ` [dpdk-dev] rte_config.h: No such file or directory in DPDK 2.1.0-rc3 and DPDK 2.0.0 Stefan Binna
2015-08-05 10:14   ` Thomas Monjalon
2015-08-05 11:22     ` Stefan Binna

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).