numam-dpdk/examples
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
..
bond examples/bond: check thread termination 2016-07-11 17:21:21 +02:00
cmdline examples: fix whitespace 2015-06-12 11:10:10 +02:00
distributor examples/distributor: fix Rx thread logic for zero packet 2016-07-15 23:42:48 +02:00
dpdk_qat examples: remove useless check of port count 2016-05-16 21:01:51 +02:00
ethtool ethdev: get registers width 2016-07-10 14:55:42 +02:00
exception_path examples/exception_path: fix shift operation in lcore setup 2016-04-27 17:41:46 +02:00
helloworld tailq: remove unneeded inclusions 2015-03-10 11:47:46 +01:00
ip_fragmentation examples: fix duplicated lpm6 name 2016-06-15 16:29:18 +02:00
ip_pipeline examples/ip_pipeline: fix performance with default config 2016-07-22 12:40:26 +02:00
ip_reassembly examples: fix duplicated lpm6 name 2016-06-15 16:29:18 +02:00
ipsec-secgw examples/ipsec-secgw: call start function 2016-07-22 12:40:21 +02:00
ipv4_multicast eal: add assert macro for debug 2016-05-02 15:31:17 +02:00
kni examples: remove useless check of port count 2016-05-16 21:01:51 +02:00
l2fwd examples/l2fwd: increase mempool cache size for performance 2016-06-08 22:38:52 +02:00
l2fwd-cat examples/l2fwd-cat: add sample application for PQoS CAT and CDP 2016-03-21 23:36:43 +01:00
l2fwd-crypto examples/l2fwd-crypto: call start function 2016-07-22 12:39:53 +02:00
l2fwd-ivshmem examples/l2fwd-ivshmem: fix build with icc 2016-07-22 18:00:41 +02:00
l2fwd-jobstats examples/l2fwd-jobstats: fix a typo 2016-06-08 22:38:52 +02:00
l2fwd-keepalive examples/l2fwd-keepalive: fix memory leak 2016-06-21 15:56:39 +02:00
l3fwd examples/l3fwd: update usage and documentation 2016-07-11 17:21:21 +02:00
l3fwd-acl examples: remove useless check of port count 2016-05-16 21:01:51 +02:00
l3fwd-power examples: remove useless check of port count 2016-05-16 21:01:51 +02:00
l3fwd-vf examples: remove useless check of port count 2016-05-16 21:01:51 +02:00
link_status_interrupt examples: remove useless check of port count 2016-05-16 21:01:51 +02:00
load_balancer ethdev: use constants for link state 2016-04-01 21:38:34 +02:00
multi_process examples: fix dependencies on hash library 2016-07-10 16:23:13 +02:00
netmap_compat examples/netmap_compat: fix infinite loop 2016-05-16 21:01:51 +02:00
packet_ordering examples: remove useless debug flags 2016-05-02 15:31:17 +02:00
performance-thread examples/performance-thread: add missing braces 2016-07-22 12:40:26 +02:00
ptpclient mk: fix link with glibc < 2.17 2016-07-25 17:54:57 +02:00
qos_meter examples/qos_meter: check flow configuration error 2016-05-16 18:49:12 +02:00
qos_sched mempool: rename functions with confusing names 2016-07-01 12:35:57 +02:00
quota_watermark examples/quota_watermark: fix memory overflow 2016-06-08 22:38:52 +02:00
rxtx_callbacks apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
skeleton apps: fix default mbuf size 2015-05-11 15:51:14 +02:00
tep_termination examples/tep_term: fix port id check 2016-07-11 17:21:21 +02:00
timer tailq: remove unneeded inclusions 2015-03-10 11:47:46 +01:00
vhost examples/vhost: fix performance 2016-07-22 12:40:26 +02:00
vhost_xen eal: fix thread naming on FreeBSD 2016-06-17 18:04:22 +02:00
vm_power_manager examples/vm_power_manager: remove dependency on internal header 2016-07-11 17:23:32 +02:00
vmdq examples: remove useless check of port count 2016-05-16 21:01:51 +02:00
vmdq_dcb examples: remove useless check of port count 2016-05-16 21:01:51 +02:00
Makefile examples: fix dependencies on hash library 2016-07-10 16:23:13 +02:00