==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_0dd20645-3c56-41d0-945a-e466a04417b4]...done ==> Making package: lrs 073-1.2 (Mon Apr 27 23:26:52 2026) ==> Retrieving sources... -> Downloading lrslib-073.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 0 0 4.35M 0 15683 0 0 15663 0 04:51 00:01 04:50 15664 75 4.35M 75 3.28M 0 0 1.64M 0 00:02 00:02 1.64M 100 4.35M 100 4.35M 0 0 2.15M 0 00:02 00:02 1.64M 100 4.35M 100 4.35M 0 0 2.15M 0 00:02 00:02 1.64M 100 4.35M 100 4.35M 0 0 2.15M 0 00:02 00:02 1.64M -> Found lrs-system-cflags.patch ==> Validating source files with sha256sums... lrslib-073.tar.gz ... Passed lrs-system-cflags.patch ... Passed ==> Making package: lrs 073-1.2 (Mon Apr 27 21:26:56 2026) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found lrslib-073.tar.gz -> Found lrs-system-cflags.patch ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Extracting lrslib-073.tar.gz with bsdtar ==> Starting prepare()... patching file makefile Hunk #1 succeeded at 75 with fuzz 2 (offset 43 lines). Hunk #2 succeeded at 246 (offset 18 lines). Hunk #3 succeeded at 259 (offset 18 lines). ==> Starting build()... cc -O3 -Wall -I lrsarith-011/ -DMA -DB128 -c -o lrs.o lrs.c cc -O3 -Wall -I lrsarith-011/ -DMA -DSAFE -DLRSLONG -c -o lrslong1.o lrsarith-011/lrslong.c cc -O3 -Wall -I lrsarith-011/ -fopenmp -DPLRS -DMA -DSAFE -DLRSLONG -c -o lrslib1.o lrslib.c cc -O3 -Wall -I lrsarith-011/ -fopenmp -DPLRS -DMA -I/usr/include -c -o lrslibgmp.o lrslib.c -DGMP -lgmp cc -O3 -Wall -I lrsarith-011/ -DMA -I/usr/include -c -o lrsgmp.o lrsarith-011/lrsgmp.c -DGMP -lgmp cc -O3 -Wall -I lrsarith-011/ -c -o lrsdriver.o lrsdriver.c cc -O3 -Wall -I lrsarith-011/ -fopenmp -DPLRS -DMA -DSAFE -DB128 -DLRSLONG -c -o lrslib2.o lrslib.c cc -O3 -Wall -I lrsarith-011/ -DMA -DSAFE -DB128 -DLRSLONG -c -o lrslong2.o lrsarith-011/lrslong.c cc -O3 -Wall -I lrsarith-011/ -fopenmp -DPLRS -I/usr/include -o lrsgmp lrs.c lrslib.c lrsarith-011/lrsgmp.c lrsdriver.c -L/usr/lib -DGMP -lgmp In file included from lrslib.c:36: lrslib.c: In function ‘lrs_read_dic_1’: In file included from lrslib.c:36: lrslib.c: In function ‘lrs_read_dic_2’: lrslib.h:154:23: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types] 154 | #define timecheck suf(timecheck) | ^~~~~~~~~ | | | void (*)(void) lrslib.h:175:34: note: in definition of macro ‘errcheck’ 175 | #define errcheck(s,e) if ((long)(e)==-1L){ perror(s);exit(1);} | ^ lrslib.h:154:19: note: in expansion of macro ‘suf’ 154 | #define timecheck suf(timecheck) | ^~~ lrslib.c:1747:52: note: in expansion of macro ‘timecheck’ 1747 | errcheck ("signal", signal (SIGALRM, timecheck)); | ^~~~~~~~~ lrslib.h:154:23: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types] 154 | #define timecheck suf(timecheck) | ^~~~~~~~~ | | | void (*)(void) lrslib.h:175:34: note: in definition of macro ‘errcheck’ 175 | #define errcheck(s,e) if ((long)(e)==-1L){ perror(s);exit(1);} | ^ lrslib.h:154:19: note: in expansion of macro ‘suf’ 154 | #define timecheck suf(timecheck) | ^~~ lrslib.c:1747:52: note: in expansion of macro ‘timecheck’ 1747 | errcheck ("signal", signal (SIGALRM, timecheck)); | ^~~~~~~~~ In file included from lrsarith-011/lrslong.h:183, from lrslib.h:170: /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) | ~~~~~~~~~~~~~~~^~~~~~~~~ In file included from lrsarith-011/lrslong.h:183, from lrslib.h:170: /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) | ~~~~~~~~~~~~~~~^~~~~~~~~ lrslib.h:154:23: note: ‘timecheck_2’ declared here 154 | #define timecheck suf(timecheck) | ^~~~~~~~~ lrsarith-011/lrslong.h:240:19: note: in definition of macro ‘suf’ 240 | #define suf(func) func##_2 | ^~~~ lrslib.c:90:13: note: in expansion of macro ‘timecheck’ 90 | static void timecheck (); | ^~~~~~~~~ lrslib.h:154:23: note: ‘timecheck_1’ declared here 154 | #define timecheck suf(timecheck) | ^~~~~~~~~ lrsarith-011/lrslong.h:242:19: note: in definition of macro ‘suf’ 242 | #define suf(func) func##_1 | ^~~~ lrslib.c:90:13: note: in expansion of macro ‘timecheck’ 90 | static void timecheck (); | ^~~~~~~~~ /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ In file included from lrslib.c:36: lrslib.c: In function ‘lrs_read_dic_gmp’: lrslib.h:154:23: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types] 154 | #define timecheck suf(timecheck) | ^~~~~~~~~ | | | void (*)(void) lrslib.h:175:34: note: in definition of macro ‘errcheck’ 175 | #define errcheck(s,e) if ((long)(e)==-1L){ perror(s);exit(1);} | ^ lrslib.h:154:19: note: in expansion of macro ‘suf’ 154 | #define timecheck suf(timecheck) | ^~~ lrslib.c:1747:52: note: in expansion of macro ‘timecheck’ 1747 | errcheck ("signal", signal (SIGALRM, timecheck)); | ^~~~~~~~~ In file included from lrsarith-011/lrsgmp.h:196, from lrslib.h:170: /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) | ~~~~~~~~~~~~~~~^~~~~~~~~ lrslib.h:154:23: note: ‘timecheck_gmp’ declared here 154 | #define timecheck suf(timecheck) | ^~~~~~~~~ lrsarith-011/lrsgmp.h:83:19: note: in definition of macro ‘suf’ 83 | #define suf(func) func##_gmp | ^~~~ lrslib.c:90:13: note: in expansion of macro ‘timecheck’ 90 | static void timecheck (); | ^~~~~~~~~ /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ lrslib.c: In function ‘setup_signals’: lrslib.h:53:28: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types] 53 | #define die_gracefully suf(die_gracefully) | ^~~~~~~~~~~~~~ | | | void (*)(void) lrslib.h:175:34: note: in definition of macro ‘errcheck’ 175 | #define errcheck(s,e) if ((long)(e)==-1L){ perror(s);exit(1);} | ^ lrslib.h:53:24: note: in expansion of macro ‘suf’ 53 | #define die_gracefully suf(die_gracefully) | ^~~ lrslib.c:6363:40: note: in expansion of macro ‘die_gracefully’ 6363 | errcheck ("signal", signal (SIGTERM, die_gracefully)); | ^~~~~~~~~~~~~~ /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) | ~~~~~~~~~~~~~~~^~~~~~~~~ lrslib.h:53:28: note: ‘die_gracefully_2’ declared here 53 | #define die_gracefully suf(die_gracefully) | ^~~~~~~~~~~~~~ lrsarith-011/lrslong.h:240:19: note: in definition of macro ‘suf’ 240 | #define suf(func) func##_2 | ^~~~ lrslib.c:88:13: note: in expansion of macro ‘die_gracefully’ 88 | static void die_gracefully (); | ^~~~~~~~~~~~~~ /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ lrslib.h:154:23: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types] 154 | #define timecheck suf(timecheck) | ^~~~~~~~~ | | | void (*)(void) lrslib.h:175:34: note: in definition of macro ‘errcheck’ 175 | #define errcheck(s,e) if ((long)(e)==-1L){ perror(s);exit(1);} | ^ lrslib.h:154:19: note: in expansion of macro ‘suf’ 154 | #define timecheck suf(timecheck) | ^~~ lrslib.c:6364:40: note: in expansion of macro ‘timecheck’ 6364 | errcheck ("signal", signal (SIGALRM, timecheck)); | ^~~~~~~~~ /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) | ~~~~~~~~~~~~~~~^~~~~~~~~ lrslib.h:154:23: note: ‘timecheck_2’ declared here 154 | #define timecheck suf(timecheck) | ^~~~~~~~~ lrsarith-011/lrslong.h:240:19: note: in definition of macro ‘suf’ 240 | #define suf(func) func##_2 | ^~~~ lrslib.c:90:13: note: in expansion of macro ‘timecheck’ 90 | static void timecheck (); | ^~~~~~~~~ /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ lrslib.h:53:28: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types] 53 | #define die_gracefully suf(die_gracefully) | ^~~~~~~~~~~~~~ | | | void (*)(void) lrslib.h:175:34: note: in definition of macro ‘errcheck’ 175 | #define errcheck(s,e) if ((long)(e)==-1L){ perror(s);exit(1);} | ^ lrslib.h:53:24: note: in expansion of macro ‘suf’ 53 | #define die_gracefully suf(die_gracefully) | ^~~ lrslib.c:6365:39: note: in expansion of macro ‘die_gracefully’ 6365 | errcheck ("signal", signal (SIGHUP, die_gracefully)); | ^~~~~~~~~~~~~~ /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) | ~~~~~~~~~~~~~~~^~~~~~~~~ lrslib.h:53:28: note: ‘die_gracefully_2’ declared here 53 | #define die_gracefully suf(die_gracefully) | ^~~~~~~~~~~~~~ lrsarith-011/lrslong.h:240:19: note: in definition of macro ‘suf’ 240 | #define suf(func) func##_2 | ^~~~ lrslib.c:88:13: note: in expansion of macro ‘die_gracefully’ 88 | static void die_gracefully (); | ^~~~~~~~~~~~~~ /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ lrslib.h:53:28: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types] 53 | #define die_gracefully suf(die_gracefully) | ^~~~~~~~~~~~~~ | | | void (*)(void) lrslib.h:175:34: note: in definition of macro ‘errcheck’ 175 | #define errcheck(s,e) if ((long)(e)==-1L){ perror(s);exit(1);} | ^ lrslib.h:53:24: note: in expansion of macro ‘suf’ 53 | #define die_gracefully suf(die_gracefully) | ^~~ lrslib.c:6366:39: note: in expansion of macro ‘die_gracefully’ 6366 | errcheck ("signal", signal (SIGINT, die_gracefully)); | ^~~~~~~~~~~~~~ /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) | ~~~~~~~~~~~~~~~^~~~~~~~~ lrslib.c: In function ‘setup_signals’: lrslib.h:53:28: note: ‘die_gracefully_2’ declared here 53 | #define die_gracefully suf(die_gracefully) | ^~~~~~~~~~~~~~ lrsarith-011/lrslong.h:240:19: note: in definition of macro ‘suf’ 240 | #define suf(func) func##_2 | ^~~~ lrslib.c:88:13: note: in expansion of macro ‘die_gracefully’ 88 | static void die_gracefully (); | ^~~~~~~~~~~~~~ /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ lrslib.h:53:28: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types] 53 | #define die_gracefully suf(die_gracefully) | ^~~~~~~~~~~~~~ | | | void (*)(void) lrslib.h:175:34: note: in definition of macro ‘errcheck’ 175 | #define errcheck(s,e) if ((long)(e)==-1L){ perror(s);exit(1);} | ^ lrslib.h:53:24: note: in expansion of macro ‘suf’ 53 | #define die_gracefully suf(die_gracefully) | ^~~ lrslib.c:6363:40: note: in expansion of macro ‘die_gracefully’ 6363 | errcheck ("signal", signal (SIGTERM, die_gracefully)); | ^~~~~~~~~~~~~~ /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) | ~~~~~~~~~~~~~~~^~~~~~~~~ lrslib.h:53:28: note: ‘die_gracefully_1’ declared here 53 | #define die_gracefully suf(die_gracefully) | ^~~~~~~~~~~~~~ lrsarith-011/lrslong.h:242:19: note: in definition of macro ‘suf’ 242 | #define suf(func) func##_1 | ^~~~ lrslib.c:88:13: note: in expansion of macro ‘die_gracefully’ 88 | static void die_gracefully (); | ^~~~~~~~~~~~~~ /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ lrslib.h:40:24: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types] 40 | #define checkpoint suf(checkpoint) | ^~~~~~~~~~ | | | void (*)(void) lrslib.h:175:34: note: in definition of macro ‘errcheck’ 175 | #define errcheck(s,e) if ((long)(e)==-1L){ perror(s);exit(1);} | ^ lrslib.h:40:20: note: in expansion of macro ‘suf’ 40 | #define checkpoint suf(checkpoint) | ^~~ lrslib.c:6367:40: note: in expansion of macro ‘checkpoint’ 6367 | errcheck ("signal", signal (SIGUSR1, checkpoint)); | ^~~~~~~~~~ /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) | ~~~~~~~~~~~~~~~^~~~~~~~~ lrslib.h:40:24: note: ‘checkpoint_2’ declared here 40 | #define checkpoint suf(checkpoint) | ^~~~~~~~~~ lrsarith-011/lrslong.h:240:19: note: in definition of macro ‘suf’ 240 | #define suf(func) func##_2 | ^~~~ lrslib.c:87:13: note: in expansion of macro ‘checkpoint’ 87 | static void checkpoint (); | ^~~~~~~~~~ /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ lrslib.c: In function ‘timecheck_2’: lrslib.h:154:23: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types] 154 | #define timecheck suf(timecheck) | ^~~~~~~~~ | | | void (*)(void) lrslib.h:175:34: note: in definition of macro ‘errcheck’ 175 | #define errcheck(s,e) if ((long)(e)==-1L){ perror(s);exit(1);} | ^ lrslib.h:154:19: note: in expansion of macro ‘suf’ 154 | #define timecheck suf(timecheck) | ^~~ lrslib.c:6364:40: note: in expansion of macro ‘timecheck’ 6364 | errcheck ("signal", signal (SIGALRM, timecheck)); | ^~~~~~~~~ /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) | ~~~~~~~~~~~~~~~^~~~~~~~~ lrslib.h:154:23: note: ‘timecheck_1’ declared here 154 | #define timecheck suf(timecheck) | ^~~~~~~~~ lrsarith-011/lrslong.h:242:19: note: in definition of macro ‘suf’ 242 | #define suf(func) func##_1 | ^~~~ lrslib.c:90:13: note: in expansion of macro ‘timecheck’ 90 | static void timecheck (); | ^~~~~~~~~ /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ lrslib.h:154:23: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types] 154 | #define timecheck suf(timecheck) | ^~~~~~~~~ | | | void (*)(void) lrslib.h:175:34: note: in definition of macro ‘errcheck’ 175 | #define errcheck(s,e) if ((long)(e)==-1L){ perror(s);exit(1);} | ^ lrslib.h:154:19: note: in expansion of macro ‘suf’ 154 | #define timecheck suf(timecheck) | ^~~ lrslib.c:6374:40: note: in expansion of macro ‘timecheck’ 6374 | errcheck ("signal", signal (SIGALRM, timecheck)); | ^~~~~~~~~ /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) | ~~~~~~~~~~~~~~~^~~~~~~~~ lrslib.h:154:23: note: ‘timecheck_2’ declared here 154 | #define timecheck suf(timecheck) | ^~~~~~~~~ lrsarith-011/lrslong.h:240:19: note: in definition of macro ‘suf’ 240 | #define suf(func) func##_2 | ^~~~ lrslib.c:6371:1: note: in expansion of macro ‘timecheck’ 6371 | timecheck () | ^~~~~~~~~ /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ lrslib.c: In function ‘checkpoint_2’: lrslib.h:40:24: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types] 40 | #define checkpoint suf(checkpoint) | ^~~~~~~~~~ | | | void (*)(void) lrslib.h:175:34: note: in definition of macro ‘errcheck’ 175 | #define errcheck(s,e) if ((long)(e)==-1L){ perror(s);exit(1);} | ^ lrslib.h:40:20: note: in expansion of macro ‘suf’ 40 | #define checkpoint suf(checkpoint) | ^~~ lrslib.c:6382:40: note: in expansion of macro ‘checkpoint’ 6382 | errcheck ("signal", signal (SIGUSR1, checkpoint)); | ^~~~~~~~~~ /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) | ~~~~~~~~~~~~~~~^~~~~~~~~ lrslib.h:40:24: note: ‘checkpoint_2’ declared here 40 | #define checkpoint suf(checkpoint) | ^~~~~~~~~~ lrsarith-011/lrslong.h:240:19: note: in definition of macro ‘suf’ 240 | #define suf(func) func##_2 | ^~~~ lrslib.c:6379:1: note: in expansion of macro ‘checkpoint’ 6379 | checkpoint () | ^~~~~~~~~~ /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ lrslib.h:53:28: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types] 53 | #define die_gracefully suf(die_gracefully) | ^~~~~~~~~~~~~~ | | | void (*)(void) lrslib.h:175:34: note: in definition of macro ‘errcheck’ 175 | #define errcheck(s,e) if ((long)(e)==-1L){ perror(s);exit(1);} | ^ lrslib.h:53:24: note: in expansion of macro ‘suf’ 53 | #define die_gracefully suf(die_gracefully) | ^~~ lrslib.c:6365:39: note: in expansion of macro ‘die_gracefully’ 6365 | errcheck ("signal", signal (SIGHUP, die_gracefully)); | ^~~~~~~~~~~~~~ /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) | ~~~~~~~~~~~~~~~^~~~~~~~~ lrslib.h:53:28: note: ‘die_gracefully_1’ declared here 53 | #define die_gracefully suf(die_gracefully) | ^~~~~~~~~~~~~~ lrsarith-011/lrslong.h:242:19: note: in definition of macro ‘suf’ 242 | #define suf(func) func##_1 | ^~~~ lrslib.c:88:13: note: in expansion of macro ‘die_gracefully’ 88 | static void die_gracefully (); | ^~~~~~~~~~~~~~ /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ lrslib.h:53:28: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types] 53 | #define die_gracefully suf(die_gracefully) | ^~~~~~~~~~~~~~ | | | void (*)(void) lrslib.h:175:34: note: in definition of macro ‘errcheck’ 175 | #define errcheck(s,e) if ((long)(e)==-1L){ perror(s);exit(1);} | ^ lrslib.h:53:24: note: in expansion of macro ‘suf’ 53 | #define die_gracefully suf(die_gracefully) | ^~~ lrslib.c:6366:39: note: in expansion of macro ‘die_gracefully’ 6366 | errcheck ("signal", signal (SIGINT, die_gracefully)); | ^~~~~~~~~~~~~~ /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) | ~~~~~~~~~~~~~~~^~~~~~~~~ lrslib.h:53:28: note: ‘die_gracefully_1’ declared here 53 | #define die_gracefully suf(die_gracefully) | ^~~~~~~~~~~~~~ lrsarith-011/lrslong.h:242:19: note: in definition of macro ‘suf’ 242 | #define suf(func) func##_1 | ^~~~ lrslib.c:88:13: note: in expansion of macro ‘die_gracefully’ 88 | static void die_gracefully (); | ^~~~~~~~~~~~~~ /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ lrslib.h:40:24: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types] 40 | #define checkpoint suf(checkpoint) | ^~~~~~~~~~ | | | void (*)(void) lrslib.h:175:34: note: in definition of macro ‘errcheck’ 175 | #define errcheck(s,e) if ((long)(e)==-1L){ perror(s);exit(1);} | ^ lrslib.h:40:20: note: in expansion of macro ‘suf’ 40 | #define checkpoint suf(checkpoint) | ^~~ lrslib.c:6367:40: note: in expansion of macro ‘checkpoint’ 6367 | errcheck ("signal", signal (SIGUSR1, checkpoint)); | ^~~~~~~~~~ /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) | ~~~~~~~~~~~~~~~^~~~~~~~~ lrslib.h:40:24: note: ‘checkpoint_1’ declared here 40 | #define checkpoint suf(checkpoint) | ^~~~~~~~~~ lrsarith-011/lrslong.h:242:19: note: in definition of macro ‘suf’ 242 | #define suf(func) func##_1 | ^~~~ lrslib.c:87:13: note: in expansion of macro ‘checkpoint’ 87 | static void checkpoint (); | ^~~~~~~~~~ /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ lrslib.c: In function ‘timecheck_1’: lrslib.h:154:23: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types] 154 | #define timecheck suf(timecheck) | ^~~~~~~~~ | | | void (*)(void) lrslib.h:175:34: note: in definition of macro ‘errcheck’ 175 | #define errcheck(s,e) if ((long)(e)==-1L){ perror(s);exit(1);} | ^ lrslib.h:154:19: note: in expansion of macro ‘suf’ 154 | #define timecheck suf(timecheck) | ^~~ lrslib.c:6374:40: note: in expansion of macro ‘timecheck’ 6374 | errcheck ("signal", signal (SIGALRM, timecheck)); | ^~~~~~~~~ /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) | ~~~~~~~~~~~~~~~^~~~~~~~~ lrslib.h:154:23: note: ‘timecheck_1’ declared here 154 | #define timecheck suf(timecheck) | ^~~~~~~~~ lrsarith-011/lrslong.h:242:19: note: in definition of macro ‘suf’ 242 | #define suf(func) func##_1 | ^~~~ lrslib.c:6371:1: note: in expansion of macro ‘timecheck’ 6371 | timecheck () | ^~~~~~~~~ /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ lrslib.c: In function ‘checkpoint_1’: lrslib.h:40:24: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types] 40 | #define checkpoint suf(checkpoint) | ^~~~~~~~~~ | | | void (*)(void) lrslib.h:175:34: note: in definition of macro ‘errcheck’ 175 | #define errcheck(s,e) if ((long)(e)==-1L){ perror(s);exit(1);} | ^ lrslib.h:40:20: note: in expansion of macro ‘suf’ 40 | #define checkpoint suf(checkpoint) | ^~~ lrslib.c:6382:40: note: in expansion of macro ‘checkpoint’ 6382 | errcheck ("signal", signal (SIGUSR1, checkpoint)); | ^~~~~~~~~~ /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) | ~~~~~~~~~~~~~~~^~~~~~~~~ lrslib.h:40:24: note: ‘checkpoint_1’ declared here 40 | #define checkpoint suf(checkpoint) | ^~~~~~~~~~ lrsarith-011/lrslong.h:242:19: note: in definition of macro ‘suf’ 242 | #define suf(func) func##_1 | ^~~~ lrslib.c:6379:1: note: in expansion of macro ‘checkpoint’ 6379 | checkpoint () | ^~~~~~~~~~ /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ lrslib.c: In function ‘setup_signals’: lrslib.h:53:28: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types] 53 | #define die_gracefully suf(die_gracefully) | ^~~~~~~~~~~~~~ | | | void (*)(void) lrslib.h:175:34: note: in definition of macro ‘errcheck’ 175 | #define errcheck(s,e) if ((long)(e)==-1L){ perror(s);exit(1);} | ^ lrslib.h:53:24: note: in expansion of macro ‘suf’ 53 | #define die_gracefully suf(die_gracefully) | ^~~ lrslib.c:6363:40: note: in expansion of macro ‘die_gracefully’ 6363 | errcheck ("signal", signal (SIGTERM, die_gracefully)); | ^~~~~~~~~~~~~~ /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) | ~~~~~~~~~~~~~~~^~~~~~~~~ lrslib.h:53:28: note: ‘die_gracefully_gmp’ declared here 53 | #define die_gracefully suf(die_gracefully) | ^~~~~~~~~~~~~~ lrsarith-011/lrsgmp.h:83:19: note: in definition of macro ‘suf’ 83 | #define suf(func) func##_gmp | ^~~~ lrslib.c:88:13: note: in expansion of macro ‘die_gracefully’ 88 | static void die_gracefully (); | ^~~~~~~~~~~~~~ /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ lrslib.h:154:23: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types] 154 | #define timecheck suf(timecheck) | ^~~~~~~~~ | | | void (*)(void) lrslib.h:175:34: note: in definition of macro ‘errcheck’ 175 | #define errcheck(s,e) if ((long)(e)==-1L){ perror(s);exit(1);} | ^ lrslib.h:154:19: note: in expansion of macro ‘suf’ 154 | #define timecheck suf(timecheck) | ^~~ lrslib.c:6364:40: note: in expansion of macro ‘timecheck’ 6364 | errcheck ("signal", signal (SIGALRM, timecheck)); | ^~~~~~~~~ /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) | ~~~~~~~~~~~~~~~^~~~~~~~~ lrslib.h:154:23: note: ‘timecheck_gmp’ declared here 154 | #define timecheck suf(timecheck) | ^~~~~~~~~ lrsarith-011/lrsgmp.h:83:19: note: in definition of macro ‘suf’ 83 | #define suf(func) func##_gmp | ^~~~ lrslib.c:90:13: note: in expansion of macro ‘timecheck’ 90 | static void timecheck (); | ^~~~~~~~~ /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ lrslib.h:53:28: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types] 53 | #define die_gracefully suf(die_gracefully) | ^~~~~~~~~~~~~~ | | | void (*)(void) lrslib.h:175:34: note: in definition of macro ‘errcheck’ 175 | #define errcheck(s,e) if ((long)(e)==-1L){ perror(s);exit(1);} | ^ lrslib.h:53:24: note: in expansion of macro ‘suf’ 53 | #define die_gracefully suf(die_gracefully) | ^~~ lrslib.c:6365:39: note: in expansion of macro ‘die_gracefully’ 6365 | errcheck ("signal", signal (SIGHUP, die_gracefully)); | ^~~~~~~~~~~~~~ /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) | ~~~~~~~~~~~~~~~^~~~~~~~~ lrslib.h:53:28: note: ‘die_gracefully_gmp’ declared here 53 | #define die_gracefully suf(die_gracefully) | ^~~~~~~~~~~~~~ lrsarith-011/lrsgmp.h:83:19: note: in definition of macro ‘suf’ 83 | #define suf(func) func##_gmp | ^~~~ lrslib.c:88:13: note: in expansion of macro ‘die_gracefully’ 88 | static void die_gracefully (); | ^~~~~~~~~~~~~~ /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ lrslib.h:53:28: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types] 53 | #define die_gracefully suf(die_gracefully) | ^~~~~~~~~~~~~~ | | | void (*)(void) lrslib.h:175:34: note: in definition of macro ‘errcheck’ 175 | #define errcheck(s,e) if ((long)(e)==-1L){ perror(s);exit(1);} | ^ lrslib.h:53:24: note: in expansion of macro ‘suf’ 53 | #define die_gracefully suf(die_gracefully) | ^~~ lrslib.c:6366:39: note: in expansion of macro ‘die_gracefully’ 6366 | errcheck ("signal", signal (SIGINT, die_gracefully)); | ^~~~~~~~~~~~~~ /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) | ~~~~~~~~~~~~~~~^~~~~~~~~ lrslib.h:53:28: note: ‘die_gracefully_gmp’ declared here 53 | #define die_gracefully suf(die_gracefully) | ^~~~~~~~~~~~~~ lrsarith-011/lrsgmp.h:83:19: note: in definition of macro ‘suf’ 83 | #define suf(func) func##_gmp | ^~~~ lrslib.c:88:13: note: in expansion of macro ‘die_gracefully’ 88 | static void die_gracefully (); | ^~~~~~~~~~~~~~ /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ lrslib.h:40:24: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types] 40 | #define checkpoint suf(checkpoint) | ^~~~~~~~~~ | | | void (*)(void) lrslib.h:175:34: note: in definition of macro ‘errcheck’ 175 | #define errcheck(s,e) if ((long)(e)==-1L){ perror(s);exit(1);} | ^ lrslib.h:40:20: note: in expansion of macro ‘suf’ 40 | #define checkpoint suf(checkpoint) | ^~~ lrslib.c:6367:40: note: in expansion of macro ‘checkpoint’ 6367 | errcheck ("signal", signal (SIGUSR1, checkpoint)); | ^~~~~~~~~~ /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) | ~~~~~~~~~~~~~~~^~~~~~~~~ lrslib.h:40:24: note: ‘checkpoint_gmp’ declared here 40 | #define checkpoint suf(checkpoint) | ^~~~~~~~~~ lrsarith-011/lrsgmp.h:83:19: note: in definition of macro ‘suf’ 83 | #define suf(func) func##_gmp | ^~~~ lrslib.c:87:13: note: in expansion of macro ‘checkpoint’ 87 | static void checkpoint (); | ^~~~~~~~~~ /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ lrslib.c: In function ‘timecheck_gmp’: lrslib.h:154:23: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types] 154 | #define timecheck suf(timecheck) | ^~~~~~~~~ | | | void (*)(void) lrslib.h:175:34: note: in definition of macro ‘errcheck’ 175 | #define errcheck(s,e) if ((long)(e)==-1L){ perror(s);exit(1);} | ^ lrslib.h:154:19: note: in expansion of macro ‘suf’ 154 | #define timecheck suf(timecheck) | ^~~ lrslib.c:6374:40: note: in expansion of macro ‘timecheck’ 6374 | errcheck ("signal", signal (SIGALRM, timecheck)); | ^~~~~~~~~ /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) | ~~~~~~~~~~~~~~~^~~~~~~~~ lrslib.h:154:23: note: ‘timecheck_gmp’ declared here 154 | #define timecheck suf(timecheck) | ^~~~~~~~~ lrsarith-011/lrsgmp.h:83:19: note: in definition of macro ‘suf’ 83 | #define suf(func) func##_gmp | ^~~~ lrslib.c:6371:1: note: in expansion of macro ‘timecheck’ 6371 | timecheck () | ^~~~~~~~~ /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ lrslib.c: In function ‘checkpoint_gmp’: lrslib.h:40:24: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types] 40 | #define checkpoint suf(checkpoint) | ^~~~~~~~~~ | | | void (*)(void) lrslib.h:175:34: note: in definition of macro ‘errcheck’ 175 | #define errcheck(s,e) if ((long)(e)==-1L){ perror(s);exit(1);} | ^ lrslib.h:40:20: note: in expansion of macro ‘suf’ 40 | #define checkpoint suf(checkpoint) | ^~~ lrslib.c:6382:40: note: in expansion of macro ‘checkpoint’ 6382 | errcheck ("signal", signal (SIGUSR1, checkpoint)); | ^~~~~~~~~~ /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) | ~~~~~~~~~~~~~~~^~~~~~~~~ lrslib.h:40:24: note: ‘checkpoint_gmp’ declared here 40 | #define checkpoint suf(checkpoint) | ^~~~~~~~~~ lrsarith-011/lrsgmp.h:83:19: note: in definition of macro ‘suf’ 83 | #define suf(func) func##_gmp | ^~~~ lrslib.c:6379:1: note: in expansion of macro ‘checkpoint’ 6379 | checkpoint () | ^~~~~~~~~~ /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ In file included from lrslib.c:36: lrslib.c: In function ‘lrs_read_dic’: lrslib.h:154:23: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types] 154 | #define timecheck suf(timecheck) | ^~~~~~~~~ | | | void (*)(void) lrslib.h:175:34: note: in definition of macro ‘errcheck’ 175 | #define errcheck(s,e) if ((long)(e)==-1L){ perror(s);exit(1);} | ^ lrslib.h:154:19: note: in expansion of macro ‘suf’ 154 | #define timecheck suf(timecheck) | ^~~ lrslib.c:1747:52: note: in expansion of macro ‘timecheck’ 1747 | errcheck ("signal", signal (SIGALRM, timecheck)); | ^~~~~~~~~ In file included from lrsarith-011/lrsgmp.h:196, from lrslib.h:170: /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) | ~~~~~~~~~~~~~~~^~~~~~~~~ lrslib.h:154:23: note: ‘timecheck’ declared here 154 | #define timecheck suf(timecheck) | ^~~~~~~~~ lrsarith-011/lrsgmp.h:85:19: note: in definition of macro ‘suf’ 85 | #define suf(func) func | ^~~~ lrslib.c:90:13: note: in expansion of macro ‘timecheck’ 90 | static void timecheck (); | ^~~~~~~~~ /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ make: *** [makefile:112: lrslib1.o] Error 1 make: *** Waiting for unfinished jobs.... make: *** [makefile:116: lrslib2.o] Error 1 lrslib.c: In function ‘setup_signals’: lrslib.h:53:28: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types] 53 | #define die_gracefully suf(die_gracefully) | ^~~~~~~~~~~~~~ | | | void (*)(void) lrslib.h:175:34: note: in definition of macro ‘errcheck’ 175 | #define errcheck(s,e) if ((long)(e)==-1L){ perror(s);exit(1);} | ^ lrslib.h:53:24: note: in expansion of macro ‘suf’ 53 | #define die_gracefully suf(die_gracefully) | ^~~ lrslib.c:6363:40: note: in expansion of macro ‘die_gracefully’ 6363 | errcheck ("signal", signal (SIGTERM, die_gracefully)); | ^~~~~~~~~~~~~~ /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) | ~~~~~~~~~~~~~~~^~~~~~~~~ lrslib.h:53:28: note: ‘die_gracefully’ declared here 53 | #define die_gracefully suf(die_gracefully) | ^~~~~~~~~~~~~~ lrsarith-011/lrsgmp.h:85:19: note: in definition of macro ‘suf’ 85 | #define suf(func) func | ^~~~ lrslib.c:88:13: note: in expansion of macro ‘die_gracefully’ 88 | static void die_gracefully (); | ^~~~~~~~~~~~~~ /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ lrslib.h:154:23: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types] 154 | #define timecheck suf(timecheck) | ^~~~~~~~~ | | | void (*)(void) lrslib.h:175:34: note: in definition of macro ‘errcheck’ 175 | #define errcheck(s,e) if ((long)(e)==-1L){ perror(s);exit(1);} | ^ lrslib.h:154:19: note: in expansion of macro ‘suf’ 154 | #define timecheck suf(timecheck) | ^~~ lrslib.c:6364:40: note: in expansion of macro ‘timecheck’ 6364 | errcheck ("signal", signal (SIGALRM, timecheck)); | ^~~~~~~~~ /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) | ~~~~~~~~~~~~~~~^~~~~~~~~ lrslib.h:154:23: note: ‘timecheck’ declared here 154 | #define timecheck suf(timecheck) | ^~~~~~~~~ lrsarith-011/lrsgmp.h:85:19: note: in definition of macro ‘suf’ 85 | #define suf(func) func | ^~~~ lrslib.c:90:13: note: in expansion of macro ‘timecheck’ 90 | static void timecheck (); | ^~~~~~~~~ /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ make: *** [makefile:118: lrslibgmp.o] Error 1 lrslib.h:53:28: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types] 53 | #define die_gracefully suf(die_gracefully) | ^~~~~~~~~~~~~~ | | | void (*)(void) lrslib.h:175:34: note: in definition of macro ‘errcheck’ 175 | #define errcheck(s,e) if ((long)(e)==-1L){ perror(s);exit(1);} | ^ lrslib.h:53:24: note: in expansion of macro ‘suf’ 53 | #define die_gracefully suf(die_gracefully) | ^~~ lrslib.c:6365:39: note: in expansion of macro ‘die_gracefully’ 6365 | errcheck ("signal", signal (SIGHUP, die_gracefully)); | ^~~~~~~~~~~~~~ /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) | ~~~~~~~~~~~~~~~^~~~~~~~~ lrslib.h:53:28: note: ‘die_gracefully’ declared here 53 | #define die_gracefully suf(die_gracefully) | ^~~~~~~~~~~~~~ lrsarith-011/lrsgmp.h:85:19: note: in definition of macro ‘suf’ 85 | #define suf(func) func | ^~~~ lrslib.c:88:13: note: in expansion of macro ‘die_gracefully’ 88 | static void die_gracefully (); | ^~~~~~~~~~~~~~ /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ lrslib.h:53:28: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types] 53 | #define die_gracefully suf(die_gracefully) | ^~~~~~~~~~~~~~ | | | void (*)(void) lrslib.h:175:34: note: in definition of macro ‘errcheck’ 175 | #define errcheck(s,e) if ((long)(e)==-1L){ perror(s);exit(1);} | ^ lrslib.h:53:24: note: in expansion of macro ‘suf’ 53 | #define die_gracefully suf(die_gracefully) | ^~~ lrslib.c:6366:39: note: in expansion of macro ‘die_gracefully’ 6366 | errcheck ("signal", signal (SIGINT, die_gracefully)); | ^~~~~~~~~~~~~~ /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) | ~~~~~~~~~~~~~~~^~~~~~~~~ lrslib.h:53:28: note: ‘die_gracefully’ declared here 53 | #define die_gracefully suf(die_gracefully) | ^~~~~~~~~~~~~~ lrsarith-011/lrsgmp.h:85:19: note: in definition of macro ‘suf’ 85 | #define suf(func) func | ^~~~ lrslib.c:88:13: note: in expansion of macro ‘die_gracefully’ 88 | static void die_gracefully (); | ^~~~~~~~~~~~~~ /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ lrslib.h:40:24: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types] 40 | #define checkpoint suf(checkpoint) | ^~~~~~~~~~ | | | void (*)(void) lrslib.h:175:34: note: in definition of macro ‘errcheck’ 175 | #define errcheck(s,e) if ((long)(e)==-1L){ perror(s);exit(1);} | ^ lrslib.h:40:20: note: in expansion of macro ‘suf’ 40 | #define checkpoint suf(checkpoint) | ^~~ lrslib.c:6367:40: note: in expansion of macro ‘checkpoint’ 6367 | errcheck ("signal", signal (SIGUSR1, checkpoint)); | ^~~~~~~~~~ /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) | ~~~~~~~~~~~~~~~^~~~~~~~~ lrslib.h:40:24: note: ‘checkpoint’ declared here 40 | #define checkpoint suf(checkpoint) | ^~~~~~~~~~ lrsarith-011/lrsgmp.h:85:19: note: in definition of macro ‘suf’ 85 | #define suf(func) func | ^~~~ lrslib.c:87:13: note: in expansion of macro ‘checkpoint’ 87 | static void checkpoint (); | ^~~~~~~~~~ /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ lrslib.c: In function ‘timecheck’: lrslib.h:154:23: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types] 154 | #define timecheck suf(timecheck) | ^~~~~~~~~ | | | void (*)(void) lrslib.h:175:34: note: in definition of macro ‘errcheck’ 175 | #define errcheck(s,e) if ((long)(e)==-1L){ perror(s);exit(1);} | ^ lrslib.h:154:19: note: in expansion of macro ‘suf’ 154 | #define timecheck suf(timecheck) | ^~~ lrslib.c:6374:40: note: in expansion of macro ‘timecheck’ 6374 | errcheck ("signal", signal (SIGALRM, timecheck)); | ^~~~~~~~~ /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) | ~~~~~~~~~~~~~~~^~~~~~~~~ lrslib.h:154:23: note: ‘timecheck’ declared here 154 | #define timecheck suf(timecheck) | ^~~~~~~~~ lrsarith-011/lrsgmp.h:85:19: note: in definition of macro ‘suf’ 85 | #define suf(func) func | ^~~~ lrslib.c:6371:1: note: in expansion of macro ‘timecheck’ 6371 | timecheck () | ^~~~~~~~~ /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ lrslib.c: In function ‘checkpoint’: lrslib.h:40:24: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types] 40 | #define checkpoint suf(checkpoint) | ^~~~~~~~~~ | | | void (*)(void) lrslib.h:175:34: note: in definition of macro ‘errcheck’ 175 | #define errcheck(s,e) if ((long)(e)==-1L){ perror(s);exit(1);} | ^ lrslib.h:40:20: note: in expansion of macro ‘suf’ 40 | #define checkpoint suf(checkpoint) | ^~~ lrslib.c:6382:40: note: in expansion of macro ‘checkpoint’ 6382 | errcheck ("signal", signal (SIGUSR1, checkpoint)); | ^~~~~~~~~~ /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) | ~~~~~~~~~~~~~~~^~~~~~~~~ lrslib.h:40:24: note: ‘checkpoint’ declared here 40 | #define checkpoint suf(checkpoint) | ^~~~~~~~~~ lrsarith-011/lrsgmp.h:85:19: note: in definition of macro ‘suf’ 85 | #define suf(func) func | ^~~~ lrslib.c:6379:1: note: in expansion of macro ‘checkpoint’ 6379 | checkpoint () | ^~~~~~~~~~ /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ make: *** [makefile:189: lrsgmp] Error 1 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Build failed, check /home/alhp/workspace/chroot/build_0dd20645-3c56-41d0-945a-e466a04417b4/build