The build took 00h 01m 05s and was NOT successful.
The program in this build is written in the following languages, according to sloccount:
| SLOC | Language |
|---|---|
14,758 |
ansic |
1,315 |
yacc |
209 |
makefile |
99 |
lisp |
4 |
sed |
16,385 |
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: sc 7.16-6 (Tue Apr 4 20:54:46 UTC 2017)==> Checking runtime dependencies...==> Checking buildtime dependencies...==> WARNING: Using existing $srcdir/ tree==> Starting build()...patching file sc.hpatching file cmds.cpatching file abbrev.cpatching file range.cpatching file vi.cpatching file vmtbl.cpatching file Makefilepatching file color.cpatching file debian/sc.dirspatching file debian/controlpatching file debian/compatpatching file debian/changelogpatching file debian/copyrightpatching file debian/rulespatching file debian/sc.docspatching file debian/sc.installpatching file debian/sc.manpagespatching file frame.cpatching file sc.cpatching file sort.cpatching file xmalloc.cpatching file screen.cpatching file lex.cpatching file interp.cpatching file help.cgcc -DSYSV3 -O2 -pipe -DDFLT_PAGER=\"less\" -c abbrev.cgcc -DSYSV3 -O2 -pipe -DDOBACKUPS -c cmds.cgcc -DSYSV3 -O2 -pipe -c -o color.o color.cgcc -DSYSV3 -O2 -pipe -DDOBACKUPS -c crypt.ccc1: error: no include path in which to search for stdc-predef.hcc1: error: no include path in which to search for stdc-predef.hcc1: error: no include path in which to search for stdc-predef.habbrev.c:10:23: error: no include path in which to search for sys/types.h #include ^abbrev.c:15:20: error: no include path in which to search for string.h #include ^abbrev.c:19:19: error: no include path in which to search for stdio.h #include ^abbrev.c:20:20: error: no include path in which to search for stdlib.h #include ^abbrev.c:21:19: error: no include path in which to search for ctype.h #include ^cmds.c:13:23: error: no include path in which to search for sys/types.h #include ^abbrev.c:22:20: error: no include path in which to search for curses.h #include ^cmds.c:14:22: error: no include path in which to search for sys/wait.h #include ^abbrev.c:23:20: error: no include path in which to search for unistd.h #include ^cmds.c:19:20: error: no include path in which to search for string.h #include ^cmds.c:23:20: error: no include path in which to search for curses.h #include ^cmds.c:24:18: error: no include path in which to search for time.h #include ^cmds.c:25:19: error: no include path in which to search for utime.h #include ^cmds.c:29:19: error: no include path in which to search for fcntl.h #include ^In file included from cmds.c:31:0:sc.h:382:1: error: unknown type name 'FILE' extern FILE *openfile(char *fname, int *rpid, int *rfd); ^In file included from abbrev.c:24:0:sc.h:382:1: error: unknown type name 'FILE' extern FILE *openfile(char *fname, int *rpid, int *rfd); ^sc.h:444:23: error: unknown type name 'FILE' extern void closefile(FILE *f, int pid, int rfd); ^sc.h:444:23: error: unknown type name 'FILE' extern void closefile(FILE *f, int pid, int rfd); ^make: *** [Makefile:411: crypt.o] Error 1make: *** Waiting for unfinished jobs....sc.h:509:25: error: unknown type name 'FILE' extern void list_colors(FILE *f); ^sc.h:510:25: error: unknown type name 'FILE' extern void list_ranges(FILE *f); ^sc.h:509:25: error: unknown type name 'FILE' extern void list_colors(FILE *f); ^sc.h:510:25: error: unknown type name 'FILE' extern void list_ranges(FILE *f); ^sc.h:553:1: error: unknown type name 'FILE' extern void write_cells(register FILE *f, int r0, int c0, int rn, int cn, ^sc.h:555:26: error: unknown type name 'FILE' extern void write_colors(FILE *f, int indent); ^sc.h:556:27: error: unknown type name 'FILE' extern void write_cranges(FILE *f); ^sc.h:553:1: error: unknown type name 'FILE' extern void write_cells(register FILE *f, int r0, int c0, int rn, int cn, ^sc.h:557:1: error: unknown type name 'FILE' extern void write_fd(register FILE *f, int r0, int c0, int rn, int cn); ^sc.h:555:26: error: unknown type name 'FILE' extern void write_colors(FILE *f, int indent); ^sc.h:558:27: error: unknown type name 'FILE' extern void write_franges(FILE *f); ^sc.h:556:27: error: unknown type name 'FILE' extern void write_cranges(FILE *f); ^sc.h:561:26: error: unknown type name 'FILE' extern void write_ranges(FILE *f); ^sc.h:557:1: error: unknown type name 'FILE' extern void write_fd(register FILE *f, int r0, int c0, int rn, int cn); ^sc.h:558:27: error: unknown type name 'FILE' extern void write_franges(FILE *f); ^sc.h:561:26: error: unknown type name 'FILE' extern void write_ranges(FILE *f); ^sc.h:631:20: error: no include path in which to search for memory.h #include ^cmds.c:32:20: error: no include path in which to search for signal.h #include ^cmds.c:33:19: error: no include path in which to search for errno.h #include ^cmds.c:34:20: error: no include path in which to search for stdlib.h #include ^cmds.c:36:20: error: no include path in which to search for unistd.h #include ^cmds.c:40:16: error: unknown type name 'FILE' void unspecial(FILE *f, char *str, int delim); ^cmds.c:61:26: error: 'NULL' undeclared here (not in a function) struct impexfilt *filt = NULL; /* root of list of impex filters */ ^sc.h:631:20: error: no include path in which to search for memory.h #include ^abbrev.c: In function 'add_abbr':abbrev.c:36:27: error: 'NULL' undeclared (first use in this function) struct abbrev *prev = NULL; ^abbrev.c:36:27: note: each undeclared identifier is reported only once for each function it appears inIn file included from abbrev.c:24:0:sc.h:46:30: error: 'stdout' undeclared (first use in this function) # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^abbrev.c:41:6: note: in expansion of macro 'error' error("No abbreviations defined"); ^abbrev.c:44:6: error: unknown type name 'FILE' FILE *f; ^abbrev.c:51:13: warning: incompatible implicit declaration of built-in function 'strcpy' [enabled by default] (void) strcpy(px, "| "); ^abbrev.c:52:18: warning: assignment makes pointer from integer without a cast [enabled by default] if (!(pager = getenv("PAGER"))) ^abbrev.c:54:13: warning: incompatible implicit declaration of built-in function 'strcat' [enabled by default] (void) strcat(px, pager); ^abbrev.c:60:13: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] (void) fprintf(f, "\n%-15s %s\n","Abbreviation","Expanded"); ^abbrev.c:76:22: warning: incompatible implicit declaration of built-in function 'strchr' [enabled by default] if ((expansion = strchr(string, ' '))) ^abbrev.c:96:29: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default] if ((a = find_abbr(string, strlen(string), &prev))) { ^abbrev.c:105:27: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default] if (find_abbr(string, strlen(string), &prev)) ^abbrev.c: In function 'del_abbr':abbrev.c:133:33: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default] if (!(a = find_abbr(abbrev, strlen(abbrev), prev))) ^abbrev.c: In function 'find_abbr':abbrev.c:160:14: error: 'NULL' undeclared (first use in this function) return (NULL); ^abbrev.c:163:20: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default] if (!exact || strlen(a->abbr) == len) ^abbrev.c: At top level:abbrev.c:170:15: error: unknown type name 'FILE' write_abbrevs(FILE *f) ^cmds.c: In function 'deleterow':cmds.c:325:9: warning: incompatible implicit declaration of built-in function 'sprintf' [enabled by default] (void) sprintf(buf, "Can't delete %d row%s %d row%s left", arg, ^In file included from cmds.c:31:0:sc.h:46:30: error: 'stdout' undeclared (first use in this function) # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^cmds.c:327:2: note: in expansion of macro 'error' error(buf); ^sc.h:46:30: note: each undeclared identifier is reported only once for each function it appears in # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^cmds.c:327:2: note: in expansion of macro 'error' error(buf); ^cc1: error: no include path in which to search for stdc-predef.hcolor.c:11:23: error: no include path in which to search for sys/types.h #include ^color.c:16:20: error: no include path in which to search for string.h #include ^color.c:20:20: error: no include path in which to search for curses.h #include ^color.c:21:19: error: no include path in which to search for ctype.h #include ^color.c:22:20: error: no include path in which to search for unistd.h #include ^cmds.c: In function 'yankrow':cmds.c:487:9: warning: incompatible implicit declaration of built-in function 'sprintf' [enabled by default] (void) sprintf(buf, "Can't yank %d row%s %d row%s left", arg, ^In file included from cmds.c:31:0:sc.h:46:30: error: 'stdout' undeclared (first use in this function) # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^cmds.c:489:2: note: in expansion of macro 'error' error(buf); ^In file included from color.c:23:0:sc.h:382:1: error: unknown type name 'FILE' extern FILE *openfile(char *fname, int *rpid, int *rfd); ^cmds.c: In function 'yankcol':cmds.c:542:9: warning: incompatible implicit declaration of built-in function 'sprintf' [enabled by default] (void) sprintf(buf, "Can't yank %d column%s %d column%s left", arg, ^In file included from cmds.c:31:0:sc.h:46:30: error: 'stdout' undeclared (first use in this function) # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^cmds.c:544:2: note: in expansion of macro 'error' error(buf); ^sc.h:444:23: error: unknown type name 'FILE' extern void closefile(FILE *f, int pid, int rfd); ^sc.h:509:25: error: unknown type name 'FILE' extern void list_colors(FILE *f); ^sc.h:510:25: error: unknown type name 'FILE' extern void list_ranges(FILE *f); ^sc.h:553:1: error: unknown type name 'FILE' extern void write_cells(register FILE *f, int r0, int c0, int rn, int cn, ^cmds.c: In function 'valueize_area':sc.h:555:26: error: unknown type name 'FILE' extern void write_colors(FILE *f, int indent); ^sc.h:556:27: error: unknown type name 'FILE' extern void write_cranges(FILE *f); ^sc.h:46:30: error: 'stdout' undeclared (first use in this function) # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^cmds.c:745:3: note: in expansion of macro 'error' error(" Cell %s%d is locked", coltoa(c), r); ^sc.h:557:1: error: unknown type name 'FILE' extern void write_fd(register FILE *f, int r0, int c0, int rn, int cn); ^sc.h:558:27: error: unknown type name 'FILE' extern void write_franges(FILE *f); ^sc.h:561:26: error: unknown type name 'FILE' extern void write_ranges(FILE *f); ^make: *** [Makefile:403: abbrev.o] Error 1cmds.c: In function 'pullcells':sc.h:631:20: error: no include path in which to search for memory.h #include ^sc.h:46:30: error: 'stdout' undeclared (first use in this function) # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^cmds.c:777:2: note: in expansion of macro 'error' error("No data to pull"); ^color.c: In function 'initcolor':color.c:43:18: error: 'COLOR_WHITE' undeclared (first use in this function) cpairs[0]->fg = COLOR_WHITE; ^color.c:43:18: note: each undeclared identifier is reported only once for each function it appears incolor.c:44:18: error: 'COLOR_BLUE' undeclared (first use in this function) cpairs[0]->bg = COLOR_BLUE; ^color.c:45:20: error: 'NULL' undeclared (first use in this function) cpairs[0]->expr = NULL; ^color.c:51:18: error: 'COLOR_RED' undeclared (first use in this function) cpairs[1]->fg = COLOR_RED; ^color.c:67:18: error: 'COLOR_BLACK' undeclared (first use in this function) cpairs[3]->fg = COLOR_BLACK; ^color.c:68:18: error: 'COLOR_YELLOW' undeclared (first use in this function) cpairs[3]->bg = COLOR_YELLOW; ^color.c:75:18: error: 'COLOR_CYAN' undeclared (first use in this function) cpairs[4]->bg = COLOR_CYAN; ^In file included from color.c:23:0:color.c: In function 'change_color':sc.h:46:30: error: 'stdout' undeclared (first use in this function) # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^color.c:111:2: note: in expansion of macro 'error' error("Invalid color number"); ^color.c: In function 'add_crange':sc.h:46:30: error: 'stdout' undeclared (first use in this function) # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^color.c:159:2: note: in expansion of macro 'error' error("Color range not defined"); ^cmds.c: In function 'colshow_op':color.c: At top level:color.c:222:15: error: unknown type name 'FILE' write_cranges(FILE *f) ^color.c:238:14: error: unknown type name 'FILE' write_colors(FILE *f, int indent) ^sc.h:46:30: error: 'stdout' undeclared (first use in this function) # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^cmds.c:949:2: note: in expansion of macro 'error' error("No hidden columns to show"); ^color.c:257:13: error: unknown type name 'FILE' list_colors(FILE *f) ^cmds.c:951:9: warning: incompatible implicit declaration of built-in function 'sprintf' [enabled by default] (void) sprintf(line,"show %s:", coltoa(i)); ^cmds.c:952:24: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default] (void) sprintf(line + strlen(line),"%s",coltoa(j)); ^In file included from cmds.c:31:0:cmds.c: In function 'rowshow_op':sc.h:46:30: error: 'stdout' undeclared (first use in this function) # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^cmds.c:971:2: note: in expansion of macro 'error' error("No hidden rows to show"); ^cmds.c:973:8: warning: incompatible implicit declaration of built-in function 'sprintf' [enabled by default] (void)sprintf(line,"show %d:%d", i, j); ^cmds.c:974:19: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default] linelim = strlen(line); ^In file included from cmds.c:31:0:cmds.c: In function 'get_rcqual':sc.h:46:30: error: 'stdout' undeclared (first use in this function) # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^cmds.c:990:5: note: in expansion of macro 'error' error("%sow/column: r: row c: column%s", ^cmds.c:1055:7: error: 'KEY_UP' undeclared (first use in this function) case KEY_UP: ^cmds.c:1056:7: error: 'KEY_DOWN' undeclared (first use in this function) case KEY_DOWN: ^cmds.c:1057:7: error: 'KEY_PPAGE' undeclared (first use in this function) case KEY_PPAGE: ^cmds.c:1058:7: error: 'KEY_NPAGE' undeclared (first use in this function) case KEY_NPAGE: ^cmds.c:1067:15: warning: incompatible implicit declaration of built-in function 'sprintf' [enabled by default] (void) sprintf(line,"deleterow [range] "); ^cmds.c:1082:7: error: 'KEY_BACKSPACE' undeclared (first use in this function) case KEY_BACKSPACE: ^cmds.c:1083:7: error: 'KEY_LEFT' undeclared (first use in this function) case KEY_LEFT: ^cmds.c:1084:7: error: 'KEY_RIGHT' undeclared (first use in this function) case KEY_RIGHT: ^make: *** [: color.o] Error 1 cmds.c: In function 'closecol':cmds.c:1213:9: warning: incompatible implicit declaration of built-in function 'sprintf' [enabled by default] (void) sprintf(buf, "Can't delete %d column%s %d column%s left", arg, ^In file included from cmds.c:31:0:sc.h:46:30: error: 'stdout' undeclared (first use in this function) # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^cmds.c:1215:2: note: in expansion of macro 'error' error(buf); ^cmds.c: In function 'doend':sc.h:46:30: error: 'stdout' undeclared (first use in this function) # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^cmds.c:1394:2: note: in expansion of macro 'error' error (""); /* clear line */ ^cmds.c: In function 'doformat':sc.h:46:30: error: 'stdout' undeclared (first use in this function) # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^cmds.c:1440:2: note: in expansion of macro 'error' error("Width too small - setting to 1"); ^cmds.c:1444:26: error: 'COLS' undeclared (first use in this function) if (usecurses && w > COLS - rescol - 2) { ^In file included from cmds.c:31:0:cmds.c: In function 'formatcol':sc.h:46:30: error: 'stdout' undeclared (first use in this function) # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^cmds.c:1477:5: note: in expansion of macro 'error' error("Current format is %d %d %d", ^cmds.c:1495:8: error: 'KEY_LEFT' undeclared (first use in this function) case KEY_LEFT: ^cmds.c:1507:8: error: 'KEY_RIGHT' undeclared (first use in this function) case KEY_RIGHT: ^cmds.c:1512:20: error: 'COLS' undeclared (first use in this function) if (fwidth[i] > COLS - rescol - 2) ^cmds.c:1519:8: error: 'KEY_DOWN' undeclared (first use in this function) case KEY_DOWN: ^cmds.c:1529:8: error: 'KEY_UP' undeclared (first use in this function) case KEY_UP: ^cmds.c:1538:11: warning: incompatible implicit declaration of built-in function 'sprintf' [enabled by default] (void) sprintf(line, ^cmds.c:1545:24: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default] (void) sprintf(line+strlen(line), "%s ", ^cmds.c:1548:17: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default] linelim = strlen(line); ^cmds.c:1577:15: error: 'stdscr' undeclared (first use in this function) clearok(stdscr, 1); ^cmds.c: At top level:cmds.c:1693:15: error: unknown type name 'FILE' print_options(FILE *f) ^cmds.c: In function 'printfile':cmds.c:1770:5: error: unknown type name 'FILE' FILE *f; ^cmds.c:1786:6: warning: incompatible implicit declaration of built-in function 'strcpy' [enabled by default] strcpy(path, curfile); ^cmds.c:1792:17: warning: incompatible implicit declaration of built-in function 'strrchr' [enabled by default] if ((tpp = strrchr(path, '/')) == NULL) { ^cmds.c:1793:27: error: '_PC_NAME_MAX' undeclared (first use in this function) namelen = pathconf(".", _PC_NAME_MAX); ^cmds.c:1806:25: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default] if (!strcmp(file + strlen(file) - 3, ".sc")) ^cmds.c:1816:6: warning: incompatible implicit declaration of built-in function 'sprintf' [enabled by default] sprintf(tpp, "%s.%s", file, ascext == NULL ? "asc" : ascext); ^cmds.c:1825:44: error: 'FILE' undeclared (first use in this function) if ((f = openfile(fname, &pid, NULL)) == (FILE *)0) { ^cmds.c:1825:50: error: expected expression before ')' token if ((f = openfile(fname, &pid, NULL)) == (FILE *)0) { ^In file included from cmds.c:31:0:sc.h:46:30: error: 'stdout' undeclared (first use in this function) # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^cmds.c:1826:6: note: in expansion of macro 'error' error("Can't create file \"%s\"", fname); ^cmds.c:1883:11: warning: incompatible implicit declaration of built-in function 'sprintf' [enabled by default] (void) sprintf(pline+plinelim, "%*s", ^cmds.c:1897:8: error: unknown type name 'time_t' time_t v = (time_t) ((*pp)->v); ^cmds.c:1897:20: error: 'time_t' undeclared (first use in this function) time_t v = (time_t) ((*pp)->v); ^cmds.c:1898:8: warning: incompatible implicit declaration of built-in function 'strftime' [enabled by default] strftime(field, sizeof(field), cfmt + 1, ^cmds.c:1899:9: warning: passing argument 4 of 'strftime' makes pointer from integer without a cast [enabled by default] localtime(&v)); ^cmds.c:1899:9: note: expected 'const void *' but argument is of type 'int'cmds.c:1917:19: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default] plinelim += strlen(pline+plinelim); ^cmds.c:1930:14: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default] slen = strlen(s); ^cmds.c: In function 'tblprintfile':cmds.c:1995:5: error: unknown type name 'FILE' FILE *f; ^cmds.c:2007:2: warning: incompatible implicit declaration of built-in function 'strcpy' [enabled by default] strcpy(path, curfile); ^cmds.c:2013:13: warning: incompatible implicit declaration of built-in function 'strrchr' [enabled by default] if ((tpp = strrchr(path, '/')) == NULL) { ^cmds.c:2014:30: error: '_PC_NAME_MAX' undeclared (first use in this function) namelen = pathconf(".", _PC_NAME_MAX); ^cmds.c:2027:21: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default] if (!strcmp(file + strlen(file) - 3, ".sc")) ^cmds.c:2038:6: warning: incompatible implicit declaration of built-in function 'sprintf' [enabled by default] sprintf(tpp, "%s.%s", file, tbl0ext == NULL ? "cln" : tbl0ext); ^cmds.c:2045:6: warning: incompatible implicit declaration of built-in function 'sprintf' [enabled by default] sprintf(tpp, "%s.%s", file, tblext == NULL ? "tbl" : tblext); ^cmds.c:2052:6: warning: incompatible implicit declaration of built-in function 'sprintf' [enabled by default] sprintf(tpp, "%s.%s", file, latexext == NULL ? "lat" : latexext); ^cmds.c:2059:6: warning: incompatible implicit declaration of built-in function 'sprintf' [enabled by default] sprintf(tpp, "%s.%s", file, slatexext == NULL ? "stx" : slatexext); ^cmds.c:2066:6: warning: incompatible implicit declaration of built-in function 'sprintf' [enabled by default] sprintf(tpp, "%s.%s", file, texext == NULL ? "tex" : texext); ^cmds.c:2075:47: error: 'FILE' undeclared (first use in this function) if ((f = openfile(fname, &pid, NULL)) == (FILE *)0) { ^cmds.c:2075:53: error: expected expression before ')' token if ((f = openfile(fname, &pid, NULL)) == (FILE *)0) { ^In file included from cmds.c:31:0:sc.h:46:30: error: 'stdout' undeclared (first use in this function) # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^cmds.c:2076:2: note: in expansion of macro 'error' error ("Can't create file \"%s\"", fname); ^cmds.c:2081:2: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(f,".\\\" ** %s spreadsheet output \n.TS\n",progname); ^cmds.c:2087:2: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(f,"%% ** %s spreadsheet output\n\\begin{tabular}{",progname); ^cmds.c:2093:2: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(f,"%% ** %s spreadsheet output\n!begin<",progname); ^cmds.c:2099:2: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(f,"{\t%% ** %s spreadsheet output\n\\settabs %d \\columns\n", ^cmds.c:2104:2: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(f," # generated by the sc spreadsheet calculator\n"); ^cmds.c:2135:13: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] (void) fprintf (f, "\\+"); ^cmds.c:2156:8: error: unknown type name 'time_t' time_t v = (time_t) ((*pp)->v); ^cmds.c:2156:20: error: 'time_t' undeclared (first use in this function) time_t v = (time_t) ((*pp)->v); ^cmds.c:2157:8: warning: incompatible implicit declaration of built-in function 'strftime' [enabled by default] strftime(field, sizeof(field), ((*pp)->format)+1, ^cmds.c:2158:9: warning: passing argument 4 of 'strftime' makes pointer from integer without a cast [enabled by default] localtime(&v)); ^cmds.c:2158:9: note: expected 'const void *' but argument is of type 'int'cmds.c:2199:12: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] (void) fprintf (f,".TE\n.\\\" ** end of %s spreadsheet output\n", progname); ^cmds.c: At top level:cmds.c:2221:11: error: unknown type name 'FILE' unspecial(FILE *f, char *str, int delim) ^cmds.c: In function 'copye':cmds.c:2348:35: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default] ret->e.s = scxmalloc((unsigned) strlen(e->e.s)+1); ^cmds.c:2349:10: warning: incompatible implicit declaration of built-in function 'strcpy' [enabled by default] (void) strcpy(ret->e.s, e->e.s); ^In file included from cmds.c:31:0:cmds.c: In function 'hiderow':sc.h:46:30: error: 'stdout' undeclared (first use in this function) # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^cmds.c:2438:2: note: in expansion of macro 'error' error("Invalid range"); ^cmds.c: In function 'hidecol':sc.h:46:30: error: 'stdout' undeclared (first use in this function) # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^cmds.c:2463:2: note: in expansion of macro 'error' error ("Invalid range"); ^cmds.c: In function 'showrow':sc.h:46:30: error: 'stdout' undeclared (first use in this function) # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^cmds.c:2483:2: note: in expansion of macro 'error' error ("Invalid range"); ^cmds.c: In function 'showcol':sc.h:46:30: error: 'stdout' undeclared (first use in this function) # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^cmds.c:2500:2: note: in expansion of macro 'error' error ("Invalid range"); ^cmds.c: At top level:cmds.c:2513:1: error: unknown type name 'FILE' FILE * ^cmds.c: In function 'openfile':cmds.c:2518:5: error: unknown type name 'FILE' FILE *f; ^In file included from cmds.c:31:0:sc.h:46:30: error: 'stdout' undeclared (first use in this function) # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^cmds.c:2545:2: note: in expansion of macro 'error' error("Can't make pipe to child"); ^cmds.c:2564:16: error: 'SIGINT' undeclared (first use in this function) (void) signal(SIGINT, SIG_DFL); /* reset */ ^cmds.c:2564:24: error: 'SIG_DFL' undeclared (first use in this function) (void) signal(SIGINT, SIG_DFL); /* reset */ ^cmds.c:2565:9: warning: incompatible implicit declaration of built-in function 'execl' [enabled by default] (void) execl("/bin/sh", "sh", "-c", efname, 0); ^cmds.c:2566:2: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit (-127); ^cmds.c: At top level:cmds.c:2591:11: error: unknown type name 'FILE' closefile(FILE *f, int pid, int rfd) ^In file included from cmds.c:31:0:cmds.c: In function 'copyent':sc.h:46:30: error: 'stdout' undeclared (first use in this function) # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^cmds.c:2644:2: note: in expansion of macro 'error' error("internal error"); ^cmds.c:2662:39: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default] n->label = scxmalloc((unsigned) (strlen(p->label) + 1)); ^cmds.c:2663:13: warning: incompatible implicit declaration of built-in function 'strcpy' [enabled by default] (void) strcpy(n->label, p->label); ^cmds.c:2675:43: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default] n->format = scxmalloc((unsigned) (strlen(p->format) + 1)); ^cmds.c:2676:9: warning: incompatible implicit declaration of built-in function 'strcpy' [enabled by default] (void) strcpy(n->format, p->format); ^cmds.c: In function 'addplugin':cmds.c:2693:32: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default] if (!plugin_exists(plugin, strlen(plugin), mesg)) { ^In file included from cmds.c:31:0:sc.h:46:30: error: 'stdout' undeclared (first use in this function) # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^cmds.c:2694:2: note: in expansion of macro 'error' error("Cannot find plugin %s", plugin); ^cmds.c:2707:5: warning: incompatible implicit declaration of built-in function 'strcpy' [enabled by default] strcpy(fp->plugin, plugin); ^cmds.c: At top level:cmds.c:2734:1: error: unknown type name 'FILE' write_fd(register FILE *f, int r0, int c0, int rn, int cn) ^cmds.c: In function 'write_fd':cmds.c:2739:12: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] (void) fprintf(f, "# This data file was generated by the Spreadsheet "); ^cmds.c: At top level:cmds.c:2797:1: error: unknown type name 'FILE' write_cells(register FILE *f, int r0, int c0, int rn, int cn, int dr, int dc) ^cmds.c: In function 'write_cells':cmds.c:2821:14: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] (void) fprintf(f, "%s\n", line); ^cmds.c:2825:19: warning: incompatible implicit declaration of built-in function 'strchr' [enabled by default] dpointptr = strchr(line, dpoint); ^cmds.c:2828:14: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] (void) fprintf(f, "%s\n", line); ^cmds.c:2832:14: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] (void) fprintf(f, "%s\n",line); ^cmds.c: In function 'writefile':cmds.c:2848:5: error: unknown type name 'FILE' register FILE *f; ^cmds.c:2859:14: warning: incompatible implicit declaration of built-in function 'strrchr' [enabled by default] if ((p = strrchr(fname, '.'))) { ^cmds.c:2861:33: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default] if (!plugin_exists(plugin, strlen(plugin), save + 1)) { ^In file included from cmds.c:31:0:sc.h:46:30: error: 'stdout' undeclared (first use in this function) # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^cmds.c:2862:3: note: in expansion of macro 'error' error("plugin not found"); ^cmds.c:2870:6: warning: incompatible implicit declaration of built-in function 'sprintf' [enabled by default] sprintf(save + strlen(save), " %s%d:", coltoa(c0), r0); ^cmds.c:2886:13: error: 'STDOUT_FILENO' undeclared (first use in this function) if (isatty(STDOUT_FILENO) || *curfile != '\0') ^cmds.c:2898:26: error: '_PC_NAME_MAX' undeclared (first use in this function) namelen = pathconf(".", _PC_NAME_MAX); ^cmds.c:2906:12: warning: incompatible implicit declaration of built-in function 'strcpy' [enabled by default] (void) strcpy(tfname, fname); ^cmds.c:2909:13: warning: incompatible implicit declaration of built-in function 'memmove' [enabled by default] (void) memmove(tpp, tpp + 1, strlen(tpp)); ^cmds.c:2909:35: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default] (void) memmove(tpp, tpp + 1, strlen(tpp)); ^cmds.c:2919:2: warning: incompatible implicit declaration of built-in function 'strcat' [enabled by default] strcat(tfname, "."); ^cmds.c:2950:6: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(stderr, "\nFile \"%s\" written", curfile); ^cmds.c:2950:14: error: 'stderr' undeclared (first use in this function) fprintf(stderr, "\nFile \"%s\" written", curfile); ^cmds.c: In function 'readfile':cmds.c:2959:5: error: unknown type name 'FILE' register FILE *f; ^cmds.c:2965:15: error: 'STDOUT_FILENO' undeclared (first use in this function) int rfd = STDOUT_FILENO, savefd; ^cmds.c:2971:15: warning: incompatible implicit declaration of built-in function 'strcpy' [enabled by default] (void) strcpy(save, mdir); ^cmds.c:2972:15: warning: incompatible implicit declaration of built-in function 'strcat' [enabled by default] (void) strcat(save, fname); ^cmds.c:2976:9: warning: incompatible implicit declaration of built-in function 'strcpy' [enabled by default] (void) strcpy(save, fname); ^cmds.c:2980:14: warning: incompatible implicit declaration of built-in function 'strrchr' [enabled by default] if ((p = strrchr(fname, '.')) && (fname[0] != '|')) { /* exclude macros */ ^cmds.c:2982:34: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default] if (!(plugin_exists(plugin, strlen(plugin), save + 1))) { ^In file included from cmds.c:31:0:sc.h:46:30: error: 'stdout' undeclared (first use in this function) # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^cmds.c:2983:3: note: in expansion of macro 'error' error("plugin not found"); ^cmds.c:2991:6: warning: incompatible implicit declaration of built-in function 'sprintf' [enabled by default] sprintf(save + strlen(save), " \"%s\"", fname); ^cmds.c:3003:13: warning: incompatible implicit declaration of built-in function 'strcpy' [enabled by default] (void) strcpy(curfile, p); ^cmds.c:3027:6: error: 'stdin' undeclared (first use in this function) f = stdin; ^cmds.c:3040:3: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(stderr, "\nReading file \"%s\"", save); ^cmds.c:3040:11: error: 'stderr' undeclared (first use in this function) fprintf(stderr, "\nReading file \"%s\"", save); ^cmds.c:3075:9: warning: incompatible implicit declaration of built-in function 'strcpy' [enabled by default] (void) strcpy(curfile, save); ^cmds.c: In function 'erasedb':cmds.c:3159:15: warning: assignment makes pointer from integer without a cast [enabled by default] if ((home = getenv("HOME"))) { ^cmds.c:3160:2: warning: incompatible implicit declaration of built-in function 'strcpy' [enabled by default] strcpy(curfile, home); ^cmds.c:3161:2: warning: incompatible implicit declaration of built-in function 'strcat' [enabled by default] strcat(curfile, "/.scrc"); ^cmds.c:3162:25: error: 'O_RDONLY' undeclared (first use in this function) if ((c = open(curfile, O_RDONLY)) > -1) { ^In file included from cmds.c:31:0:cmds.c: In function 'backcol':sc.h:46:30: error: 'stdout' undeclared (first use in this function) # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^cmds.c:3190:7: note: in expansion of macro 'error' {error ("At column A"); break;} ^cmds.c: In function 'backrow':sc.h:46:30: error: 'stdout' undeclared (first use in this function) # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^cmds.c:3244:7: note: in expansion of macro 'error' {error("At row zero"); break;} ^cmds.c: In function 'markcell':sc.h:46:30: error: 'stdout' undeclared (first use in this function) # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^cmds.c:3257:5: note: in expansion of macro 'error' error("Mark cell:"); ^cmds.c: In function 'dotick':sc.h:46:30: error: 'stdout' undeclared (first use in this function) # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^cmds.c:3280:5: note: in expansion of macro 'error' error("Go to marked cell:"); ^cmds.c: In function 'gotonote':sc.h:46:30: error: 'stdout' undeclared (first use in this function) # define error isatty(fileno(stdout)) && !move(1,0) && !clrtoeol() && printw ^cmds.c:3319:2: note: in expansion of macro 'error' error("No note attached"); ^cmds.c: In function 'showstring':cmds.c:3357:12: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default] slen = strlen(string); ^cmds.c:3366:40: error: 'COLS' undeclared (first use in this function) c + fieldlen + fwidth[nextcol] >= COLS - 1 - frcols && ^cmds.c:3423:6: warning: incompatible implicit declaration of built-in function 'memmove' [enabled by default] memmove(fp, fp + 1, strlen(fp)); ^cmds.c: At top level:cmds.c:3489:17: error: no include path in which to search for pwd.h #include ^cmds.c: In function 'findhome':cmds.c:3501:14: warning: assignment makes pointer from integer without a cast [enabled by default] HomeDir = getenv("HOME"); ^cmds.c:3507:6: warning: incompatible implicit declaration of built-in function 'strcpy' [enabled by default] strcpy(tmppath, HomeDir); ^cmds.c:3518:17: warning: assignment makes pointer from integer without a cast [enabled by default] if ((pwent = getpwnam(name)) == NULL) { ^cmds.c:3519:14: warning: incompatible implicit declaration of built-in function 'sprintf' [enabled by default] (void) sprintf(path, "Can't find user %s", name); ^cmds.c:3522:27: error: dereferencing pointer to incomplete type strcpy(tmppath, pwent->pw_dir); ^cmds.c:3525:2: warning: incompatible implicit declaration of built-in function 'strcat' [enabled by default] strcat(tmppath, pathptr); ^cmds.c: At top level:cmds.c:3532:22: error: no include path in which to search for sys/stat.h #include ^cmds.c: In function 'backup_file':cmds.c:3542:17: error: storage size of 'statbuf' isn't known struct stat statbuf; ^cmds.c:3543:20: error: storage size of 'timebuf' isn't known struct utimbuf timebuf; ^cmds.c:3550:14: error: 'BUFSIZ' undeclared (first use in this function) char buf[BUFSIZ]; ^cmds.c:3555:5: error: unknown type name 'mode_t' mode_t oldumask; ^cmds.c:3558:5: warning: incompatible implicit declaration of built-in function 'strcpy' [enabled by default] strcpy(tpath, path); ^cmds.c:3559:16: warning: incompatible implicit declaration of built-in function 'strrchr' [enabled by default] if ((tpp = strrchr(tpath, '/')) == NULL) ^cmds.c:3564:12: warning: incompatible implicit declaration of built-in function 'sprintf' [enabled by default] (void) sprintf(tpp, "%s~", fname); ^cmds.c:3578:25: error: 'O_RDONLY' undeclared (first use in this function) if ((infd = open(path, O_RDONLY, 0)) < 0) ^cmds.c:3582:22: error: 'O_TRUNC' undeclared (first use in this function) outfd = open(tpath, O_TRUNC|O_WRONLY|O_CREAT, statbuf.st_mode); ^cmds.c:3582:30: error: 'O_WRONLY' undeclared (first use in this function) outfd = open(tpath, O_TRUNC|O_WRONLY|O_CREAT, statbuf.st_mode); ^cmds.c:3582:39: error: 'O_CREAT' undeclared (first use in this function) outfd = open(tpath, O_TRUNC|O_WRONLY|O_CREAT, statbuf.st_mode); ^cmds.c:3607:16: error: 'errno' undeclared (first use in this function) } else if (errno == ENOENT) ^cmds.c:3607:25: error: 'ENOENT' undeclared (first use in this function) } else if (errno == ENOENT) ^make: *** [Makefile:406: cmds.o] Error 1==> ERROR: A failure occurred in build(). Aborting...