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 <[email protected]>
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
> [email protected]
> http://openvswitch.org/mailman/listinfo/discuss
>
>


-- 
Thanks and Best Regards,
Ngo Doan Lap
Mobile: 0977.833.757
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to