[dpdk-dev] [PATCH] mk: fix static link with glibc < 2.17
Azarewicz, PiotrX T
piotrx.t.azarewicz at intel.com
Mon Jul 25 13:13:57 CEST 2016
> The problem is that -lrt appears before -lrte_eal.
> The question is: where does it come from?
> It is even before _LDLIBS-y += -L$(RTE_SDK_BIN)/lib... mystery
root cause:
commit c7cda4d8b4ea9cb0f209dda36882d225354b1db9
and my workaround is:
/app/test/Makefile
ifeq ($(CONFIG_RTE_LIBRTE_SCHED),y)
-LDLIBS += -lrt
SRCS-y += test_red.c
SRCS-y += test_sched.c
endif
More information about the dev
mailing list