numam-dpdk/app
Thomas Monjalon aaf6065be5 mk: fix link with glibc < 2.17
There is a dependency on librt with old glibc.
The -lrt option was added everywhere it is needed but was also
added in some applications makefiles as the first link option.
The problem is this option is really useful only if added after
the objects or libraries using it (except if using --whole-archive).
And the -lrt options put after were removed to avoid duplicates.

It was resulting in errors linking test application:
eal_timer.c:(.text+0x128): undefined reference to `clock_gettime'
eal_timer.c:(.text+0x166): undefined reference to `clock_gettime'
eal_alarm.c:(.text+0xda): undefined reference to `clock_gettime'
eal_alarm.c:(.text+0x211): undefined reference to `clock_gettime'

It is fixed by removing superfluous -lrt in app makefiles.

Fixes: 281948b475 ("mk: fix missing librt dependencies")
Fixes: 2f6414f4ba ("mk: fix static link with glibc < 2.17")

Reported-by: Piotr Azarewicz <piotrx.t.azarewicz@intel.com>
Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
2016-07-25 17:54:57 +02:00
..
cmdline_test app/cmdline_test: add missing dependencies 2015-12-03 00:02:26 +01:00
pdump unify tools naming 2016-07-22 22:31:02 +02:00
proc_info unify tools naming 2016-07-22 22:31:02 +02:00
test mk: fix link with glibc < 2.17 2016-07-25 17:54:57 +02:00
test-acl acl: fix division by float zero in test app 2016-04-27 17:41:46 +02:00
test-pipeline ethdev: use constants for link state 2016-04-01 21:38:34 +02:00
test-pmd app/testpmd: remove redundant timer update 2016-07-15 23:40:09 +02:00
Makefile app/pdump: add tool for packet capturing 2016-06-16 23:40:21 +02:00