[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openvswitch-discuss
Subject:    [ovs-discuss] Did anybody successfully compiled branch 2.4 with dpdk 2.0?
From:       lapngodoan () gmail ! com (Ngo Doan Lap)
Date:       2015-06-25 16:46:36
Message-ID: CAEgdzZJWR=4zm_B47XR1GUCskZUG=8WTtJKUF-KXzh-A_L2inA () mail ! gmail ! com
[Download RAW message or body]

Hi,
I got this issue also and after check the config.log, I found that dpdk
build directory was not set correctly.
The correct config: ./configure --with-dpdk=$RTE_SDK/$RTE_TARGET
Where RTE_SDK is your dpdk source and RTE_TARGET is your build target.
Of course, you need to build dpdk first.



On Thu, Jun 25, 2015 at 6:13 PM, Rapelly, Varun <vrapelly at sonusnet.com>
wrote:

>  Hi Team,
>
>
>
> When I tried to configure with branch2.4 [and in master branch also] with
> DPDK, getting following error. I had updated the following in
> config/common_linuxapp file in dpdk-2.0 dir.
>
>
>
>      `CONFIG_RTE_BUILD_COMBINE_LIBS=y`
>
>      `CONFIG_RTE_LIBRTE_VHOST=y`
>
>
>
> Following error is coming:
>
>
>
> checking for stdio.h... yes
>
> checking for string.h... (cached) yes
>
> checking whether gcc -std=gnu99 accepts -Werror... yes
>
> checking whether gcc -std=gnu99 accepts -Wall... yes
>
> checking whether gcc -std=gnu99 accepts -Wextra... yes
>
> checking whether gcc -std=gnu99 accepts -Wno-sign-compare... yes
>
> checking whether gcc -std=gnu99 accepts -Wpointer-arith... yes
>
> checking whether gcc -std=gnu99 accepts -Wformat-security... no
>
> checking whether gcc -std=gnu99 accepts -Wswitch-enum... yes
>
> checking whether gcc -std=gnu99 accepts -Wunused-parameter... yes
>
> checking whether gcc -std=gnu99 accepts -Wbad-function-cast... yes
>
> checking whether gcc -std=gnu99 accepts -Wcast-align... yes
>
> checking whether gcc -std=gnu99 accepts -Wstrict-prototypes... no
>
> checking whether gcc -std=gnu99 accepts -Wold-style-definition... no
>
> checking whether gcc -std=gnu99 accepts -Wmissing-prototypes... yes
>
> checking whether gcc -std=gnu99 accepts -Wmissing-field-initializers... yes
>
> checking whether gcc -std=gnu99 accepts -Wthread-safety... no
>
> checking whether gcc -std=gnu99 accepts -fno-strict-aliasing... yes
>
> checking whether gcc -std=gnu99 accepts -Qunused-arguments... no
>
> checking whether gcc -std=gnu99 accepts -Wno-unused... yes
>
> checking whether gcc -std=gnu99 accepts -Wno-unused-parameter... yes
>
> checking target hint for cgcc... x86_64
>
> checking whether make has GNU make $(if) extension... yes
>
> configure: error: cannot link with dpdk
>
>
>
>
>
> Regards,
>
> Varun
>
>
>
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> http://openvswitch.org/mailman/listinfo/discuss
>
>


-- 
Thanks and Best Regards,
Ngo Doan Lap
Mobile: 0977.833.757
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/discuss/attachments/20150625/f351a1d7/attachment.html>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic