=> "/opt/local/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-trunk-x86_64/net/gt-itm", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for gt-itm-0pre19961004nb1 --- itm.o --- --- geog.o --- --- itm.o --- gcc -I../include -L../lib -I/opt/local/include -I/usr/include -c itm.c --- geog.o --- gcc -I../include -L../lib -I/opt/local/include -I/usr/include -c geog.c In file included from geog.c:16: ../include/geog.h:44: warning: "MAXNAMELEN" redefined 44 | #define MAXNAMELEN 128 | In file included from geog.c:10: /usr/include/sys/param.h:202: note: this is the location of the previous definition 202 | #define MAXNAMELEN 256 | geog.c: In function 'randomize': --- itm.o --- itm.c: In function 'makegraph': --- geog.o --- geog.c:75:10: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] 75 | register i,indx; | ^ geog.c:75:12: warning: type defaults to 'int' in declaration of 'indx' [-Wimplicit-int] 75 | register i,indx; | ^~~~ --- itm.o --- itm.c:208:9: warning: implicit declaration of function 'die'; did you mean 'div'? [-Wimplicit-function-declaration] 208 | die(errstr); | ^~~ | div --- geog.o --- geog.c: In function 'geo': geog.c:153:10: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] 153 | register i,j; | ^ geog.c:153:12: warning: type defaults to 'int' in declaration of 'j' [-Wimplicit-int] 153 | register i,j; | ^ geog.c:189:26: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration] 189 | occ = (u_char *) alloca(nbytes); | ^~~~~~ geog.c:189:26: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] --- itm.o --- itm.c:270:36: warning: implicit declaration of function 'isconnected' [-Wimplicit-function-declaration] 270 | } while (G != NULL && !isconnected(G)); | ^~~~~~~~~~~ itm.c:290:19: warning: implicit declaration of function 'save_graph'; did you mean 'makegraph'? [-Wimplicit-function-declaration] 290 | nerrors = save_graph(G, outfilename); | ^~~~~~~~~~ | makegraph itm.c: At top level: itm.c:299:1: warning: return type defaults to 'int' [-Wimplicit-int] 299 | main(int argc, char **argv) | ^~~~ --- geog.o --- geog.c:238:17: warning: implicit declaration of function 'die'; did you mean 'div'? [-Wimplicit-function-declaration] 238 | die("Bad edge method in geo()!"); | ^~~ | div geog.c: In function 'geo_hier': geog.c:359:10: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] 359 | register i,k,indx; | ^ geog.c:359:12: warning: type defaults to 'int' in declaration of 'k' [-Wimplicit-int] 359 | register i,k,indx; | ^ geog.c:359:14: warning: type defaults to 'int' in declaration of 'indx' [-Wimplicit-int] 359 | register i,k,indx; | ^~~~ geog.c:392:30: warning: implicit declaration of function 'isconnected' [-Wimplicit-function-declaration] 392 | } while (tG != NULL && !isconnected(tG)); | ^~~~~~~~~~~ geog.c:397:19: warning: implicit declaration of function 'fdiam'; did you mean 'fdim'? [-Wimplicit-function-declaration] 397 | maxDiam[0] = fdiam(tG); | ^~~~~ | fdim --- ts.o --- gcc -I../include -L../lib -I/opt/local/include -I/usr/include -c ts.c --- dfs.o --- gcc -I../include -L../lib -I/opt/local/include -I/usr/include -c dfs.c --- ts.o --- ts.c: In function 'fdiam': ts.c:74:10: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] 74 | register i,j,k; | ^ ts.c:74:12: warning: type defaults to 'int' in declaration of 'j' [-Wimplicit-int] 74 | register i,j,k; | ^ ts.c:74:14: warning: type defaults to 'int' in declaration of 'k' [-Wimplicit-int] 74 | register i,j,k; | ^ ts.c:83:25: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration] 83 | dist = (long **)alloca(i); | ^~~~~~ ts.c:83:25: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] ts.c:97:31: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] 97 | dist[i] = (long *)alloca(g->n*sizeof(long)); | ^~~~~~ ts.c: In function 'die': ts.c:172:1: warning: type of 's' defaults to 'int' [-Wimplicit-int] 172 | die(s) | ^~~ ts.c: In function 'copyedges': ts.c:185:10: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] 185 | register i, indx; | ^ ts.c:185:13: warning: type defaults to 'int' in declaration of 'indx' [-Wimplicit-int] 185 | register i, indx; | ^~~~ ts.c: In function 'transtub': ts.c:299:14: warning: implicit declaration of function 'isconnected' [-Wimplicit-function-declaration] 299 | } while (!isconnected(topG) && ++numtries < 100); | ^~~~~~~~~~~ ts.c:309:4: warning: implicit declaration of function 'randomize'; did you mean 'random'? [-Wimplicit-function-declaration] 309 | randomize(nnodes,topG->n,transpp->n,RANDMULT*topG->n); | ^~~~~~~~~ | random ts.c:522:44: warning: implicit declaration of function 'idist' [-Wimplicit-function-declaration] 522 | gb_new_edge(dnp->flat,anp, idist(dnp->flat,anp)); | ^~~~~ ts.c:580:19: warning: implicit declaration of function 'td_OK' [-Wimplicit-function-declaration] 580 | } while (!td_OK(snp,dnp)); | ^~~~~ ts.c:601:19: warning: implicit declaration of function 'stubs_OK' [-Wimplicit-function-declaration] 601 | } while (!stubs_OK(dnp,ddnp)); | ^~~~~~~~ ts.c:618:9: warning: implicit declaration of function 'printparms' [-Wimplicit-function-declaration] 618 | i += printparms(dnodename,toppp); | ^~~~~~~~~~ --- dfs.o --- dfs.c:19: warning: "NBBY" redefined 19 | #define NBBY 8 | In file included from /usr/include/sys/types.h:687, from dfs.c:10: /usr/include/sys/select.h:103: note: this is the location of the previous definition 103 | #define NBBY _NBBY | dfs.c:23:1: warning: return type defaults to 'int' [-Wimplicit-int] 23 | isconnected(Graph *G) | ^~~~~~~~~~~ dfs.c: In function 'isconnected': dfs.c:32:26: warning: implicit declaration of function 'alloca' [-Wimplicit-function-declaration] 32 | vis = (u_char *) alloca(nbytes); | ^~~~~~ dfs.c:32:26: warning: incompatible implicit declaration of built-in function 'alloca' [-Wbuiltin-declaration-mismatch] dfs.c:39:11: warning: implicit declaration of function 'dfs'; did you mean 'ffs'? [-Wimplicit-function-declaration] 39 | i = (dfs(G,0,vis)==G->n); | ^~~ | ffs --- sgb2alt.o --- gcc -I../include -L../lib -I/opt/local/include -I/usr/include -c sgb2alt.c --- edriver.o --- gcc -I../include -L../lib -I/opt/local/include -I/usr/include -c edriver.c --- sgb2alt.o --- sgb2alt.c:27:1: warning: return type defaults to 'int' [-Wimplicit-int] 27 | main(argc,argv) | ^~~~ --- edriver.o --- edriver.c:52:1: warning: return type defaults to 'int' [-Wimplicit-int] 52 | main(argc,argv) | ^~~~ edriver.c: In function 'main': edriver.c:85:9: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 85 | exit(1); | ^~~~ edriver.c:42:1: note: include '' or provide a declaration of 'exit' 41 | #include "eval.h" +++ |+#include 42 | edriver.c:85:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 85 | exit(1); | ^~~~ edriver.c:85:9: note: include '' or provide a declaration of 'exit' edriver.c:48:25: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 48 | exit(2);\ | ^~~~ edriver.c:105:5: note: in expansion of macro 'OPEN_OUT' 105 | OPEN_OUT(evf,"-ev"); | ^~~~~~~~ edriver.c:48:25: note: include '' or provide a declaration of 'exit' 48 | exit(2);\ | ^~~~ edriver.c:105:5: note: in expansion of macro 'OPEN_OUT' 105 | OPEN_OUT(evf,"-ev"); | ^~~~~~~~ edriver.c:48:25: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 48 | exit(2);\ | ^~~~ edriver.c:108:17: note: in expansion of macro 'OPEN_OUT' 108 | if (prdist) OPEN_OUT(ddf,"-dd"); | ^~~~~~~~ edriver.c:48:25: note: include '' or provide a declaration of 'exit' 48 | exit(2);\ | ^~~~ edriver.c:108:17: note: in expansion of macro 'OPEN_OUT' 108 | if (prdist) OPEN_OUT(ddf,"-dd"); | ^~~~~~~~ edriver.c:112:11: warning: implicit declaration of function 'finddegdist' [-Wimplicit-function-declaration] 112 | max = finddegdist(g,&ddist); | ^~~~~~~~~~~ edriver.c:143:7: warning: implicit declaration of function 'dopaths' [-Wimplicit-function-declaration] 143 | dopaths(g,f0,f1,&min,&max,&avg); | ^~~~~~~ edriver.c:48:25: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 48 | exit(2);\ | ^~~~ edriver.c:147:9: note: in expansion of macro 'OPEN_OUT' 147 | OPEN_OUT(pdf,argv[idx]); | ^~~~~~~~ edriver.c:48:25: note: include '' or provide a declaration of 'exit' 48 | exit(2);\ | ^~~~ edriver.c:147:9: note: in expansion of macro 'OPEN_OUT' 147 | OPEN_OUT(pdf,argv[idx]); | ^~~~~~~~ edriver.c:148:9: warning: implicit declaration of function 'dodepthdist' [-Wimplicit-function-declaration] 148 | dodepthdist(g,&ddist); | ^~~~~~~~~~~ edriver.c:160:35: warning: implicit declaration of function 'bicomp'; did you mean 'bcmp'? [-Wimplicit-function-declaration] 160 | fprintf(evf,"bicomp %d\n",bicomp(g,0)); | ^~~~~~ | bcmp edriver.c:164:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 164 | exit(0); | ^~~~ edriver.c:164:5: note: include '' or provide a declaration of 'exit' --- eval.o --- gcc -I../include -L../lib -I/opt/local/include -I/usr/include -c eval.c --- itm --- gcc -I../include -L../lib -o ../bin/itm itm.o geog.o ts.o dfs.o -L/opt/local/lib -Wl,-R/opt/local/lib -lm -lgb --- sgb2alt --- gcc -I../include -L../lib -o ../bin/sgb2alt sgb2alt.o -L/opt/local/lib -Wl,-R/opt/local/lib -lm -lgb --- edriver --- gcc -I../include -L../lib -o ../bin/edriver edriver.o eval.o -L/opt/local/lib -Wl,-R/opt/local/lib -lm -lgb