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> |
||
|---|---|---|
| config/m4 | ||
| include/linux | ||
| .gitignore | ||
| Android.mk | ||
| GNUmakefile.am | ||
| Makefile | ||
| README.md | ||
| asc2log.c | ||
| autogen.sh | ||
| bcmserver.c | ||
| can-calc-bit-timing.c | ||
| canbusload.c | ||
| candump.c | ||
| canfdtest.c | ||
| canframelen.c | ||
| canframelen.h | ||
| cangen.c | ||
| cangw.c | ||
| canlogserver.c | ||
| canplayer.c | ||
| cansend.c | ||
| cansniffer.c | ||
| configure.ac | ||
| isotpdump.c | ||
| isotpperf.c | ||
| isotprecv.c | ||
| isotpsend.c | ||
| isotpserver.c | ||
| isotpsniffer.c | ||
| isotptun.c | ||
| lib.c | ||
| lib.h | ||
| log2asc.c | ||
| log2long.c | ||
| slcan_attach.c | ||
| slcand.c | ||
| slcanpty.c | ||
| terminal.h | ||
README.md
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