DEBUG: Executing shell function do_compile
arm-poky-linux-gnueabi-gcc -mthumb -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a15 -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -ffile-prefix-map=TOPDIR/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/chkrootkit/0.58b/chkrootkit-0.58b=/usr/src/debug/chkrootkit/0.58b -ffile-prefix-map=TOPDIR/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/chkrootkit/0.58b/chkrootkit-0.58b=/usr/src/debug/chkrootkit/0.58b -ffile-prefix-map=TOPDIR/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/chkrootkit/0.58b/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/chkrootkit/0.58b/recipe-sysroot-native= -Wl,-z,relro,-z,now -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 --sysroot=TOPDIR/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/chkrootkit/0.58b/recipe-sysroot -O2 -g -ffile-prefix-map=TOPDIR/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/chkrootkit/0.58b/chkrootkit-0.58b=/usr/src/debug/chkrootkit/0.58b -ffile-prefix-map=TOPDIR/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/chkrootkit/0.58b/chkrootkit-0.58b=/usr/src/debug/chkrootkit/0.58b -ffile-prefix-map=TOPDIR/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/chkrootkit/0.58b/recipe-sysroot= -ffile-prefix-map=TOPDIR/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/chkrootkit/0.58b/recipe-sysroot-native= -pipe -DHAVE_LASTLOG_H -o chklastlog chklastlog.c
chklastlog.c: In function 'main':
chklastlog.c:134:25: error: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types]
134 | signal(SIGALRM, read_status);
| ^~~~~~~~~~~
| |
| void (*)(void)
In file included from chklastlog.c:47:
TOPDIR/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/chkrootkit/0.58b/recipe-sysroot/usr/include/signal.h:88:57: note: expected '__sighandler_t' {aka 'void (*)(int)'} but argument is of type 'void (*)(void)'
88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler)
| ~~~~~~~~~~~~~~~^~~~~~~~~
chklastlog.c:81:6: note: 'read_status' declared here
81 | void read_status();
| ^~~~~~~~~~~
TOPDIR/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/chkrootkit/0.58b/recipe-sysroot/usr/include/signal.h:72:16: note: '__sighandler_t' declared here
72 | typedef void (*__sighandler_t) (int);
| ^~~~~~~~~~~~~~
WARNING: exit code 2 from a shell command.
make: *** [Makefile:43: chklastlog] Error 1