Rahul Bedarkar 5f4785c2ac Add check to detect clock_nanosleep() in librt
With glibc versions before 2.17, we get following build error:

  canfdtest.o: In function `millisleep':
  canfdtest.c:(.text+0x212): undefined reference to `clock_nanosleep'
  collect2: error: ld returned 1 exit status
  make[1]: *** [canfdtest] Error 1
  make[1]: *** Waiting for unfinished jobs....

glibc versions before 2.17 needs to link with -lrt for
clock_nanosleep(). This patch adds support to detect if linking with
librt is required.

This build issue is detected by Buildroot autobuilder:
http://autobuild.buildroot.net/results/0e5/0e5242376ff6aa82e89ed1172350e05009d48156/build-end.log

Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
2016-12-20 19:29:15 +05:30
2010-04-19 12:12:18 +00:00
2015-03-06 10:02:35 +01:00
2014-07-02 16:03:34 +02:00
2012-11-14 20:57:16 +01:00
2014-01-31 11:52:15 +01:00
2016-06-13 10:26:53 +02:00
2016-06-13 10:52:41 +02:00
2015-07-22 21:12:44 +02:00
2012-11-14 20:57:16 +01:00
2015-09-04 11:16:17 +02:00
2015-10-15 10:18:15 +02:00
2012-11-14 20:57:16 +01:00

SocketCAN userspace utilities and tools

CAN is a message-based network protocol designed for vehicles originally initially created by Robert Bosch GmbH. SocketCAN is a set of open source CAN drivers and a networking stack contributed by Volkswagen Research to the Linux kernel.

This package contains some userspace utilities for Linux SocketCAN subsystem: asc2log, bcmserver, canbusload, can-calc-bit-timing, candump, canfdtest, cangen, cangw, canlogserver, canplayer, cansend, cansniffer, isotpdump, isotprecv, isotpperf, isotpsend, isotpserver, isotpsniffer, isotptun, log2asc, log2long, slcan_attach, slcand and slcanpty.


Description copied from https://packages.debian.org/sid/can-utils

S
Description
Linux-CAN / SocketCAN user space applications
Readme
2.9 MiB
Languages
C 98.1%
CMake 0.7%
Makefile 0.6%
Shell 0.5%