From: "Rauta, Alin" <alin.rauta@intel.com>
To: "dev@dpdk.org" <dev@dpdk.org>
Cc: "Varlese, Marco" <marco.varlese@intel.com>
Subject: [dpdk-dev] [PATCH] DPDK fails to build into one single library ("CONFIG_RTE_BUILD_COMBINE_LIBS=y").
Date: Mon, 20 Jul 2015 18:03:49 +0000 [thread overview]
Message-ID: <313CE12EB78416478E6F6FC8F09CCF8C353CAD@IRSMSX101.ger.corp.intel.com> (raw)
In-Reply-To: <1437389608-18697-1-git-send-email-alin.rauta@intel.com>
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@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
next parent reply other threads:[~2015-07-20 18:04 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1437389608-18697-1-git-send-email-alin.rauta@intel.com>
2015-07-20 18:03 ` Rauta, Alin [this message]
2015-07-21 10:18 ` [dpdk-dev] [PATCH] malloc: fix combined lib build Sergio Gonzalez Monroy
2015-07-21 10:18 ` Sergio Gonzalez Monroy
2015-07-21 10:20 ` Gonzalez Monroy, Sergio
2015-07-21 10:33 ` [dpdk-dev] [PATCH v2] " Sergio Gonzalez Monroy
2015-07-22 8:26 ` Thomas Monjalon
[not found] ` <1437389608-18697-2-git-send-email-alin.rauta@intel.com>
2015-07-20 18:04 ` [dpdk-dev] [PATCH] DPDK fails to build into one single library ("CONFIG_RTE_BUILD_COMBINE_LIBS=y") Rauta, Alin
2015-07-20 18:14 ` Thomas Monjalon
2015-07-21 9:49 ` Rauta, Alin
2015-07-21 9:53 ` Gonzalez Monroy, Sergio
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=313CE12EB78416478E6F6FC8F09CCF8C353CAD@IRSMSX101.ger.corp.intel.com \
--to=alin.rauta@intel.com \
--cc=dev@dpdk.org \
--cc=marco.varlese@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).