What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Compile problems and slow boot

jbyrnescu

New Around Here
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
 

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top