[dpdk-dev] [PATCH v3 2/3] cfgfile: use RTE_LOG for errors
Thomas Monjalon
thomas at monjalon.net
Fri Jul 19 00:39:09 CEST 2019
18/07/2019 19:18, Stephen Hemminger:
> In general, DPDK libraries to not print error messages to
> stdout because that is often redirected to /dev/null for daemons.
> This patch changes cfgfile library to use RTE_LOG with its
> own type.
>
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
> ---
> lib/Makefile | 1 +
> lib/librte_cfgfile/rte_cfgfile.c | 38 +++++++++++++++++++++++---------
> 2 files changed, 29 insertions(+), 10 deletions(-)
>
> --- a/lib/Makefile
> +++ b/lib/Makefile
> DIRS-$(CONFIG_RTE_LIBRTE_CFGFILE) += librte_cfgfile
> +DEPDIRS-librte_cfgfile := librte_eal
You are missing LDLIBS += -lrte_eal in the librte_cfgfile Makefile.
I can add it while applying.
More information about the dev
mailing list