The build took 00h 00m 59s and was NOT successful.
The program in this build is written in the following languages, according to sloccount:
| SLOC | Language |
|---|---|
9,850 |
ansic |
14 |
makefile |
9,864 |
total |
The process tree of the build process is here.
Several sub-process invocations were improper; see the process tree for details. Summary:
To avoid scrolling, you may jump to the last line of the
invocation of makepkg that was used to build this
package.
Removed vanilla repositories from pacman.conf and added:
Copied permanent toolchain into container-local sysroot
/toolchain_root/arm-linux-androideabi --> /sysroot/arm-linux-androideabi/toolchain_root/COPYING3.LIB --> /sysroot/COPYING3.LIB/toolchain_root/sysroot --> /sysroot/sysroot/toolchain_root/COPYING.RUNTIME --> /sysroot/COPYING.RUNTIME/toolchain_root/lib --> /sysroot/lib/toolchain_root/SOURCES --> /sysroot/SOURCES/toolchain_root/lib64 --> /sysroot/lib64/toolchain_root/share --> /sysroot/share/toolchain_root/bin --> /sysroot/bin/toolchain_root/COPYING --> /sysroot/COPYING/toolchain_root/COPYING3 --> /sysroot/COPYING3/toolchain_root/COPYING.LIB --> /sysroot/COPYING.LIB/toolchain_root/include --> /sysroot/include/toolchain_root/libexec --> /sysroot/libexecCMD: sudo -u tuscan PATH=/sysroot/bin:/sysroot/libexec/gcc/arm-linux-androideabi/4.8:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin CC=arm-linux-androideabi-gcc CXX=arm-linux-androideabi-g++ red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
==> Making package: buckygen 1.0-1 (Tue Apr 4 19:30:25 UTC 2017)==> Checking runtime dependencies...==> Checking buildtime dependencies...==> WARNING: Using existing $srcdir/ tree==> Starting build()...rm -f buckygengcc -O4 buckygen.c -o buckygencc1: error: no include path in which to search for stdc-predef.hbuckygen.c:109:19: error: no include path in which to search for stdio.h #include ^buckygen.c:112:20: error: no include path in which to search for stdlib.h #include ^buckygen.c:113:19: error: no include path in which to search for errno.h #include ^buckygen.c:114:20: error: no include path in which to search for string.h #include ^buckygen.c:115:20: error: no include path in which to search for limits.h #include ^buckygen.c:125:23: error: no include path in which to search for sys/times.h #include ^buckygen.c:126:18: error: no include path in which to search for time.h #include ^buckygen.c:128:20: error: no include path in which to search for unistd.h #include ^buckygen.c:248:23: error: 'NULL' undeclared here (not in a function) SPLAYNODE *worklist = NULL; ^In file included from buckygen.c:272:0:splay.c: In function 'splay_insert':splay.c:283:33: warning: incompatible implicit declaration of built-in function 'malloc' [enabled by default] if ((new_node = (SPLAYNODE*)malloc(SPLAYNODESIZE)) == NULL) ^splay.c:285:9: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(stderr,">E malloc failed in splay_insert()\n"); ^splay.c:285:17: error: 'stderr' undeclared (first use in this function) fprintf(stderr,">E malloc failed in splay_insert()\n"); ^splay.c:285:17: note: each undeclared identifier is reported only once for each function it appears insplay.c:286:9: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^splay.c: In function 'splay_delete':splay.c:365:2: warning: incompatible implicit declaration of built-in function 'free' [enabled by default] free(p); ^splay.c:375:9: warning: incompatible implicit declaration of built-in function 'free' [enabled by default] free(p); ^splay.c:393:6: warning: incompatible implicit declaration of built-in function 'free' [enabled by default] free(p); ^buckygen.c: At top level:buckygen.c:278:1: error: unknown type name 'FILE' static FILE *outfile; /* output file for graphs */ ^buckygen.c:279:1: error: unknown type name 'FILE' static FILE *msgfile; /* file for informational messages */ ^buckygen.c:449:16: error: 'INT_MAX' undeclared here (not in a function) #define MAXVAL INT_MAX - 2 ^buckygen.c:450:24: note: in expansion of macro 'MAXVAL' static int markvalue = MAXVAL; ^buckygen.c:799:28: error: unknown type name 'FILE' static void (*write_graph)(FILE*,int); ^buckygen.c:800:33: error: unknown type name 'FILE' static void (*write_dual_graph)(FILE*,int); ^buckygen.c: In function 'print_embedded_graph':buckygen.c:841:5: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(stderr, "nv: %d, ne: %d\n", nv, ne); ^buckygen.c:841:13: error: 'stderr' undeclared (first use in this function) fprintf(stderr, "nv: %d, ne: %d\n", nv, ne); ^buckygen.c:861:13: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^buckygen.c:867:17: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^buckygen.c:873:9: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^buckygen.c: In function 'print_code':buckygen.c:886:9: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(stderr, "%d ", canon_form[i]); ^buckygen.c:886:17: error: 'stderr' undeclared (first use in this function) fprintf(stderr, "%d ", canon_form[i]); ^buckygen.c: In function 'outputnode':buckygen.c:945:5: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(stderr, "Error: outputting of nodes not allowed\n"); ^buckygen.c:945:13: error: 'stderr' undeclared (first use in this function) fprintf(stderr, "Error: outputting of nodes not allowed\n"); ^buckygen.c:946:5: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^buckygen.c: At top level:buckygen.c:952:12: error: unknown type name 'FILE' show_group(FILE *f, int nbtot, int nbop) ^buckygen.c: In function 'insert_edge_fuller':buckygen.c:336:5: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] {fprintf(stderr,">E Ran out of edges\n"); exit(1);} ^buckygen.c:1073:5: note: in expansion of macro 'NEWEDGE' NEWEDGE(e); ^buckygen.c:336:13: error: 'stderr' undeclared (first use in this function) {fprintf(stderr,">E Ran out of edges\n"); exit(1);} ^buckygen.c:1073:5: note: in expansion of macro 'NEWEDGE' NEWEDGE(e); ^buckygen.c:336:46: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] {fprintf(stderr,">E Ran out of edges\n"); exit(1);} ^buckygen.c:1073:5: note: in expansion of macro 'NEWEDGE' NEWEDGE(e); ^buckygen.c: In function 'insert_edge_fuller_invers':buckygen.c:336:5: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] {fprintf(stderr,">E Ran out of edges\n"); exit(1);} ^buckygen.c:1101:5: note: in expansion of macro 'NEWEDGE' NEWEDGE(e); ^buckygen.c:336:13: error: 'stderr' undeclared (first use in this function) {fprintf(stderr,">E Ran out of edges\n"); exit(1);} ^buckygen.c:1101:5: note: in expansion of macro 'NEWEDGE' NEWEDGE(e); ^buckygen.c:336:46: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] {fprintf(stderr,">E Ran out of edges\n"); exit(1);} ^buckygen.c:1101:5: note: in expansion of macro 'NEWEDGE' NEWEDGE(e); ^buckygen.c: In function 'extend_L0':buckygen.c:336:5: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] {fprintf(stderr,">E Ran out of edges\n"); exit(1);} ^buckygen.c:1195:13: note: in expansion of macro 'NEWEDGE' NEWEDGE(e); ^buckygen.c:336:13: error: 'stderr' undeclared (first use in this function) {fprintf(stderr,">E Ran out of edges\n"); exit(1);} ^buckygen.c:1195:13: note: in expansion of macro 'NEWEDGE' NEWEDGE(e); ^buckygen.c:336:46: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] {fprintf(stderr,">E Ran out of edges\n"); exit(1);} ^buckygen.c:1195:13: note: in expansion of macro 'NEWEDGE' NEWEDGE(e); ^buckygen.c: In function 'extend_straight':buckygen.c:336:5: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] {fprintf(stderr,">E Ran out of edges\n"); exit(1);} ^buckygen.c:1412:13: note: in expansion of macro 'NEWEDGE' NEWEDGE(e); ^buckygen.c:336:13: error: 'stderr' undeclared (first use in this function) {fprintf(stderr,">E Ran out of edges\n"); exit(1);} ^buckygen.c:1412:13: note: in expansion of macro 'NEWEDGE' NEWEDGE(e); ^buckygen.c:336:46: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] {fprintf(stderr,">E Ran out of edges\n"); exit(1);} ^buckygen.c:1412:13: note: in expansion of macro 'NEWEDGE' NEWEDGE(e); ^buckygen.c: In function 'extend_bent_zero':buckygen.c:336:5: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] {fprintf(stderr,">E Ran out of edges\n"); exit(1);} ^buckygen.c:1618:13: note: in expansion of macro 'NEWEDGE' NEWEDGE(e); ^buckygen.c:336:13: error: 'stderr' undeclared (first use in this function) {fprintf(stderr,">E Ran out of edges\n"); exit(1);} ^buckygen.c:1618:13: note: in expansion of macro 'NEWEDGE' NEWEDGE(e); ^buckygen.c:336:46: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] {fprintf(stderr,">E Ran out of edges\n"); exit(1);} ^buckygen.c:1618:13: note: in expansion of macro 'NEWEDGE' NEWEDGE(e); ^buckygen.c: In function 'extend_bent':buckygen.c:336:5: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] {fprintf(stderr,">E Ran out of edges\n"); exit(1);} ^buckygen.c:1908:13: note: in expansion of macro 'NEWEDGE' NEWEDGE(e); ^buckygen.c:336:13: error: 'stderr' undeclared (first use in this function) {fprintf(stderr,">E Ran out of edges\n"); exit(1);} ^buckygen.c:1908:13: note: in expansion of macro 'NEWEDGE' NEWEDGE(e); ^buckygen.c:336:46: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] {fprintf(stderr,">E Ran out of edges\n"); exit(1);} ^buckygen.c:1908:13: note: in expansion of macro 'NEWEDGE' NEWEDGE(e); ^buckygen.c: In function 'compute_group':buckygen.c:3874:17: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(stderr, "Error: vertices with minimal colour are assumed to have degree <= 5\n"); ^buckygen.c:3874:25: error: 'stderr' undeclared (first use in this function) fprintf(stderr, "Error: vertices with minimal colour are assumed to have degree <= 5\n"); ^buckygen.c:3875:17: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^buckygen.c: In function 'initialize_fuller_code':buckygen.c:4630:2: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(stderr,"Error: graph of size 0 or too big. Max nv is: %d, found: %d\n", MAXN, nv); ^buckygen.c:4630:10: error: 'stderr' undeclared (first use in this function) fprintf(stderr,"Error: graph of size 0 or too big. Max nv is: %d, found: %d\n", MAXN, nv); ^buckygen.c:4631:2: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^buckygen.c:336:5: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] {fprintf(stderr,">E Ran out of edges\n"); exit(1);} ^buckygen.c:4641:13: note: in expansion of macro 'NEWEDGE' NEWEDGE(e); ^buckygen.c:336:46: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] {fprintf(stderr,">E Ran out of edges\n"); exit(1);} ^buckygen.c:4641:13: note: in expansion of macro 'NEWEDGE' NEWEDGE(e); ^buckygen.c: In function 'initialize_fuller_arrays':buckygen.c:4725:9: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(stderr, "Error: MAX_BENT_LENGTH is too small: %d\n", MAX_BENT_LENGTH); ^buckygen.c:4725:17: error: 'stderr' undeclared (first use in this function) fprintf(stderr, "Error: MAX_BENT_LENGTH is too small: %d\n", MAX_BENT_LENGTH); ^buckygen.c:4726:9: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^buckygen.c:4756:21: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(stderr, "Error: difference in distance can be at most 1\n"); ^buckygen.c:4757:21: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^buckygen.c:4766:17: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(stderr, "Error: distance can be at most %d\n", MAX_STRAIGHT_LENGTH - 1); ^buckygen.c:4768:17: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^buckygen.c:4779:13: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(stderr, "Error: distance can be at most %d\n", MAX_STRAIGHT_LENGTH - 1); ^buckygen.c:4781:13: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^buckygen.c: In function 'add_bent_extension':buckygen.c:6230:9: warning: incompatible implicit declaration of built-in function 'memcpy' [enabled by default] memcpy(ext_bent, ext_bent_global, sizeof(EDGE *) * num_ext_bent_global); ^buckygen.c:6235:9: warning: incompatible implicit declaration of built-in function 'free' [enabled by default] free(ext_bent_global); ^buckygen.c:6243:37: warning: incompatible implicit declaration of built-in function 'malloc' [enabled by default] ext_bent_global = (EDGE **) malloc(sizeof(EDGE*) * max_num_ext_bent_global); ^buckygen.c:6245:13: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(stderr, "Error: can't get enough memory\n"); ^buckygen.c:6245:21: error: 'stderr' undeclared (first use in this function) fprintf(stderr, "Error: can't get enough memory\n"); ^buckygen.c:6246:13: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^buckygen.c:6250:13: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(stderr, "Error: can't get enough memory\n"); ^buckygen.c:6251:13: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^buckygen.c:6255:13: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(stderr, "Error: can't get enough memory\n"); ^buckygen.c:6256:13: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^buckygen.c:6260:13: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(stderr, "Error: can't get enough memory\n"); ^buckygen.c:6261:13: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^buckygen.c: In function 'compute_planar_code':buckygen.c:8171:9: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(stderr, "Error: invalid code length: %d vs %d\n", length, (nv + ne + 1)); ^buckygen.c:8171:17: error: 'stderr' undeclared (first use in this function) fprintf(stderr, "Error: invalid code length: %d vs %d\n", length, (nv + ne + 1)); ^buckygen.c:8172:9: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^buckygen.c: At top level:buckygen.c:8184:28: error: unknown type name 'FILE' write_planar_code_modified(FILE *f, int doflip) ^buckygen.c:8218:19: error: unknown type name 'FILE' write_planar_code(FILE *f, int doflip) ^buckygen.c:8248:24: error: unknown type name 'FILE' write_dual_planar_code(FILE *f, int doflip) ^buckygen.c:8278:14: error: unknown type name 'FILE' write_digits(FILE *f, int doflip) ^buckygen.c:8344:13: error: unknown type name 'FILE' write_alpha(FILE *f, int doflip) ^buckygen.c:8402:18: error: unknown type name 'FILE' write_dual_alpha(FILE *f, int doflip) ^buckygen.c:8460:23: error: unknown type name 'FILE' write_code_as_sparse6(FILE *f, unsigned char code[]) ^buckygen.c:8575:15: error: unknown type name 'FILE' write_sparse6(FILE *f, int doflip) ^buckygen.c:8588:20: error: unknown type name 'FILE' write_dual_sparse6(FILE *f, int doflip) ^buckygen.c:8602:22: error: unknown type name 'FILE' write_code_as_graph6(FILE *f, unsigned char code[]) ^buckygen.c:8663:14: error: unknown type name 'FILE' write_graph6(FILE *f, int doflip) ^buckygen.c:8676:19: error: unknown type name 'FILE' write_dual_graph6(FILE *f, int doflip) ^buckygen.c: In function 'check_it':buckygen.c:8717:13: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(stderr,">E next error, code=%d\n",code); ^buckygen.c:8717:21: error: 'stderr' undeclared (first use in this function) fprintf(stderr,">E next error, code=%d\n",code); ^buckygen.c:8718:13: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^buckygen.c:8725:13: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(stderr,">E prev error, code=%d\n",code); ^buckygen.c:8726:13: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^buckygen.c:8735:17: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(stderr,">E start error, code=%d\n",code); ^buckygen.c:8736:17: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^buckygen.c:8740:17: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(stderr,">E end label error, code=%d\n",code); ^buckygen.c:8741:17: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^buckygen.c:8745:17: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(stderr,">E invers label error, code=%d\n",code); ^buckygen.c:8746:17: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^buckygen.c:8750:17: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(stderr,">E end error, code=%d\n",code); ^buckygen.c:8751:17: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^buckygen.c:8758:17: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(stderr,">E face error, code=%d\n",code); ^buckygen.c:8759:17: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^buckygen.c: At top level:buckygen.c:8827:14: error: unknown type name 'FILE' write_header(FILE *fil) { ^buckygen.c: In function 'got_one':buckygen.c:8895:17: error: unknown type name 'FILE' FILE *fil; ^buckygen.c:8897:25: warning: assignment makes pointer from integer without a cast [enabled by default] fil = fopen(no_penta_spiral_filename, zeroswitch || aswitch || gswitch || sswitch ? "w" : "wb"); ^buckygen.c:8899:25: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(stderr, "Error: can't open %s\n", no_penta_spiral_filename); ^buckygen.c:8899:33: error: 'stderr' undeclared (first use in this function) fprintf(stderr, "Error: can't open %s\n", no_penta_spiral_filename); ^buckygen.c:8900:25: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^buckygen.c:8905:25: warning: assignment makes pointer from integer without a cast [enabled by default] fil = fopen(no_penta_spiral_filename, zeroswitch || aswitch || gswitch || sswitch ? "a" : "ab"); ^buckygen.c:8907:25: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(stderr, "Error: can't open %s\n", no_penta_spiral_filename); ^buckygen.c:8908:25: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^buckygen.c:8912:31: error: 'write_dual_graph' undeclared (first use in this function) if(dswitch) (*write_dual_graph)(fil, doflip); ^buckygen.c:8913:24: error: 'write_graph' undeclared (first use in this function) else (*write_graph)(fil, doflip); ^buckygen.c:8935:17: error: unknown type name 'FILE' FILE *fil; ^buckygen.c:8937:25: warning: assignment makes pointer from integer without a cast [enabled by default] fil = fopen(no_spiral_filename, zeroswitch || aswitch || gswitch || sswitch ? "w" : "wb"); ^buckygen.c:8939:25: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(stderr, "Error: can't open %s\n", no_spiral_filename); ^buckygen.c:8940:25: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^buckygen.c:8945:25: warning: assignment makes pointer from integer without a cast [enabled by default] fil = fopen(no_spiral_filename, zeroswitch || aswitch || gswitch || sswitch ? "a" : "ab"); ^buckygen.c:8947:25: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(stderr, "Error: can't open %s\n", no_spiral_filename); ^buckygen.c:8948:25: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^buckygen.c: In function 'test_canon_edge_short':buckygen.c:10107:9: warning: incompatible implicit declaration of built-in function 'memcpy' [enabled by default] memcpy(good_next_tmp, good_next, sizeof(EDGE *) * num_good_next); ^buckygen.c: In function 'scansimple_fuller_ipr':buckygen.c:12948:33: warning: incompatible implicit declaration of built-in function 'malloc' [enabled by default] EDGE **ext_bent = (EDGE **) malloc(sizeof(EDGE*) * (num_ext_bent + 1)); ^buckygen.c:12950:9: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(stderr, "Error: can't get enough memory\n"); ^buckygen.c:12950:17: error: 'stderr' undeclared (first use in this function) fprintf(stderr, "Error: can't get enough memory\n"); ^buckygen.c:12951:9: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^buckygen.c:12955:9: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(stderr, "Error: can't get enough memory\n"); ^buckygen.c:12956:9: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^buckygen.c:12960:9: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(stderr, "Error: can't get enough memory\n"); ^buckygen.c:12961:9: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^buckygen.c:12965:9: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(stderr, "Error: can't get enough memory\n"); ^buckygen.c:12966:9: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^buckygen.c:12970:9: warning: incompatible implicit declaration of built-in function 'memcpy' [enabled by default] memcpy(ext_bent, ext_bent_global, sizeof(EDGE *) * num_ext_bent); ^buckygen.c:13261:5: warning: incompatible implicit declaration of built-in function 'free' [enabled by default] free(ext_bent); ^buckygen.c: In function 'has_lm_path':buckygen.c:13472:9: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(stderr, "Error: outer_path_length and path_length are different: %d vs %d\n", ^buckygen.c:13472:17: error: 'stderr' undeclared (first use in this function) fprintf(stderr, "Error: outer_path_length and path_length are different: %d vs %d\n", ^buckygen.c:13474:9: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^buckygen.c:13478:9: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(stderr, "Error: invalid path length: %d vs %d expected\n", *path_length, (el + m)); ^buckygen.c:13479:9: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^buckygen.c: In function 'add_ring_bent':buckygen.c:336:5: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] {fprintf(stderr,">E Ran out of edges\n"); exit(1);} ^buckygen.c:13506:13: note: in expansion of macro 'NEWEDGE' NEWEDGE(e); ^buckygen.c:336:13: error: 'stderr' undeclared (first use in this function) {fprintf(stderr,">E Ran out of edges\n"); exit(1);} ^buckygen.c:13506:13: note: in expansion of macro 'NEWEDGE' NEWEDGE(e); ^buckygen.c:336:46: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] {fprintf(stderr,">E Ran out of edges\n"); exit(1);} ^buckygen.c:13506:13: note: in expansion of macro 'NEWEDGE' NEWEDGE(e); ^buckygen.c: In function 'add_ring_bent_dispatch':buckygen.c:13805:49: warning: incompatible implicit declaration of built-in function 'malloc' [enabled by default] unsigned char *can_form = (unsigned char *) malloc(sizeof(unsigned char) * codelength); ^buckygen.c:13807:9: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(stderr, "Error: malloc of can_form failed\n"); ^buckygen.c:13807:17: error: 'stderr' undeclared (first use in this function) fprintf(stderr, "Error: malloc of can_form failed\n"); ^buckygen.c:13808:9: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^buckygen.c: In function 'add_ring_no_bent':buckygen.c:336:5: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] {fprintf(stderr,">E Ran out of edges\n"); exit(1);} ^buckygen.c:13867:13: note: in expansion of macro 'NEWEDGE' NEWEDGE(e); ^buckygen.c:336:13: error: 'stderr' undeclared (first use in this function) {fprintf(stderr,">E Ran out of edges\n"); exit(1);} ^buckygen.c:13867:13: note: in expansion of macro 'NEWEDGE' NEWEDGE(e); ^buckygen.c:336:46: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] {fprintf(stderr,">E Ran out of edges\n"); exit(1);} ^buckygen.c:13867:13: note: in expansion of macro 'NEWEDGE' NEWEDGE(e); ^buckygen.c: In function 'add_ring_no_bent_dispatch':buckygen.c:14020:53: warning: incompatible implicit declaration of built-in function 'malloc' [enabled by default] unsigned char *can_form = (unsigned char *) malloc(sizeof(unsigned char) * codelength); ^buckygen.c:14022:13: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(stderr, "Error: malloc of can_form failed\n"); ^buckygen.c:14022:21: error: 'stderr' undeclared (first use in this function) fprintf(stderr, "Error: malloc of can_form failed\n"); ^buckygen.c:14023:13: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^buckygen.c: In function 'scansimple_and_add_ring':buckygen.c:14126:9: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(stderr, "Error: no %d,0 boundary found\n", RINGSIZE_5_0); ^buckygen.c:14126:17: error: 'stderr' undeclared (first use in this function) fprintf(stderr, "Error: no %d,0 boundary found\n", RINGSIZE_5_0); ^buckygen.c:14127:9: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^buckygen.c: In function 'add_rings_irreducible_ipr':buckygen.c:14237:9: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(stderr, "Error: no boundary of an irreducible cap found!\n"); ^buckygen.c:14237:17: error: 'stderr' undeclared (first use in this function) fprintf(stderr, "Error: no boundary of an irreducible cap found!\n"); ^buckygen.c:14238:9: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^buckygen.c: In function 'check_switch':buckygen.c:14279:2: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(stderr,">E %s: -%c is not permitted\n",cmdname,sw); ^buckygen.c:14279:10: error: 'stderr' undeclared (first use in this function) fprintf(stderr,">E %s: -%c is not permitted\n",cmdname,sw); ^buckygen.c:14280:2: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^buckygen.c: In function 'decode_command_line':buckygen.c:14307:33: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] for (i = 0; i < argc ; ++i) fprintf(stderr,"%s ",argv[i]); ^buckygen.c:14307:41: error: 'stderr' undeclared (first use in this function) for (i = 0; i < argc ; ++i) fprintf(stderr,"%s ",argv[i]); ^buckygen.c:14377:7: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^buckygen.c:14390:22: warning: incompatible implicit declaration of built-in function 'sscanf' [enabled by default] else if (sscanf(arg,"%d/%d",&ares,&amod) == 2) ^buckygen.c:14407:9: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^buckygen.c:14413:9: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^buckygen.c: In function 'open_output_file':buckygen.c:14477:9: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(stderr,">E %s: -a, -g, -s, -u are incompatible\n",cmdname); ^buckygen.c:14477:17: error: 'stderr' undeclared (first use in this function) fprintf(stderr,">E %s: -a, -g, -s, -u are incompatible\n",cmdname); ^buckygen.c:14478:9: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^buckygen.c:14489:13: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(stderr,">E %s: n is too large for that output format\n", ^buckygen.c:14491:13: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^buckygen.c:14499:19: error: 'stdout' undeclared (first use in this function) outfile = stdout; ^buckygen.c:14501:23: warning: assignment makes pointer from integer without a cast [enabled by default] else if ((outfile = fopen(outfilename, ^buckygen.c:14504:9: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(stderr, ^buckygen.c:14507:9: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^buckygen.c:14511:9: error: 'write_graph' undeclared (first use in this function) write_graph = write_dual_graph = write_digits; ^buckygen.c:14511:23: error: 'write_dual_graph' undeclared (first use in this function) write_graph = write_dual_graph = write_digits; ^buckygen.c:14511:42: error: 'write_digits' undeclared (first use in this function) write_graph = write_dual_graph = write_digits; ^buckygen.c:14514:23: error: 'write_alpha' undeclared (first use in this function) write_graph = write_alpha; ^buckygen.c:14515:28: error: 'write_dual_alpha' undeclared (first use in this function) write_dual_graph = write_dual_alpha; ^buckygen.c:14519:23: error: 'write_graph6' undeclared (first use in this function) write_graph = write_graph6; ^buckygen.c:14520:28: error: 'write_dual_graph6' undeclared (first use in this function) write_dual_graph = write_dual_graph6; ^buckygen.c:14524:23: error: 'write_sparse6' undeclared (first use in this function) write_graph = write_sparse6; ^buckygen.c:14525:28: error: 'write_dual_sparse6' undeclared (first use in this function) write_dual_graph = write_dual_sparse6; ^buckygen.c:14529:23: error: 'write_planar_code' undeclared (first use in this function) write_graph = write_planar_code; ^buckygen.c:14530:28: error: 'write_dual_planar_code' undeclared (first use in this function) write_dual_graph = write_dual_planar_code; ^buckygen.c: In function 'make_outputfiles_spirals':buckygen.c:14543:5: warning: incompatible implicit declaration of built-in function 'sprintf' [enabled by default] sprintf(no_penta_spiral_filename, "No_pentagon_spiral_%d", maxnv); ^buckygen.c:14549:9: warning: incompatible implicit declaration of built-in function 'strcat' [enabled by default] strcat(no_penta_spiral_filename, strbuffer); ^buckygen.c:14555:9: warning: incompatible implicit declaration of built-in function 'strcat' [enabled by default] strcat(no_penta_spiral_filename, strbuffer); ^buckygen.c:14561:9: warning: incompatible implicit declaration of built-in function 'strcat' [enabled by default] strcat(no_penta_spiral_filename, strbuffer); ^buckygen.c: In function 'simple_dispatch':buckygen.c:622:4: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] {fprintf(stderr,">E %s: the value of %s must be ",cmdname,varname); \ ^buckygen.c:14577:5: note: in expansion of macro 'CHECKRANGE' CHECKRANGE(maxnv,"n",startingsize,MAXN); ^buckygen.c:622:12: error: 'stderr' undeclared (first use in this function) {fprintf(stderr,">E %s: the value of %s must be ",cmdname,varname); \ ^buckygen.c:14577:5: note: in expansion of macro 'CHECKRANGE' CHECKRANGE(maxnv,"n",startingsize,MAXN); ^buckygen.c:625:5: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1);} ^buckygen.c:14577:5: note: in expansion of macro 'CHECKRANGE' CHECKRANGE(maxnv,"n",startingsize,MAXN); ^buckygen.c:14581:13: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(stderr, ">E %s: start value is %d, but must be %d <= start < %d\n", cmdname, start_output, startingsize, maxnv); ^buckygen.c:14582:13: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^buckygen.c:14591:5: warning: incompatible implicit declaration of built-in function 'strcpy' [enabled by default] strcpy(outtypename,"fullerenes"); ^buckygen.c:14607:9: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(stderr, "Splitlevel is %d\n", splitlevel); ^buckygen.c:14620:37: warning: incompatible implicit declaration of built-in function 'malloc' [enabled by default] ext_bent_global = (EDGE **) malloc(sizeof(EDGE*) * DEFAULT_MAX_EXT_BENT_SIZE); ^buckygen.c:14622:13: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(stderr, "Error: can't get enough memory\n"); ^buckygen.c:14623:13: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^buckygen.c:14627:13: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(stderr, "Error: can't get enough memory\n"); ^buckygen.c:14628:13: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^buckygen.c:14632:13: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(stderr, "Error: can't get enough memory\n"); ^buckygen.c:14633:13: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^buckygen.c:14637:13: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(stderr, "Error: can't get enough memory\n"); ^buckygen.c:14638:13: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(1); ^buckygen.c:14677:9: warning: incompatible implicit declaration of built-in function 'free' [enabled by default] free(ext_bent_global); ^buckygen.c: In function 'main':buckygen.c:14767:16: error: storage size of 'timestruct0' isn't known struct tms timestruct0,timestruct1; ^buckygen.c:14767:28: error: storage size of 'timestruct1' isn't known struct tms timestruct0,timestruct1; ^buckygen.c:14775:2: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(stderr,"Buckygen version %s\n",VERSION); ^buckygen.c:14775:10: error: 'stderr' undeclared (first use in this function) fprintf(stderr,"Buckygen version %s\n",VERSION); ^buckygen.c:14838:17: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(stderr, "Number of fullerenes with %d vertices which do not have a spiral starting at a pentagon: %llu\n", i, number_without_pentagon_spiral[i]); ^buckygen.c:14845:9: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(stderr, "Number of fullerenes generated with %d vertices: ", i); ^buckygen.c:407:2: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(file,"%ld",big.lo); else fprintf(file,"%ld%09ld",big.hi,big.lo) ^buckygen.c:14867:2: note: in expansion of macro 'PRINTBIG' PRINTBIG(msgfile,totalout); ^buckygen.c:407:2: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(file,"%ld",big.lo); else fprintf(file,"%ld%09ld",big.hi,big.lo) ^buckygen.c:14871:5: note: in expansion of macro 'PRINTBIG' PRINTBIG(msgfile,(oswitch ? totalout_op : totalout)); ^make: *** [makefile:12: buckygen] Error 1==> ERROR: A failure occurred in build(). Aborting...