I'm trying to compile rt-ax86u and getting the following errors:
mksquashfs.c: In function ‘progress_thrd’:
mksquashfs.c:2705:26: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types]
2705 | signal(SIGWINCH, sigwinch_handler);
| ^~~~~~~~~~~~~~~~
| |
| void (*)(void)
In file included from mksquashfs.c:41:
/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)
| ~~~~~~~~~~~~~~~^~~~~~~~~
mksquashfs.c:841:6: note: ‘sigwinch_handler’ declared here
841 | void sigwinch_handler()
| ^~~~~~~~~~~~~~~~
/usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here
72 | typedef void (*__sighandler_t) (int);
| ^~~~~~~~~~~~~~
mksquashfs.c:2706:25: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types]
2706 | signal(SIGALRM, sigalrm_handler);
Also, last time I tried to configure my RT-AX86U wifi router it took FOREVER to boot and get to the configuration screen. Is there anything I can do to speed it up?
Thank you in advance!
John Byrne
mksquashfs.c: In function ‘progress_thrd’:
mksquashfs.c:2705:26: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types]
2705 | signal(SIGWINCH, sigwinch_handler);
| ^~~~~~~~~~~~~~~~
| |
| void (*)(void)
In file included from mksquashfs.c:41:
/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)
| ~~~~~~~~~~~~~~~^~~~~~~~~
mksquashfs.c:841:6: note: ‘sigwinch_handler’ declared here
841 | void sigwinch_handler()
| ^~~~~~~~~~~~~~~~
/usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here
72 | typedef void (*__sighandler_t) (int);
| ^~~~~~~~~~~~~~
mksquashfs.c:2706:25: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types]
2706 | signal(SIGALRM, sigalrm_handler);
Also, last time I tried to configure my RT-AX86U wifi router it took FOREVER to boot and get to the configuration screen. Is there anything I can do to speed it up?
Thank you in advance!
John Byrne