=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/math/mapm", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for mapm-4.9.5a --- mapmhasn.o --- --- mapmhsin.o --- --- mapm_pow.o --- --- mapm_log.o --- --- mapm_pow.o --- gcc -c -Wall -O2 mapm_pow.c --- mapmhasn.o --- gcc -c -Wall -O2 mapmhasn.c --- mapmhsin.o --- gcc -c -Wall -O2 mapmhsin.c --- mapm_log.o --- gcc -c -Wall -O2 mapm_log.c --- mapm_lg2.o --- gcc -c -Wall -O2 mapm_lg2.c --- mapm_lg4.o --- gcc -c -Wall -O2 mapm_lg4.c --- mapm_exp.o --- gcc -c -Wall -O2 mapm_exp.c --- mapm_lg3.o --- gcc -c -Wall -O2 mapm_lg3.c --- mapmasin.o --- --- mapmasn0.o --- --- mapmasin.o --- gcc -c -Wall -O2 mapmasin.c --- mapmasn0.o --- gcc -c -Wall -O2 mapmasn0.c --- mapm_sin.o --- gcc -c -Wall -O2 mapm_sin.c --- mapm5sin.o --- gcc -c -Wall -O2 mapm5sin.c --- mapmrsin.o --- gcc -c -Wall -O2 mapmrsin.c --- mapm_cpi.o --- gcc -c -Wall -O2 mapm_cpi.c --- mapmsqrt.o --- gcc -c -Wall -O2 mapmsqrt.c --- mapmcbrt.o --- gcc -c -Wall -O2 mapmcbrt.c --- mapmgues.o --- --- mapmfact.o --- --- mapmgues.o --- gcc -c -Wall -O2 mapmgues.c --- mapmfact.o --- gcc -c -Wall -O2 mapmfact.c --- mapm_gcd.o --- gcc -c -Wall -O2 mapm_gcd.c --- mapmipwr.o --- gcc -c -Wall -O2 mapmipwr.c --- mapmpwr2.o --- --- mapm_rnd.o --- --- mapmpwr2.o --- gcc -c -Wall -O2 mapmpwr2.c --- mapm_rnd.o --- gcc -c -Wall -O2 mapm_rnd.c --- mapm_flr.o --- gcc -c -Wall -O2 mapm_flr.c --- mapm_fpf.o --- gcc -c -Wall -O2 mapm_fpf.c --- mapm_rcp.o --- gcc -c -Wall -O2 mapm_rcp.c --- mapmstck.o --- gcc -c -Wall -O2 mapmstck.c --- mapm_div.o --- gcc -c -Wall -O2 mapm_div.c --- mapm_mul.o --- gcc -c -Wall -O2 mapm_mul.c --- mapmfmul.o --- gcc -c -Wall -O3 mapmfmul.c --- mapm_fft.o --- gcc -c -Wall -O2 mapm_fft.c --- mapm_add.o --- gcc -c -Wall -O2 mapm_add.c --- mapmistr.o --- gcc -c -Wall -O2 mapmistr.c --- mapm_set.o --- gcc -c -Wall -O2 mapm_set.c --- mapm_fam.o --- gcc -c -Wall -O2 mapm_fam.c --- mapmutil.o --- gcc -c -Wall -O3 mapmutil.c --- mapmutl2.o --- gcc -c -Wall -O2 mapmutl2.c --- mapmutl1.o --- gcc -c -Wall -O2 mapmutl1.c --- mapmcnst.o --- gcc -c -Wall -O2 mapmcnst.c --- calc.o --- gcc -c -Wall -O2 calc.c --- primenum.o --- gcc -c -Wall -O2 primenum.c --- calc.o --- calc.c:148:24: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(M_APM_struct *, M_APM_struct *, M_APM_struct *)' [-Wincompatible-pointer-types] 148 | { "+", MMM, m_apm_add, /* 0 */ }, | ^~~~~~~~~ calc.c:148:24: note: (near initialization for 'operator_lookup[0].funcname') In file included from calc.c:111: m_apm.h:250:17: note: 'm_apm_add' declared here 250 | extern void m_apm_add(M_APM, M_APM, M_APM); | ^~~~~~~~~ calc.c:149:24: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(M_APM_struct *, M_APM_struct *, M_APM_struct *)' [-Wincompatible-pointer-types] 149 | { "-", MMM, m_apm_subtract, /* 1 */ }, | ^~~~~~~~~~~~~~ calc.c:149:24: note: (near initialization for 'operator_lookup[1].funcname') m_apm.h:251:17: note: 'm_apm_subtract' declared here 251 | extern void m_apm_subtract(M_APM, M_APM, M_APM); | ^~~~~~~~~~~~~~ calc.c:150:24: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(M_APM_struct *, M_APM_struct *, M_APM_struct *)' [-Wincompatible-pointer-types] 150 | { "*", MMM, m_apm_multiply, /* 2 */ }, | ^~~~~~~~~~~~~~ calc.c:150:24: note: (near initialization for 'operator_lookup[2].funcname') m_apm.h:252:17: note: 'm_apm_multiply' declared here 252 | extern void m_apm_multiply(M_APM, M_APM, M_APM); | ^~~~~~~~~~~~~~ calc.c:151:24: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(M_APM_struct *, M_APM_struct *, M_APM_struct *)' [-Wincompatible-pointer-types] 151 | { "x", MMM, m_apm_multiply, /* 3 */ }, | ^~~~~~~~~~~~~~ calc.c:151:24: note: (near initialization for 'operator_lookup[3].funcname') m_apm.h:252:17: note: 'm_apm_multiply' declared here 252 | extern void m_apm_multiply(M_APM, M_APM, M_APM); | ^~~~~~~~~~~~~~ calc.c:152:24: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(M_APM_struct *, int, M_APM_struct *, M_APM_struct *)' [-Wincompatible-pointer-types] 152 | { "/", MiMM, m_apm_divide, /* 4 */ }, | ^~~~~~~~~~~~ calc.c:152:24: note: (near initialization for 'operator_lookup[4].funcname') m_apm.h:253:17: note: 'm_apm_divide' declared here 253 | extern void m_apm_divide(M_APM, int, M_APM, M_APM); | ^~~~~~~~~~~~ calc.c:153:24: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(M_APM_struct *, M_APM_struct *, M_APM_struct *)' [-Wincompatible-pointer-types] 153 | { "\\", MMM, m_apm_integer_divide, /* 5 */ }, | ^~~~~~~~~~~~~~~~~~~~ calc.c:153:24: note: (near initialization for 'operator_lookup[5].funcname') m_apm.h:254:17: note: 'm_apm_integer_divide' declared here 254 | extern void m_apm_integer_divide(M_APM, M_APM, M_APM); | ^~~~~~~~~~~~~~~~~~~~ calc.c:154:24: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(M_APM_struct *, M_APM_struct *, M_APM_struct *)' [-Wincompatible-pointer-types] 154 | { "i", MMM, m_apm_integer_divide, /* 6 */ }, | ^~~~~~~~~~~~~~~~~~~~ calc.c:154:24: note: (near initialization for 'operator_lookup[6].funcname') m_apm.h:254:17: note: 'm_apm_integer_divide' declared here 254 | extern void m_apm_integer_divide(M_APM, M_APM, M_APM); | ^~~~~~~~~~~~~~~~~~~~ calc.c:155:24: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(M_APM_struct *, M_APM_struct *)' [-Wincompatible-pointer-types] 155 | { "!", MM, m_apm_factorial, /* 7 */ }, | ^~~~~~~~~~~~~~~ calc.c:155:24: note: (near initialization for 'operator_lookup[7].funcname') m_apm.h:257:17: note: 'm_apm_factorial' declared here 257 | extern void m_apm_factorial(M_APM, M_APM); | ^~~~~~~~~~~~~~~ calc.c:156:24: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(M_APM_struct *, int, M_APM_struct *)' [-Wincompatible-pointer-types] 156 | { "s", MiM, m_apm_sin, /* 8 */ }, | ^~~~~~~~~ calc.c:156:24: note: (near initialization for 'operator_lookup[8].funcname') m_apm.h:273:17: note: 'm_apm_sin' declared here 273 | extern void m_apm_sin(M_APM, int, M_APM); | ^~~~~~~~~ calc.c:157:24: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(M_APM_struct *, int, M_APM_struct *)' [-Wincompatible-pointer-types] 157 | { "c", MiM, m_apm_cos, /* 9 */ }, | ^~~~~~~~~ calc.c:157:24: note: (near initialization for 'operator_lookup[9].funcname') m_apm.h:274:17: note: 'm_apm_cos' declared here 274 | extern void m_apm_cos(M_APM, int, M_APM); | ^~~~~~~~~ calc.c:158:24: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(M_APM_struct *, int, M_APM_struct *)' [-Wincompatible-pointer-types] 158 | { "t", MiM, m_apm_tan, /* 10 */ }, | ^~~~~~~~~ calc.c:158:24: note: (near initialization for 'operator_lookup[10].funcname') m_apm.h:275:17: note: 'm_apm_tan' declared here 275 | extern void m_apm_tan(M_APM, int, M_APM); | ^~~~~~~~~ calc.c:159:24: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(M_APM_struct *, int, M_APM_struct *)' [-Wincompatible-pointer-types] 159 | { "q", MiM, m_apm_sqrt, /* 11 */ }, | ^~~~~~~~~~ calc.c:159:24: note: (near initialization for 'operator_lookup[11].funcname') m_apm.h:263:17: note: 'm_apm_sqrt' declared here 263 | extern void m_apm_sqrt(M_APM, int, M_APM); | ^~~~~~~~~~ m_apm.h:292:20: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(M_APM_struct *, int, M_APM_struct *)' [-Wincompatible-pointer-types] 292 | #define m_apm_asin m_apm_arcsin | ^~~~~~~~~~~~ calc.c:160:24: note: in expansion of macro 'm_apm_asin' 160 | { "as", MiM, m_apm_asin, /* 12 */ }, | ^~~~~~~~~~ m_apm.h:292:20: note: (near initialization for 'operator_lookup[12].funcname') 292 | #define m_apm_asin m_apm_arcsin | ^~~~~~~~~~~~ calc.c:160:24: note: in expansion of macro 'm_apm_asin' 160 | { "as", MiM, m_apm_asin, /* 12 */ }, | ^~~~~~~~~~ m_apm.h:276:17: note: 'm_apm_arcsin' declared here 276 | extern void m_apm_arcsin(M_APM, int, M_APM); | ^~~~~~~~~~~~ m_apm.h:293:20: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(M_APM_struct *, int, M_APM_struct *)' [-Wincompatible-pointer-types] 293 | #define m_apm_acos m_apm_arccos | ^~~~~~~~~~~~ calc.c:161:24: note: in expansion of macro 'm_apm_acos' 161 | { "ac", MiM, m_apm_acos, /* 13 */ }, | ^~~~~~~~~~ m_apm.h:293:20: note: (near initialization for 'operator_lookup[13].funcname') 293 | #define m_apm_acos m_apm_arccos | ^~~~~~~~~~~~ calc.c:161:24: note: in expansion of macro 'm_apm_acos' 161 | { "ac", MiM, m_apm_acos, /* 13 */ }, | ^~~~~~~~~~ m_apm.h:277:17: note: 'm_apm_arccos' declared here 277 | extern void m_apm_arccos(M_APM, int, M_APM); | ^~~~~~~~~~~~ m_apm.h:294:20: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(M_APM_struct *, int, M_APM_struct *)' [-Wincompatible-pointer-types] 294 | #define m_apm_atan m_apm_arctan | ^~~~~~~~~~~~ calc.c:162:24: note: in expansion of macro 'm_apm_atan' 162 | { "at", MiM, m_apm_atan, /* 14 */ }, | ^~~~~~~~~~ m_apm.h:294:20: note: (near initialization for 'operator_lookup[14].funcname') 294 | #define m_apm_atan m_apm_arctan | ^~~~~~~~~~~~ calc.c:162:24: note: in expansion of macro 'm_apm_atan' 162 | { "at", MiM, m_apm_atan, /* 14 */ }, | ^~~~~~~~~~ m_apm.h:278:17: note: 'm_apm_arctan' declared here 278 | extern void m_apm_arctan(M_APM, int, M_APM); | ^~~~~~~~~~~~ m_apm.h:295:21: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(M_APM_struct *, int, M_APM_struct *, M_APM_struct *)' [-Wincompatible-pointer-types] 295 | #define m_apm_atan2 m_apm_arctan2 | ^~~~~~~~~~~~~ calc.c:163:24: note: in expansion of macro 'm_apm_atan2' 163 | { "at2", MiMM, m_apm_atan2, /* 15 */ }, | ^~~~~~~~~~~ m_apm.h:295:21: note: (near initialization for 'operator_lookup[15].funcname') 295 | #define m_apm_atan2 m_apm_arctan2 | ^~~~~~~~~~~~~ calc.c:163:24: note: in expansion of macro 'm_apm_atan2' 163 | { "at2", MiMM, m_apm_atan2, /* 15 */ }, | ^~~~~~~~~~~ m_apm.h:279:17: note: 'm_apm_arctan2' declared here 279 | extern void m_apm_arctan2(M_APM, int, M_APM, M_APM); | ^~~~~~~~~~~~~ calc.c:164:24: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(M_APM_struct *, int, M_APM_struct *)' [-Wincompatible-pointer-types] 164 | { "lg", MiM, m_apm_log, /* 16 */ }, | ^~~~~~~~~ calc.c:164:24: note: (near initialization for 'operator_lookup[16].funcname') m_apm.h:265:17: note: 'm_apm_log' declared here 265 | extern void m_apm_log(M_APM, int, M_APM); | ^~~~~~~~~ calc.c:165:24: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(M_APM_struct *, int, M_APM_struct *)' [-Wincompatible-pointer-types] 165 | { "lg10", MiM, m_apm_log10, /* 17 */ }, | ^~~~~~~~~~~ calc.c:165:24: note: (near initialization for 'operator_lookup[17].funcname') m_apm.h:266:17: note: 'm_apm_log10' declared here 266 | extern void m_apm_log10(M_APM, int, M_APM); | ^~~~~~~~~~~ calc.c:166:24: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(M_APM_struct *, int, M_APM_struct *)' [-Wincompatible-pointer-types] 166 | { "e", MiM, m_apm_exp, /* 18 */ }, | ^~~~~~~~~ calc.c:166:24: note: (near initialization for 'operator_lookup[18].funcname') m_apm.h:267:17: note: 'm_apm_exp' declared here 267 | extern void m_apm_exp(M_APM, int, M_APM); | ^~~~~~~~~ calc.c:167:24: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(M_APM_struct *, int, M_APM_struct *, M_APM_struct *)' [-Wincompatible-pointer-types] 167 | { "p", MiMM, m_apm_pow, /* 19 */ }, | ^~~~~~~~~ calc.c:167:24: note: (near initialization for 'operator_lookup[19].funcname') m_apm.h:268:17: note: 'm_apm_pow' declared here 268 | extern void m_apm_pow(M_APM, int, M_APM, M_APM); | ^~~~~~~~~ calc.c:168:24: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(M_APM_struct *, M_APM_struct *)' [-Wincompatible-pointer-types] 168 | { "h", MM, m_apm_negate, /* 20 */ }, | ^~~~~~~~~~~~ calc.c:168:24: note: (near initialization for 'operator_lookup[20].funcname') m_apm.h:236:17: note: 'm_apm_negate' declared here 236 | extern void m_apm_negate(M_APM, M_APM); | ^~~~~~~~~~~~ calc.c:169:24: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(M_APM_struct *, M_APM_struct *)' [-Wincompatible-pointer-types] 169 | { "n", MM, m_apm_negate, /* 21 */ }, | ^~~~~~~~~~~~ calc.c:169:24: note: (near initialization for 'operator_lookup[21].funcname') m_apm.h:236:17: note: 'm_apm_negate' declared here 236 | extern void m_apm_negate(M_APM, M_APM); | ^~~~~~~~~~~~ calc.c:172:24: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(M_APM_struct *, int, M_APM_struct *)' [-Wincompatible-pointer-types] 172 | { "r", MiM, m_apm_reciprocal, /* 24 */ }, | ^~~~~~~~~~~~~~~~ calc.c:172:24: note: (near initialization for 'operator_lookup[24].funcname') m_apm.h:256:17: note: 'm_apm_reciprocal' declared here 256 | extern void m_apm_reciprocal(M_APM, int, M_APM); | ^~~~~~~~~~~~~~~~ calc.c:173:24: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(M_APM_struct *, M_APM_struct *)' [-Wincompatible-pointer-types] 173 | { "x2", MM, calc_square, /* 25 */ }, | ^~~~~~~~~~~ calc.c:173:24: note: (near initialization for 'operator_lookup[25].funcname') calc.c:115:10: note: 'calc_square' declared here 115 | void calc_square(M_APM, M_APM); | ^~~~~~~~~~~ calc.c:174:24: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(M_APM_struct *, int)' [-Wincompatible-pointer-types] 174 | { "pi", Mi, calc_pi, /* 26 */ }, | ^~~~~~~ calc.c:174:24: note: (near initialization for 'operator_lookup[26].funcname') calc.c:117:10: note: 'calc_pi' declared here 117 | void calc_pi(M_APM, int); | ^~~~~~~ calc.c:175:24: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(M_APM_struct *, int, M_APM_struct *)' [-Wincompatible-pointer-types] 175 | { "hs", MiM, m_apm_sinh, /* 27 */ }, | ^~~~~~~~~~ calc.c:175:24: note: (near initialization for 'operator_lookup[27].funcname') m_apm.h:281:17: note: 'm_apm_sinh' declared here 281 | extern void m_apm_sinh(M_APM, int, M_APM); | ^~~~~~~~~~ calc.c:176:24: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(M_APM_struct *, int, M_APM_struct *)' [-Wincompatible-pointer-types] 176 | { "hc", MiM, m_apm_cosh, /* 28 */ }, | ^~~~~~~~~~ calc.c:176:24: note: (near initialization for 'operator_lookup[28].funcname') m_apm.h:282:17: note: 'm_apm_cosh' declared here 282 | extern void m_apm_cosh(M_APM, int, M_APM); | ^~~~~~~~~~ calc.c:177:24: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(M_APM_struct *, int, M_APM_struct *)' [-Wincompatible-pointer-types] 177 | { "ht", MiM, m_apm_tanh, /* 29 */ }, | ^~~~~~~~~~ calc.c:177:24: note: (near initialization for 'operator_lookup[29].funcname') m_apm.h:283:17: note: 'm_apm_tanh' declared here 283 | extern void m_apm_tanh(M_APM, int, M_APM); | ^~~~~~~~~~ m_apm.h:297:21: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(M_APM_struct *, int, M_APM_struct *)' [-Wincompatible-pointer-types] 297 | #define m_apm_asinh m_apm_arcsinh | ^~~~~~~~~~~~~ calc.c:178:24: note: in expansion of macro 'm_apm_asinh' 178 | { "has", MiM, m_apm_asinh, /* 30 */ }, | ^~~~~~~~~~~ m_apm.h:297:21: note: (near initialization for 'operator_lookup[30].funcname') 297 | #define m_apm_asinh m_apm_arcsinh | ^~~~~~~~~~~~~ calc.c:178:24: note: in expansion of macro 'm_apm_asinh' 178 | { "has", MiM, m_apm_asinh, /* 30 */ }, | ^~~~~~~~~~~ m_apm.h:284:17: note: 'm_apm_arcsinh' declared here 284 | extern void m_apm_arcsinh(M_APM, int, M_APM); | ^~~~~~~~~~~~~ m_apm.h:298:21: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(M_APM_struct *, int, M_APM_struct *)' [-Wincompatible-pointer-types] 298 | #define m_apm_acosh m_apm_arccosh | ^~~~~~~~~~~~~ calc.c:179:24: note: in expansion of macro 'm_apm_acosh' 179 | { "hac", MiM, m_apm_acosh, /* 31 */ }, | ^~~~~~~~~~~ m_apm.h:298:21: note: (near initialization for 'operator_lookup[31].funcname') 298 | #define m_apm_acosh m_apm_arccosh | ^~~~~~~~~~~~~ calc.c:179:24: note: in expansion of macro 'm_apm_acosh' 179 | { "hac", MiM, m_apm_acosh, /* 31 */ }, | ^~~~~~~~~~~ m_apm.h:285:17: note: 'm_apm_arccosh' declared here 285 | extern void m_apm_arccosh(M_APM, int, M_APM); | ^~~~~~~~~~~~~ m_apm.h:299:21: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(M_APM_struct *, int, M_APM_struct *)' [-Wincompatible-pointer-types] 299 | #define m_apm_atanh m_apm_arctanh | ^~~~~~~~~~~~~ calc.c:180:24: note: in expansion of macro 'm_apm_atanh' 180 | { "hat", MiM, m_apm_atanh, /* 32 */ }, | ^~~~~~~~~~~ m_apm.h:299:21: note: (near initialization for 'operator_lookup[32].funcname') 299 | #define m_apm_atanh m_apm_arctanh | ^~~~~~~~~~~~~ calc.c:180:24: note: in expansion of macro 'm_apm_atanh' 180 | { "hat", MiM, m_apm_atanh, /* 32 */ }, | ^~~~~~~~~~~ m_apm.h:286:17: note: 'm_apm_arctanh' declared here 286 | extern void m_apm_arctanh(M_APM, int, M_APM); | ^~~~~~~~~~~~~ calc.c:181:24: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(M_APM_struct *, int, M_APM_struct *)' [-Wincompatible-pointer-types] 181 | { "b", MiM, m_apm_cbrt, /* 33 */ }, | ^~~~~~~~~~ calc.c:181:24: note: (near initialization for 'operator_lookup[33].funcname') m_apm.h:264:17: note: 'm_apm_cbrt' declared here 264 | extern void m_apm_cbrt(M_APM, int, M_APM); | ^~~~~~~~~~ calc.c:182:24: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(M_APM_struct *, M_APM_struct *)' [-Wincompatible-pointer-types] 182 | { "f", MM, m_apm_floor, /* 34 */ }, | ^~~~~~~~~~~ calc.c:182:24: note: (near initialization for 'operator_lookup[34].funcname') m_apm.h:258:17: note: 'm_apm_floor' declared here 258 | extern void m_apm_floor(M_APM, M_APM); | ^~~~~~~~~~~ calc.c:183:24: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(M_APM_struct *, M_APM_struct *)' [-Wincompatible-pointer-types] 183 | { "cl", MM, m_apm_ceil, /* 35 */ }, | ^~~~~~~~~~ calc.c:183:24: note: (near initialization for 'operator_lookup[35].funcname') m_apm.h:259:17: note: 'm_apm_ceil' declared here 259 | extern void m_apm_ceil(M_APM, M_APM); | ^~~~~~~~~~ calc.c:184:24: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(M_APM_struct *, M_APM_struct *, M_APM_struct *)' [-Wincompatible-pointer-types] 184 | { "gcd", MMM, m_apm_gcd, /* 36 */ }, | ^~~~~~~~~ calc.c:184:24: note: (near initialization for 'operator_lookup[36].funcname') m_apm.h:247:17: note: 'm_apm_gcd' declared here 247 | extern void m_apm_gcd(M_APM, M_APM, M_APM); | ^~~~~~~~~ calc.c:185:24: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(M_APM_struct *, M_APM_struct *, M_APM_struct *)' [-Wincompatible-pointer-types] 185 | { "lcm", MMM, m_apm_lcm, /* 37 */ }, | ^~~~~~~~~ calc.c:185:24: note: (near initialization for 'operator_lookup[37].funcname') m_apm.h:248:17: note: 'm_apm_lcm' declared here 248 | extern void m_apm_lcm(M_APM, M_APM, M_APM); | ^~~~~~~~~ calc.c:186:24: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(M_APM_struct *, M_APM_struct *, M_APM_struct *)' [-Wincompatible-pointer-types] 186 | { "mod", MMM, calc_mod, /* 38 */ }, | ^~~~~~~~ calc.c:186:24: note: (near initialization for 'operator_lookup[38].funcname') calc.c:116:10: note: 'calc_mod' declared here 116 | void calc_mod(M_APM, M_APM, M_APM); | ^~~~~~~~ calc.c:187:24: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(M_APM_struct *, M_APM_struct *, M_APM_struct *)' [-Wincompatible-pointer-types] 187 | { "%", MMM, calc_mod, /* 39 */ }, | ^~~~~~~~ calc.c:187:24: note: (near initialization for 'operator_lookup[39].funcname') calc.c:116:10: note: 'calc_mod' declared here 116 | void calc_mod(M_APM, M_APM, M_APM); | ^~~~~~~~ calc.c: In function 'main': calc.c:380:14: error: too many arguments to function 'fp'; expected 0, have 2 380 | (*fp)(apmtmp, (decimal_places + 6)); | ~^~~~ ~~~~~~ calc.c:405:14: error: too many arguments to function 'fp'; expected 0, have 3 405 | (*fp)(apmtmp, arg1, arg2); | ~^~~~ ~~~~~~ calc.c:414:14: error: too many arguments to function 'fp'; expected 0, have 4 414 | (*fp)(apmtmp, (decimal_places + 6), arg1, arg2); | ~^~~~ ~~~~~~ calc.c:422:14: error: too many arguments to function 'fp'; expected 0, have 2 422 | (*fp)(apmtmp, arg1); | ~^~~~ ~~~~~~ calc.c:430:14: error: too many arguments to function 'fp'; expected 0, have 3 430 | (*fp)(apmtmp, (decimal_places + 6), arg1); | ~^~~~ ~~~~~~ *** [calc.o] Error code 1 bmake: stopped making "all" in /tmp/work/math/mapm/work/mapm_4.9.5a bmake: 1 error bmake: stopped making "all" in /tmp/work/math/mapm/work/mapm_4.9.5a *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/math/mapm *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/math/mapm