Running phase: unpackPhase unpacking source archive /nix/store/wp2dm9wh6xyh2bzc9cdxi0dwg515f66j-source source root is source Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: buildPhase build flags: SHELL=/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash CC=gcc RM=rm SHELL=sh all CFLAGS=-fcommon\ -O\ -DFOUR\ -m64 cd src/fasthenry ; make fasthenry make[1]: Entering directory '/build/source/src/fasthenry' gcc -fcommon -O -DFOUR -m64 -c -o induct.o induct.c induct.c:36:1: error: return type defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;] 36 | main(argc, argv) | ^~~~ induct.c: In function 'main': induct.c:133:9: error: implicit declaration of function 'readGeom' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 133 | err = readGeom(fp, indsys); | ^~~~~~~~ induct.c:144:5: error: implicit declaration of function 'regurgitate' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 144 | regurgitate(indsys); | ^~~~~~~~~~~ induct.c:157:5: error: implicit declaration of function 'concat4' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 157 | concat4(outfname,"zbuffile",opts->suffix,""); | ^~~~~~~ induct.c:159:5: error: implicit declaration of function 'writefastcap' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 159 | writefastcap(outfname, outfname2, indsys); | ^~~~~~~~~~~~ induct.c:168:3: error: implicit declaration of function 'fill_Gquad' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 168 | fill_Gquad(); | ^~~~~~~~~~ induct.c:171:3: error: implicit declaration of function 'init_table'; did you mean 'initstate'? [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 171 | init_table(); | ^~~~~~~~~~ | initstate induct.c:208:3: error: implicit declaration of function 'make_trees' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 208 | make_trees(indsys); | ^~~~~~~~~~ induct.c:211:3: error: implicit declaration of function 'clear_marks' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 211 | clear_marks(indsys); | ^~~~~~~~~~~ induct.c:216:3: error: implicit declaration of function 'find_hole_meshes' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 216 | find_hole_meshes(indsys); | ^~~~~~~~~~~~~~~~ induct.c:221:26: error: implicit declaration of function 'pick_subset' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 221 | = pick_subset(opts->portlist, indsys); | ^~~~~~~~~~~ induct.c:427:7: error: implicit declaration of function 'dump_mesh_coords' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 427 | dump_mesh_coords(indsys); | ^~~~~~~~~~~~~~~~ induct.c:429:7: error: implicit declaration of function 'dump_ascii_mesh_coords' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 429 | dump_ascii_mesh_coords(indsys); | ^~~~~~~~~~~~~~~~~~~~~~ induct.c:432:3: error: implicit declaration of function 'formMtrans' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 432 | formMtrans(indsys); /* Form M transpose by row*/ | ^~~~~~~~~~ induct.c:443:36: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-Wformat=8;;] 443 | printf("Total Memory allocated: %d kilobytes\n",memcount/1024); | ~^ ~~~~~~~~~~~~~ | | | | int long int | %ld induct.c:447:12: error: implicit declaration of function 'get_table_mem' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 447 | get_table_mem()); | ^~~~~~~~~~~~~ induct.c:450:3: error: implicit declaration of function 'destroy_table' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 450 | destroy_table(); | ^~~~~~~~~~~~~ induct.c:453:3: error: implicit declaration of function 'choose_and_setup_precond' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 453 | choose_and_setup_precond(indsys); | ^~~~~~~~~~~~~~~~~~~~~~~~ induct.c:457:5: error: implicit declaration of function 'savemats'; did you mean 'savemat_mod'? [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 457 | savemats(indsys); | ^~~~~~~~ | savemat_mod induct.c:494:5: error: implicit declaration of function 'createMRMt' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 494 | createMRMt(&MRMt, indsys); | ^~~~~~~~~~ induct.c:515:7: error: implicit declaration of function 'formMLMt' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 515 | formMLMt(indsys); /*form (M^t)*(L)*M and store in indys->MtZM*/ | ^~~~~~~~ induct.c:518:22: error: implicit declaration of function 'ArnoldiROM' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 518 | actual_order = ArnoldiROM(B, C, (double **)NULL, MRMt, num_mesh, | ^~~~~~~~~~ induct.c:545:7: error: implicit declaration of function 'dumpROM' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 545 | dumpROM(fROM, indsys->Ar, indsys->Br, indsys->Cr, indsys->Dr, | ^~~~~~~ induct.c:556:5: error: implicit declaration of function 'dumpROMequiv_circuit' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 556 | dumpROMequiv_circuit(fROM, indsys->Ar, indsys->Br, indsys->Cr, indsys->Dr, | ^~~~~~~~~~~~~~~~~~~~ induct.c:578:7: error: implicit declaration of function 'formMZMt' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 578 | formMZMt(indsys); /*form transpose(M)*(R+jL)*M (no w) */ | ^~~~~~~~ induct.c:589:13: error: implicit declaration of function 'savecmplx2' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 589 | savecmplx2(fp2,"MZMt",indsys->MtZM, indsys->num_mesh,indsys->num_mesh); | ^~~~~~~~~~ induct.c:598:13: error: implicit declaration of function 'cx_dumpMat_totextfile' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 598 | cx_dumpMat_totextfile(fp2, indsys->MtZM, | ^~~~~~~~~~~~~~~~~~~~~ induct.c:623:11: error: implicit declaration of function 'indPrecond_direct' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 623 | indPrecond_direct(sys, indsys, 2*PI*freq); | ^~~~~~~~~~~~~~~~~ induct.c:625:11: error: implicit declaration of function 'indPrecond' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 625 | indPrecond(sys, indsys, 2*PI*freq); | ^~~~~~~~~~ induct.c:634:9: error: implicit declaration of function 'fill_spPre' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 634 | fill_spPre(sys, indsys, 2*PI*freq); | ^~~~~~~~~~ induct.c:639:20: error: implicit declaration of function 'spElementCount' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 639 | spElementCount(indsys->sparMatrix)); | ^~~~~~~~~~~~~~ induct.c:642:17: error: implicit declaration of function 'spOrderAndFactor' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 642 | err = spOrderAndFactor(indsys->sparMatrix, NULL, 1e-3, 0.0, 1); | ^~~~~~~~~~~~~~~~ induct.c:646:20: error: implicit declaration of function 'spFillinCount' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 646 | spFillinCount(indsys->sparMatrix)); | ^~~~~~~~~~~~~ induct.c:649:17: error: implicit declaration of function 'spFactor' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 649 | err = spFactor(indsys->sparMatrix); | ^~~~~~~~ induct.c:660:9: error: implicit declaration of function 'cx_ludecomp' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 660 | cx_ludecomp(MtZM, num_mesh, FALSE); | ^~~~~~~~~~~ induct.c:665:9: error: implicit declaration of function 'create_sparMatrix' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 665 | create_sparMatrix(indsys); | ^~~~~~~~~~~~~~~~~ induct.c:667:9: error: implicit declaration of function 'fill_diagR' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 667 | fill_diagR(indsys); | ^~~~~~~~~~ induct.c:673:15: error: implicit declaration of function 'spFileMatrix' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 673 | if (spFileMatrix(indsys->sparMatrix, outfname, "MZMt", 0, 1, 1) == 0) | ^~~~~~~~~~~~ induct.c:716:7: error: implicit declaration of function 'fill_b'; did you mean 'fillZ'? [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 716 | fill_b(ext, b); | ^~~~~~ | fillZ induct.c:720:9: error: implicit declaration of function 'savecmplx' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 720 | savecmplx(fb, fname, &b, 1, num_mesh); | ^~~~~~~~~ induct.c:738:11: error: implicit declaration of function 'multPrecond' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 738 | multPrecond(indsys->Precond, x0, vect, num_mesh); | ^~~~~~~~~~~ induct.c:743:11: error: implicit declaration of function 'spSolve' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 743 | spSolve(indsys->sparMatrix, x0, x0); | ^~~~~~~ induct.c:748:11: error: implicit declaration of function 'cx_lu_solve' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 748 | cx_lu_solve(MtZM, x0, b, num_mesh); | ^~~~~~~~~~~ induct.c:754:9: error: implicit declaration of function 'makegrids' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 754 | makegrids(indsys, x0, ext->Yindex, m); | ^~~~~~~~~ induct.c:757:7: error: implicit declaration of function 'extractYcol' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 757 | extractYcol(indsys->FinalY, x0, ext, indsys->externals); | ^~~~~~~~~~~ induct.c:784:7: error: implicit declaration of function 'dump_to_Ycond' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 784 | dump_to_Ycond(fp, m, indsys); | ^~~~~~~~~~~~~ induct.c:791:7: error: implicit declaration of function 'cx_invert' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 791 | cx_invert(indsys->FinalY, num_extern); | ^~~~~~~~~ induct.c: In function 'fillA': induct.c:1147:3: error: implicit declaration of function 'pick_ground_nodes' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 1147 | pick_ground_nodes(indsys); | ^~~~~~~~~~~~~~~~~ induct.c: In function 'notblankline': induct.c:1266:28: error: implicit declaration of function 'isspace' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 1266 | while( *string!='\0' && isspace(*string)) | ^~~~~~~ induct.c:6:1: note: include '' or provide a declaration of 'isspace' 5 | #include +++ |+#include 6 | induct.c: At top level: induct.c:1275:1: error: return type defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;] 1275 | savemats(indsys) | ^~~~~~~~ induct.c: In function 'savemats': induct.c:1303:11: error: implicit declaration of function 'nnz_inM' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 1303 | nnz = nnz_inM(indsys->Mlist, num_mesh); | ^~~~~~~ induct.c:1311:7: error: implicit declaration of function 'dump_M_to_text' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 1311 | dump_M_to_text(fp2, Mlist, num_mesh, nnz); | ^~~~~~~~~~~~~~ induct.c:1321:7: error: implicit declaration of function 'dump_M_to_matlab' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 1321 | dump_M_to_matlab(fp, Mlist, num_mesh, nnz, "M"); | ^~~~~~~~~~~~~~~~ induct.c:1386:5: error: implicit declaration of function 'dumpVec_totextfile' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 1386 | dumpVec_totextfile(fp2, R, num_fils); | ^~~~~~~~~~~~~~~~~~ induct.c:1399:7: error: implicit declaration of function 'dumpMat_totextfile' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 1399 | dumpMat_totextfile(fp2, Z, num_fils, num_fils); | ^~~~~~~~~~~~~~~~~~ induct.c: At top level: induct.c:1494:1: error: return type defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;] 1494 | savecmplx(fp, name, Z, rows, cols) | ^~~~~~~~~ induct.c:1522:1: error: return type defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;] 1522 | savecmplx2(fp, name, Z, rows, cols) | ^~~~~~~~~~ induct.c:1561:1: error: return type defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;] 1561 | formMZMt(indsys) | ^~~~~~~~ induct.c:1625:1: error: return type defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;] 1625 | oldformMZMt(indsys) | ^~~~~~~~~~~ In file included from induct.h:41, from induct.c:3: induct.c: In function 'MattAlloc': mulGlobal.h:170:30: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-Wformat=8;;] 170 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 171 | (NUM)*sizeof(TYPE)); \ | ~~~~~~~~~~~~~~~~~~ | | | long unsigned int induct.c:1720:3: note: in expansion of macro 'CALLOC' 1720 | CALLOC(blah, number*size, char, OFF, IND); | ^~~~~~ mulGlobal.h:170:50: note: format string is defined here 170 | (void)fprintf(stderr, " (NULL pointer on %d byte request)\n", \ | ~^ | | | int | %ld mulGlobal.h:120:32: error: implicit declaration of function 'sbrk' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 120 | memcount/1024, sbrk(0)); \ | ^~~~ mulGlobal.h:172:8: note: in expansion of macro 'DUMPALLOCSIZ' 172 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ induct.c:1720:3: note: in expansion of macro 'CALLOC' 1720 | CALLOC(blah, number*size, char, OFF, IND); | ^~~~~~ mulGlobal.h:119:17: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-Wformat=8;;] 119 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 120 | memcount/1024, sbrk(0)); \ | ~~~~~~~~~~~~~ | | | long int mulGlobal.h:172:8: note: in expansion of macro 'DUMPALLOCSIZ' 172 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ induct.c:1720:3: note: in expansion of macro 'CALLOC' 1720 | CALLOC(blah, number*size, char, OFF, IND); | ^~~~~~ mulGlobal.h:119:43: note: format string is defined here 119 | "Total Memory Allocated: %d kilobytes (brk = 0x%x)\n", \ | ~^ | | | int | %ld mulGlobal.h:122:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-Wformat=8;;] 122 | (void)fprintf(stderr, " Q2M matrix memory allocated: %7.d kilobytes\n",\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 123 | memQ2M/1024); \ | ~~~~~~~~~~~ | | | long int mulGlobal.h:172:8: note: in expansion of macro 'DUMPALLOCSIZ' 172 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ induct.c:1720:3: note: in expansion of macro 'CALLOC' 1720 | CALLOC(blah, number*size, char, OFF, IND); | ^~~~~~ mulGlobal.h:122:60: note: format string is defined here 122 | (void)fprintf(stderr, " Q2M matrix memory allocated: %7.d kilobytes\n",\ | ~~~^ | | | int | %7.ld mulGlobal.h:125:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-Wformat=8;;] 125 | (void)fprintf(stderr, " Q2L matrix memory allocated: %7.d kilobytes\n",\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 126 | memQ2L/1024); \ | ~~~~~~~~~~~ | | | long int mulGlobal.h:172:8: note: in expansion of macro 'DUMPALLOCSIZ' 172 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ induct.c:1720:3: note: in expansion of macro 'CALLOC' 1720 | CALLOC(blah, number*size, char, OFF, IND); | ^~~~~~ mulGlobal.h:125:60: note: format string is defined here 125 | (void)fprintf(stderr, " Q2L matrix memory allocated: %7.d kilobytes\n",\ | ~~~^ | | | int | %7.ld mulGlobal.h:128:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-Wformat=8;;] 128 | (void)fprintf(stderr, " Q2P matrix memory allocated: %7.d kilobytes\n",\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 129 | memQ2P/1024); \ | ~~~~~~~~~~~ | | | long int mulGlobal.h:172:8: note: in expansion of macro 'DUMPALLOCSIZ' 172 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ induct.c:1720:3: note: in expansion of macro 'CALLOC' 1720 | CALLOC(blah, number*size, char, OFF, IND); | ^~~~~~ mulGlobal.h:128:60: note: format string is defined here 128 | (void)fprintf(stderr, " Q2P matrix memory allocated: %7.d kilobytes\n",\ | ~~~^ | | | int | %7.ld mulGlobal.h:131:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-Wformat=8;;] 131 | (void)fprintf(stderr, " L2L matrix memory allocated: %7.d kilobytes\n",\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 132 | memL2L/1024); \ | ~~~~~~~~~~~ | | | long int mulGlobal.h:172:8: note: in expansion of macro 'DUMPALLOCSIZ' 172 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ induct.c:1720:3: note: in expansion of macro 'CALLOC' 1720 | CALLOC(blah, number*size, char, OFF, IND); | ^~~~~~ mulGlobal.h:131:60: note: format string is defined here 131 | (void)fprintf(stderr, " L2L matrix memory allocated: %7.d kilobytes\n",\ | ~~~^ | | | int | %7.ld mulGlobal.h:134:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-Wformat=8;;] 134 | (void)fprintf(stderr, " M2M matrix memory allocated: %7.d kilobytes\n",\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 135 | memM2M/1024); \ | ~~~~~~~~~~~ | | | long int mulGlobal.h:172:8: note: in expansion of macro 'DUMPALLOCSIZ' 172 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ induct.c:1720:3: note: in expansion of macro 'CALLOC' 1720 | CALLOC(blah, number*size, char, OFF, IND); | ^~~~~~ mulGlobal.h:134:60: note: format string is defined here 134 | (void)fprintf(stderr, " M2M matrix memory allocated: %7.d kilobytes\n",\ | ~~~^ | | | int | %7.ld mulGlobal.h:137:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-Wformat=8;;] 137 | (void)fprintf(stderr, " M2L matrix memory allocated: %7.d kilobytes\n",\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 138 | memM2L/1024); \ | ~~~~~~~~~~~ | | | long int mulGlobal.h:172:8: note: in expansion of macro 'DUMPALLOCSIZ' 172 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ induct.c:1720:3: note: in expansion of macro 'CALLOC' 1720 | CALLOC(blah, number*size, char, OFF, IND); | ^~~~~~ mulGlobal.h:137:60: note: format string is defined here 137 | (void)fprintf(stderr, " M2L matrix memory allocated: %7.d kilobytes\n",\ | ~~~^ | | | int | %7.ld mulGlobal.h:140:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-Wformat=8;;] 140 | (void)fprintf(stderr, " M2P matrix memory allocated: %7.d kilobytes\n",\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 141 | memM2P/1024); \ | ~~~~~~~~~~~ | | | long int mulGlobal.h:172:8: note: in expansion of macro 'DUMPALLOCSIZ' 172 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ induct.c:1720:3: note: in expansion of macro 'CALLOC' 1720 | CALLOC(blah, number*size, char, OFF, IND); | ^~~~~~ mulGlobal.h:140:60: note: format string is defined here 140 | (void)fprintf(stderr, " M2P matrix memory allocated: %7.d kilobytes\n",\ | ~~~^ | | | int | %7.ld mulGlobal.h:143:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-Wformat=8;;] 143 | (void)fprintf(stderr, " L2P matrix memory allocated: %7.d kilobytes\n",\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 144 | memL2P/1024); \ | ~~~~~~~~~~~ | | | long int mulGlobal.h:172:8: note: in expansion of macro 'DUMPALLOCSIZ' 172 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ induct.c:1720:3: note: in expansion of macro 'CALLOC' 1720 | CALLOC(blah, number*size, char, OFF, IND); | ^~~~~~ mulGlobal.h:143:60: note: format string is defined here 143 | (void)fprintf(stderr, " L2P matrix memory allocated: %7.d kilobytes\n",\ | ~~~^ | | | int | %7.ld mulGlobal.h:146:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-Wformat=8;;] 146 | (void)fprintf(stderr, " Q2PD matrix memory allocated: %7.d kilobytes\n",\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 147 | memQ2PD/1024); \ | ~~~~~~~~~~~~ | | | long int mulGlobal.h:172:8: note: in expansion of macro 'DUMPALLOCSIZ' 172 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ induct.c:1720:3: note: in expansion of macro 'CALLOC' 1720 | CALLOC(blah, number*size, char, OFF, IND); | ^~~~~~ mulGlobal.h:146:60: note: format string is defined here 146 | (void)fprintf(stderr, " Q2PD matrix memory allocated: %7.d kilobytes\n",\ | ~~~^ | | | int | %7.ld mulGlobal.h:149:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-Wformat=8;;] 149 | (void)fprintf(stderr, " Miscellaneous mem. allocated: %7.d kilobytes\n",\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 150 | memMSC/1024); \ | ~~~~~~~~~~~ | | | long int mulGlobal.h:172:8: note: in expansion of macro 'DUMPALLOCSIZ' 172 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ induct.c:1720:3: note: in expansion of macro 'CALLOC' 1720 | CALLOC(blah, number*size, char, OFF, IND); | ^~~~~~ mulGlobal.h:149:60: note: format string is defined here 149 | (void)fprintf(stderr, " Miscellaneous mem. allocated: %7.d kilobytes\n",\ | ~~~^ | | | int | %7.ld mulGlobal.h:152:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-Wformat=8;;] 152 | (void)fprintf(stderr, " Inductance mem. allocated: %7.d kilobytes\n",\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 153 | memIND/1024); \ | ~~~~~~~~~~~ | | | long int mulGlobal.h:172:8: note: in expansion of macro 'DUMPALLOCSIZ' 172 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ induct.c:1720:3: note: in expansion of macro 'CALLOC' 1720 | CALLOC(blah, number*size, char, OFF, IND); | ^~~~~~ mulGlobal.h:152:57: note: format string is defined here 152 | (void)fprintf(stderr, " Inductance mem. allocated: %7.d kilobytes\n",\ | ~~~^ | | | int | %7.ld mulGlobal.h:155:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-Wformat=8;;] 155 | (void)fprintf(stderr, " Total memory (check w/above): %7.d kilobytes\n",\ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 156 | memcount/1024); \ | ~~~~~~~~~~~~~ | | | long int mulGlobal.h:172:8: note: in expansion of macro 'DUMPALLOCSIZ' 172 | DUMPALLOCSIZ; \ | ^~~~~~~~~~~~ induct.c:1720:3: note: in expansion of macro 'CALLOC' 1720 | CALLOC(blah, number*size, char, OFF, IND); | ^~~~~~ mulGlobal.h:155:60: note: format string is defined here 155 | (void)fprintf(stderr, " Total memory (check w/above): %7.d kilobytes\n",\ | ~~~^ | | | int | %7.ld induct.c: At top level: induct.c:1734:1: error: return type defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;] 1734 | formMtrans(indsys) | ^~~~~~~~~~ induct.c:1806:1: error: return type defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;] 1806 | compare_meshes(mesh1, mesh2) | ^~~~~~~~~~~~~~ induct.c:1821:1: error: return type defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;] 1821 | cx_dumpMat_totextfile(fp, Z, rows, cols) | ^~~~~~~~~~~~~~~~~~~~~ induct.c: In function 'cx_dumpMat_totextfile': induct.c:1833:3: error: 'return' with no value, in function returning non-void [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-return-mismatch-Wreturn-mismatch8;;] 1833 | return; | ^~~~~~ induct.c:1821:1: note: declared here 1821 | cx_dumpMat_totextfile(fp, Z, rows, cols) | ^~~~~~~~~~~~~~~~~~~~~ induct.c: At top level: induct.c:1836:1: error: return type defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;] 1836 | dumpMat_totextfile(fp, A, rows, cols) | ^~~~~~~~~~~~~~~~~~ induct.c: In function 'dumpMat_totextfile': induct.c:1848:3: error: 'return' with no value, in function returning non-void [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-return-mismatch-Wreturn-mismatch8;;] 1848 | return; | ^~~~~~ induct.c:1836:1: note: declared here 1836 | dumpMat_totextfile(fp, A, rows, cols) | ^~~~~~~~~~~~~~~~~~ induct.c: At top level: induct.c:1851:1: error: return type defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;] 1851 | dumpVec_totextfile(fp2, Vec, size) | ^~~~~~~~~~~~~~~~~~ induct.c:1859:1: error: return type defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;] 1859 | fillMrow(Mlist, mesh, Mrow) | ^~~~~~~~ induct.c:1876:1: error: return type defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;] 1876 | dump_to_Ycond(fp, cond, indsys) | ^~~~~~~~~~~~~ induct.c: In function 'dump_to_Ycond': induct.c:1893:3: error: implicit declaration of function 'saveCarray'; did you mean 'Make_C_array'? [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 1893 | saveCarray(fp, fname, indsys->resids, indsys->num_sub_extern, maxiters); | ^~~~~~~~~~ | Make_C_array induct.c: At top level: induct.c:1909:1: error: return type defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;] 1909 | saveCarray(fp, fname, Arr, rows, cols) | ^~~~~~~~~~ induct.c:1945:1: error: return type defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;] 1945 | dump_M_to_text(fp, Mlist, num_mesh, nnz) | ^~~~~~~~~~~~~~ induct.c:1966:1: error: return type defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;] 1966 | dump_M_to_matlab(fp, Mlist, num_mesh, nnz, mname) | ^~~~~~~~~~~~~~~~ induct.c:1994:1: error: return type defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;] 1994 | pick_ground_nodes(indsys) | ^~~~~~~~~~~~~~~~~ induct.c:2051:1: error: return type defaults to 'int' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int8;;] 2051 | concat4(s1,s2,s3,s4) | ^~~~~~~ make[1]: *** [: induct.o] Error 1 make[1]: Leaving directory '/build/source/src/fasthenry' make: *** [Makefile:17: fasthenry] Error 2