[dpdk-dev] [PATCH] DPDK fails to build into one single library ("CONFIG_RTE_BUILD_COMBINE_LIBS=y").

Rauta, Alin alin.rauta at intel.com
Mon Jul 20 20:03:49 CEST 2015


Hi,

I'm trying to build the latest dpdk code into one combine library, but the compilation fails like below. The issue seems to be around "librte_malloc".

" make install T=x86_64-native-linuxapp-gcc"

== Build lib/librte_malloc
  AR librte_malloc.a
cp: missing destination file operand after ‘/root/dpdk/x86_64-native-linuxapp-gcc/build/lib’
Try 'cp --help' for more information.
/root/dpdk/mk/rte.lib.mk:145: recipe for target 'librte_malloc.a' failed
make[5]: *** [librte_malloc.a] Error 1
/root/dpdk/mk/rte.subdir.mk:61: recipe for target 'librte_malloc' failed
make[4]: *** [librte_malloc] Error 2
/root/dpdk/mk/rte.sdkbuild.mk:93: recipe for target 'lib' failed
make[3]: *** [lib] Error 2
/root/dpdk/mk/rte.sdkroot.mk:124: recipe for target 'all' failed
make[2]: *** [all] Error 2
/root/dpdk/mk/rte.sdkinstall.mk:58: recipe for target 'x86_64-native-linuxapp-gcc_install' failed
make[1]: *** [x86_64-native-linuxapp-gcc_install] Error 2
/root/dpdk/mk/rte.sdkroot.mk:102: recipe for target 'install' failed
make: *** [install] Error 2
[root at silpixa00390856 dpdk]#

I'm not sure if this is the fix or the right fix, I'm also not sure on the impact the change has, but commenting out
"-DIRS-$(CONFIG_RTE_LIBRTE_EAL) += librte_malloc" from "lib/Makefile" makes the compilation succeed.

Let me know what you think.

Thanks in advance,
Alin Rauta (1):
  DPDK fails to build into one single library
    ("CONFIG_RTE_BUILD_COMBINE_LIBS=y").

 lib/Makefile | 1 -
 1 file changed, 1 deletion(-)

-- 
2.1.0



More information about the dev mailing list