=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Building for DWB-20150517 CXX=c++ LEX=lex ./cfgr C++ compiler: /tmp/pkgbuild/textproc/DWB/work.aarch64/.cwrapper/bin/c++ Lexer: /tmp/pkgbuild/textproc/DWB/work.aarch64/.tools/bin/lex ---- Making all in directory doc/pub ---- ---- Making all in directory doc/pub.att ---- ---- Making all in directory index/deroff ---- gcc -O -s -o deroff deroff.c deroff.c:91:1: warning: return type defaults to 'int' [-Wimplicit-int] main(ac, av) ^~~~ deroff.c: In function 'main': deroff.c:97:11: warning: type defaults to 'int' in declaration of 'optchar' [-Wimplicit-int] register optchar; ^~~~~~~ deroff.c:102:20: warning: implicit declaration of function 'getflags'; did you mean 'getline'? [-Wimplicit-function-declaration] while ((optchar = getflags(argc, argv, "wnpm:l:")) != EOF) switch(optchar) { ^~~~~~~~ getline deroff.c:130:3: warning: implicit declaration of function 'fatal'; did you mean 'atol'? [-Wimplicit-function-declaration] fatal("usage: deroff [-n] [ -w ] [ -mm [-li(-ml)|+li ]| ms] ] [ file ] ... \n", (char *) NULL); ^~~~~ atol deroff.c:151:2: warning: implicit declaration of function 'work' [-Wimplicit-function-declaration] work(); ^~~~ deroff.c: At top level: deroff.c:159:1: warning: return type defaults to 'int' [-Wimplicit-int] skeqn() ^~~~~ deroff.c: In function 'skeqn': deroff.c:164:8: warning: implicit declaration of function 'eof'; did you mean 'feof'? [-Wimplicit-function-declaration] c = eof(); ^~~ feof deroff.c: At top level: deroff.c:195:1: warning: return type defaults to 'int' [-Wimplicit-int] eof() ^~~ deroff.c:250:1: warning: return type defaults to 'int' [-Wimplicit-int] fatal(s,p) ^~~~~ deroff.c:258:1: warning: return type defaults to 'int' [-Wimplicit-int] work() ^~~~ deroff.c: In function 'work': deroff.c:266:4: warning: implicit declaration of function 'regline'; did you mean 'getline'? [-Wimplicit-function-declaration] regline(NO,TWO); ^~~~~~~ getline deroff.c: At top level: deroff.c:273:1: warning: return type defaults to 'int' [-Wimplicit-int] regline(macline,constant) ^~~~~~~ deroff.c: In function 'regline': deroff.c:305:4: warning: implicit declaration of function 'putmac'; did you mean 'putc'? [-Wimplicit-function-declaration] putmac(line,constant); ^~~~~~ putc deroff.c: At top level: deroff.c:315:1: warning: return type defaults to 'int' [-Wimplicit-int] putmac(s,constant) ^~~~~~ deroff.c: In function 'putmac': deroff.c:320:11: warning: type defaults to 'int' in declaration of 'found' [-Wimplicit-int] register found; ^~~~~ deroff.c: In function 'comline': deroff.c:414:4: warning: implicit declaration of function 'stbl'; did you mean 'atol'? [-Wimplicit-function-declaration] stbl(); ^~~~ atol deroff.c:416:8: warning: implicit declaration of function 'tbl'; did you mean 'atol'? [-Wimplicit-function-declaration] else tbl(); ^~~ atol deroff.c: At top level: deroff.c:605:1: warning: return type defaults to 'int' [-Wimplicit-int] tbl() ^~~ deroff.c:611:1: warning: return type defaults to 'int' [-Wimplicit-int] stbl() ^~~~ ---- Making all in directory index/mptx ---- ---- Making all in directory index/ndx ---- cp ndx.sh ndx; chmod 755 ndx gcc -O -DBSD4_2 -c case.c case.c:18:1: warning: return type defaults to 'int' [-Wimplicit-int] lex ndexer.l gcc -O -DBSD4_2 -c -o ndexer.o lex.yy.c ndexer.l: In function 'yylex': ndexer.l:130:2: warning: implicit declaration of function 'copy_in' [-Wimplicit-function-declaration] ndexer.l:136:7: warning: implicit declaration of function 'w_activate' [-Wimplicit-function-declaration] ndexer.l:139:15: warning: implicit declaration of function 'ulcase'; did you mean 'close'? [-Wimplicit-function-declaration] ndexer.l:147:18: warning: implicit declaration of function 'rootword' [-Wimplicit-function-declaration] ndexer.l:148:7: warning: implicit declaration of function 'match_roots'; did you mean 'fchroot'? [-Wimplicit-function-declaration] ndexer.l:155:10: warning: implicit declaration of function 'subj_search'; did you mean 'bsearch'? [-Wimplicit-function-declaration] ndexer.l:156:10: warning: implicit declaration of function 'write_context' [-Wimplicit-function-declaration] ndexer.l:157:10: warning: implicit declaration of function 'wri_subjmacro' [-Wimplicit-function-declaration] ndexer.l:158:10: warning: implicit declaration of function 'return_lists'; did you mean 'getgrouplist'? [-Wimplicit-function-declaration] ndexer.l:161:11: warning: implicit declaration of function 'init_vars'; did you mean 'initstate'? [-Wimplicit-function-declaration] ndexer.l:170:2: warning: implicit declaration of function 'flush_context' [-Wimplicit-function-declaration] ndexer.l:254:8: warning: implicit declaration of function 'init_subj'; did you mean 'initgroups'? [-Wimplicit-function-declaration] ndexer.l:262:8: warning: implicit declaration of function 'build_subj' [-Wimplicit-function-declaration] ndexer.l: At top level: ndexer.l:292:1: warning: return type defaults to 'int' [-Wimplicit-int] ndexer.l:308:1: warning: return type defaults to 'int' [-Wimplicit-int] ndexer.l:338:1: warning: return type defaults to 'int' [-Wimplicit-int] ndexer.l: In function 'subj_insert': ndexer.l:521:26: warning: implicit declaration of function 's_match' [-Wimplicit-function-declaration] ndexer.l:528:3: warning: implicit declaration of function 'w_update'; did you mean 'truncate'? [-Wimplicit-function-declaration] ndexer.l: At top level: ndexer.l:538:1: warning: return type defaults to 'int' [-Wimplicit-int] ndexer.l:563:1: warning: return type defaults to 'int' [-Wimplicit-int] ndexer.l:592:1: warning: return type defaults to 'int' [-Wimplicit-int] ndexer.l:604:1: warning: return type defaults to 'int' [-Wimplicit-int] ndexer.l:623:1: warning: return type defaults to 'int' [-Wimplicit-int] ndexer.l: In function 'w_activate': ndexer.l:631:13: warning: implicit declaration of function 'already_act' [-Wimplicit-function-declaration] ndexer.l: At top level: ndexer.l:663:1: warning: return type defaults to 'int' [-Wimplicit-int] ndexer.l: In function 'match_roots': ndexer.l:675:10: warning: implicit declaration of function 'min'; did you mean 'link'? [-Wimplicit-function-declaration] ndexer.l: At top level: ndexer.l:729:1: warning: return type defaults to 'int' [-Wimplicit-int] ndexer.l:798:1: warning: return type defaults to 'int' [-Wimplicit-int] ndexer.l:833:1: warning: return type defaults to 'int' [-Wimplicit-int] ndexer.l:846:1: warning: return type defaults to 'int' [-Wimplicit-int] ndexer.l:869:1: warning: return type defaults to 'int' [-Wimplicit-int] ndexer.l:888:1: warning: return type defaults to 'int' [-Wimplicit-int] ndexer.l:908:1: warning: return type defaults to 'int' [-Wimplicit-int] ndexer.l:929:1: warning: return type defaults to 'int' [-Wimplicit-int] ndexer.l:942:1: warning: return type defaults to 'int' [-Wimplicit-int] ndexer.l:956:1: warning: return type defaults to 'int' [-Wimplicit-int] ndexer.l:991:1: warning: return type defaults to 'int' [-Wimplicit-int] rm -f lex.yy.c gcc -O -DBSD4_2 -c rootwd.c In file included from rootwd.c:13:0: ehash.h:133:1: warning: return type defaults to 'int' [-Wimplicit-int] ehash.h: In function 'aahash': ehash.h:150:1: warning: type of 'ex' defaults to 'int' [-Wimplicit-int] ehash.h:150:1: warning: type of 'aatsize' defaults to 'int' [-Wimplicit-int] ehash.h:150:1: warning: type of 'aapr1' defaults to 'int' [-Wimplicit-int] ehash.h:150:1: warning: type of 'aapr2' defaults to 'int' [-Wimplicit-int] In file included from rootwd.c:13:0: ehash.h: In function 'able': ehash.h:189:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'ace': ehash.h:202:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'age': ehash.h:215:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'ance': ehash.h:228:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'ant': ehash.h:241:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'cal': ehash.h:254:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'cle': ehash.h:267:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'ee': ehash.h:280:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'ence': ehash.h:293:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'ess': ehash.h:306:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'est': ehash.h:319:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'ful': ehash.h:332:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'ible': ehash.h:345:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'ic': ehash.h:358:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'ice': ehash.h:371:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'ion': ehash.h:384:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'ional': ehash.h:397:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'is': ehash.h:410:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'ish': ehash.h:423:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'ist': ehash.h:436:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'ite': ehash.h:449:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'ive': ehash.h:462:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'ize': ehash.h:475:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'lar': ehash.h:488:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'less': ehash.h:501:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'man': ehash.h:514:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'ment': ehash.h:527:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'ness': ehash.h:540:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'ous': ehash.h:553:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'ship': ehash.h:566:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'ss': ehash.h:579:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'ure': ehash.h:592:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'us': ehash.h:605:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'ing': ehash.h:618:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'ed': ehash.h:631:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] rootwd.c: At top level: rootwd.c:29:1: warning: return type defaults to 'int' [-Wimplicit-int] rootwd.c: In function 'rootword': rootwd.c:41:6: warning: implicit declaration of function 'string'; did you mean 'ing'? [-Wimplicit-function-declaration] rootwd.c:48:13: warning: implicit declaration of function 'except'; did you mean 'ence'? [-Wimplicit-function-declaration] rootwd.c: At top level: rootwd.c:166:1: warning: return type defaults to 'int' [-Wimplicit-int] rootwd.c: In function 'except': rootwd.c:176:2: warning: implicit declaration of function 'strn_rev'; did you mean 'strnlen'? [-Wimplicit-function-declaration] gcc -O -DBSD4_2 -c space.c gcc -O -DBSD4_2 -c str.c gcc -O -DBSD4_2 -c strr.c strr.c:19:1: warning: return type defaults to 'int' [-Wimplicit-int] gcc -O -DBSD4_2 -s case.o ndexer.o rootwd.o space.o str.o strr.o -o ndexer ld: ndexer.o: in function `ndx_text': lex.yy.c:(.text+0x18c4): warning: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp() gcc -O -DBSD4_2 -s -o ndxformat ndxformat.c ndxformat.c:9:0: warning: "gets" redefined #define gets(s) fgets(s, sizeof(s), stdin) In file included from /usr/include/stdio.h:597:0, from ndxformat.c:1: /usr/include/ssp/stdio.h:67:0: note: this is the location of the previous definition #define gets(str) \ ndxformat.c:11:1: warning: return type defaults to 'int' [-Wimplicit-int] main() ^~~~ gcc -O -DBSD4_2 -s -o pages pages.c pages.c:20:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ pages.c: In function 'main': pages.c:37:3: warning: implicit declaration of function 'procnosect'; did you mean 'pclose'? [-Wimplicit-function-declaration] procnosect(); ^~~~~~~~~~ pclose pages.c:40:3: warning: implicit declaration of function 'procsect' [-Wimplicit-function-declaration] procsect(); ^~~~~~~~ pages.c: At top level: pages.c:47:1: warning: return type defaults to 'int' [-Wimplicit-int] procnosect() ^~~~~~~~~~ pages.c:85:1: warning: return type defaults to 'int' [-Wimplicit-int] procsect() ^~~~~~~~ gcc -O -DBSD4_2 -s -o sbjprep sbjprep.c sbjprep.c:16:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ ---- Making all in directory index/ptx ---- gcc -O -s -o ptx ptx.c ptx.c:82:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc,argv) ^~~~ ptx.c: In function 'main': ptx.c:125:6: warning: implicit declaration of function 'diag'; did you mean 'div'? [-Wimplicit-function-declaration] diag("Wrong width:",*optarg); ^~~~ div ptx.c:232:7: warning: implicit declaration of function 'storeh' [-Wimplicit-function-declaration] if(storeh(hash(strtbufp,bufp),strtbufp)) ^~~~~~ ptx.c:232:14: warning: implicit declaration of function 'hash' [-Wimplicit-function-declaration] if(storeh(hash(strtbufp,bufp),strtbufp)) ^~~~ ptx.c:261:3: warning: implicit declaration of function 'cmpline'; did you mean 'getline'? [-Wimplicit-function-declaration] cmpline(pend); ^~~~~~~ getline ptx.c:276:9: warning: implicit declaration of function 'wait'; did you mean 'main'? [-Wimplicit-function-declaration] while(wait(&status) != pid); ^~~~ main ptx.c:280:2: warning: implicit declaration of function 'getsort'; did you mean 'getopt'? [-Wimplicit-function-declaration] getsort(); ^~~~~~~ getopt ptx.c: At top level: ptx.c:290:1: warning: return type defaults to 'int' [-Wimplicit-int] diag(s,arg) ^~~~ ptx.c: In function 'dwb_getline': ptx.c:302:11: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] register c; ^ ptx.c: At top level: ptx.c:335:1: warning: return type defaults to 'int' [-Wimplicit-int] cmpline(pend) ^~~~~~~ ptx.c: In function 'cmpline': ptx.c:362:9: warning: implicit declaration of function 'cmpword' [-Wimplicit-function-declaration] if(cmpword(pstrt,pchar,cp)){ ^~~~~~~ ptx.c:365:8: warning: implicit declaration of function 'putline'; did you mean 'getline'? [-Wimplicit-function-declaration] putline(pstrt,pend); ^~~~~~~ getline ptx.c: At top level: ptx.c:382:1: warning: return type defaults to 'int' [-Wimplicit-int] cmpword(cpp,pend,hpp) ^~~~~~~ ptx.c:396:1: warning: return type defaults to 'int' [-Wimplicit-int] putline(strt, end) ^~~~~~~ ptx.c:412:1: warning: return type defaults to 'int' [-Wimplicit-int] getsort() ^~~~~~~ ptx.c: In function 'getsort': ptx.c:414:11: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] register c; ^ ptx.c:458:4: warning: implicit declaration of function 'putout'; did you mean 'getopt'? [-Wimplicit-function-declaration] putout(p1a,p1b); ^~~~~~ getopt ptx.c: In function 'rtrim': ptx.c:492:7: warning: type of 'd' defaults to 'int' [-Wimplicit-int] char *rtrim(a,c,d) ^~~~~ ptx.c: In function 'ltrim': ptx.c:505:7: warning: type of 'd' defaults to 'int' [-Wimplicit-int] char *ltrim(c,b,d) ^~~~~ ptx.c: At top level: ptx.c:518:1: warning: return type defaults to 'int' [-Wimplicit-int] putout(strt,end) ^~~~~~ ptx.c:538:1: warning: return type defaults to 'int' [-Wimplicit-int] hash(strtp,endp) ^~~~ ptx.c:565:1: warning: return type defaults to 'int' [-Wimplicit-int] storeh(num,strtp) ^~~~~~ ld: /var/tmp//ccTZvaY3.o: in function `main': ptx.c:(.text+0x1320): warning: warning: mktemp() possibly used unsafely, use mkstemp() or mkdtemp() ---- Making all in directory index/subj ---- cp subj.sh subj; chmod 755 subj cp parts.sh parts; chmod 755 parts lex sbj1.l gcc -O -c -o sbj1.o lex.yy.c sbj1.l: In function 'yylex': sbj1.l:53:3: warning: implicit declaration of function 'skip' [-Wimplicit-function-declaration] sbj1.l:85:7: warning: implicit declaration of function 'italic_arg' [-Wimplicit-function-declaration] sbj1.l: At top level: sbj1.l:242:1: warning: return type defaults to 'int' [-Wimplicit-int] sbj1.l:280:1: warning: return type defaults to 'int' [-Wimplicit-int] sbj1.l:326:1: warning: return type defaults to 'int' [-Wimplicit-int] rm -f lex.yy.c gcc -O -s sbj1.o -o sbj1 -lfl lex sbj2.l sbj2.l:65: warning, rule cannot be matched gcc -O -c -o sbj2.o lex.yy.c sbj2.l: In function 'yylex': sbj2.l:70:7: warning: implicit declaration of function 'writesubj'; did you mean 'write'? [-Wimplicit-function-declaration] sbj2.l:71:7: warning: implicit declaration of function 'reset_ptrs'; did you mean 'yyset_extra'? [-Wimplicit-function-declaration] sbj2.l: At top level: sbj2.l:137:1: warning: return type defaults to 'int' [-Wimplicit-int] sbj2.l:181:1: warning: return type defaults to 'int' [-Wimplicit-int] rm -f lex.yy.c gcc -O -c case.c case.c:18:1: warning: return type defaults to 'int' [-Wimplicit-int] gcc -O -s sbj2.o case.o -o sbj2 -lfl lex sbj3.l gcc -O -c -o sbj3.o lex.yy.c sbj3.l: In function 'yylex': sbj3.l:54:6: warning: implicit declaration of function 'storeterm'; did you mean 'stresep'? [-Wimplicit-function-declaration] sbj3.l:61:6: warning: implicit declaration of function 'writesubj'; did you mean 'write'? [-Wimplicit-function-declaration] sbj3.l:62:6: warning: implicit declaration of function 'reset_ptrs'; did you mean 'yyset_extra'? [-Wimplicit-function-declaration] sbj3.l: At top level: sbj3.l:72:1: warning: return type defaults to 'int' [-Wimplicit-int] sbj3.l: In function 'storeterm': sbj3.l:73:7: warning: implicit declaration of function 'omit'; did you mean 'exit'? [-Wimplicit-function-declaration] sbj3.l: At top level: sbj3.l:93:1: warning: return type defaults to 'int' [-Wimplicit-int] sbj3.l:106:1: warning: return type defaults to 'int' [-Wimplicit-int] rm -f lex.yy.c gcc -O -c omit.c omit.c:18:1: warning: return type defaults to 'int' [-Wimplicit-int] gcc -O -s sbj3.o case.o omit.o -o sbj3 -lfl lex nwords.l gcc -O -c -o nwords.o lex.yy.c In file included from nwords.l:32:0: nhash.h: In function 'aahash': nhash.h:37:1: warning: type of 'ex' defaults to 'int' [-Wimplicit-int] nhash.h:37:1: warning: type of 'aatsize' defaults to 'int' [-Wimplicit-int] nhash.h:37:1: warning: type of 'aapr1' defaults to 'int' [-Wimplicit-int] nhash.h:37:1: warning: type of 'aapr2' defaults to 'int' [-Wimplicit-int] In file included from nwords.l:32:0: nhash.h: At top level: nhash.h:71:1: warning: return type defaults to 'int' [-Wimplicit-int] nhash.h: In function 'lookup': nhash.h:87:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] nhash.h: In function 'ary': nhash.h:100:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] nhash.h: In function 'cy': nhash.h:113:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] nhash.h: In function 'ery': nhash.h:126:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] nhash.h: In function 'fy': nhash.h:139:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] nhash.h: In function 'gy': nhash.h:152:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] nhash.h: In function 'ity': nhash.h:165:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] nhash.h: In function 'ly': nhash.h:178:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] nhash.h: In function 'ory': nhash.h:191:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] nhash.h: In function 'ry': nhash.h:204:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] nhash.h: In function 'ty': nhash.h:217:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] nhash.h: At top level: nhash.h:243:1: warning: return type defaults to 'int' [-Wimplicit-int] In file included from nwords.l:35:0: abbrev.h: In function 'abbrev': abbrev.h:17:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] abbrev.h: At top level: abbrev.h:25:1: warning: return type defaults to 'int' [-Wimplicit-int] nwords.l: In function 'yylex': nwords.l:84:3: warning: implicit declaration of function 'pos' [-Wimplicit-function-declaration] nwords.l:168:7: warning: implicit declaration of function 'ahead'; did you mean 'pread'? [-Wimplicit-function-declaration] nwords.l:319:14: warning: implicit declaration of function 'look'; did you mean 'lockf'? [-Wimplicit-function-declaration] nwords.l: At top level: nwords.l:457:1: warning: return type defaults to 'int' [-Wimplicit-int] nwords.l:475:1: warning: return type defaults to 'int' [-Wimplicit-int] nwords.l: In function 'pos': nwords.l:475:1: warning: type of 'flg' defaults to 'int' [-Wimplicit-int] nwords.l: At top level: nwords.l:493:1: warning: return type defaults to 'int' [-Wimplicit-int] nwords.l:520:1: warning: return type defaults to 'int' [-Wimplicit-int] rm -f lex.yy.c gcc -O -s nwords.o -o style1 -lfl lex end.l gcc -O -c -o end.o lex.yy.c In file included from end.l:28:0: ehash.h:133:1: warning: return type defaults to 'int' [-Wimplicit-int] ehash.h: In function 'aahash': ehash.h:150:1: warning: type of 'ex' defaults to 'int' [-Wimplicit-int] ehash.h:150:1: warning: type of 'aatsize' defaults to 'int' [-Wimplicit-int] ehash.h:150:1: warning: type of 'aapr1' defaults to 'int' [-Wimplicit-int] ehash.h:150:1: warning: type of 'aapr2' defaults to 'int' [-Wimplicit-int] In file included from end.l:28:0: ehash.h: In function 'able': ehash.h:189:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'ace': ehash.h:202:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'age': ehash.h:215:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'ance': ehash.h:228:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'ant': ehash.h:241:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'cal': ehash.h:254:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'cle': ehash.h:267:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'ee': ehash.h:280:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'ence': ehash.h:293:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'ess': ehash.h:306:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'est': ehash.h:319:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'ful': ehash.h:332:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'ible': ehash.h:345:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'ic': ehash.h:358:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'ice': ehash.h:371:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'ion': ehash.h:384:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'ional': ehash.h:397:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'is': ehash.h:410:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'ish': ehash.h:423:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'ist': ehash.h:436:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'ite': ehash.h:449:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'ive': ehash.h:462:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'ize': ehash.h:475:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'lar': ehash.h:488:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'less': ehash.h:501:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'man': ehash.h:514:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'ment': ehash.h:527:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'ness': ehash.h:540:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'ous': ehash.h:553:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'ship': ehash.h:566:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'ss': ehash.h:579:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'ure': ehash.h:592:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'us': ehash.h:605:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'ing': ehash.h:618:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] ehash.h: In function 'ed': ehash.h:631:1: warning: type of 'a1' defaults to 'int' [-Wimplicit-int] end.l: In function 'yylex': end.l:49:2: warning: implicit declaration of function 'look'; did you mean 'lockf'? [-Wimplicit-function-declaration] end.l: At top level: end.l:221:1: warning: return type defaults to 'int' [-Wimplicit-int] end.l:259:1: warning: return type defaults to 'int' [-Wimplicit-int] rm -f lex.yy.c gcc -O -s end.o -o style2 -lfl lex part.l part.l:141: warning, rule cannot be matched gcc -O -c -o part.o lex.yy.c In file included from part.l:25:0: style.h:60:8: warning: type defaults to 'int' in declaration of 'sentno' [-Wimplicit-int] In file included from part.l:27:0: conp.h:18:8: warning: type defaults to 'int' in declaration of 'comma' [-Wimplicit-int] conp.h:18:15: warning: type defaults to 'int' in declaration of 'j' [-Wimplicit-int] conp.h:18:18: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] conp.h:20:8: warning: type defaults to 'int' in declaration of 'question' [-Wimplicit-int] part.l: In function 'yylex': part.l:178:7: warning: implicit declaration of function 'scan'; did you mean 'scanf'? [-Wimplicit-function-declaration] part.l:197:2: warning: implicit declaration of function 'outp'; did you mean 'dup'? [-Wimplicit-function-declaration] part.l: At top level: part.l:242:1: warning: return type defaults to 'int' [-Wimplicit-int] part.l: In function 'wperc': part.l:331:1: warning: type of 'a' defaults to 'int' [-Wimplicit-int] part.l: In function 'sperc': part.l:336:1: warning: type of 'a' defaults to 'int' [-Wimplicit-int] part.l: In function 'typersent': part.l:341:1: warning: type of 'a' defaults to 'int' [-Wimplicit-int] part.l: In function 'vperc': part.l:346:1: warning: type of 'a' defaults to 'int' [-Wimplicit-int] part.l: At top level: part.l:351:1: warning: return type defaults to 'int' [-Wimplicit-int] part.l: In function 'main': part.l:351:1: warning: type of 'argc' defaults to 'int' [-Wimplicit-int] rm -f lex.yy.c gcc -O -c pscan.c In file included from pscan.c:13:0: conp.h:18:8: warning: type defaults to 'int' in declaration of 'comma' [-Wimplicit-int] conp.h:18:15: warning: type defaults to 'int' in declaration of 'j' [-Wimplicit-int] conp.h:18:18: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] conp.h:20:8: warning: type defaults to 'int' in declaration of 'question' [-Wimplicit-int] pscan.c:25:1: warning: return type defaults to 'int' [-Wimplicit-int] pscan.c: In function 'scan': pscan.c:25:1: warning: type of 'command' defaults to 'int' [-Wimplicit-int] pscan.c:41:9: warning: implicit declaration of function 'getv'; did you mean 'getv2'? [-Wimplicit-function-declaration] pscan.c:43:7: warning: implicit declaration of function 'getnoun' [-Wimplicit-function-declaration] pscan.c:148:8: warning: implicit declaration of function 'who' [-Wimplicit-function-declaration] pscan.c: At top level: pscan.c:406:1: warning: return type defaults to 'int' [-Wimplicit-int] pscan.c:595:1: warning: return type defaults to 'int' [-Wimplicit-int] pscan.c:997:1: warning: return type defaults to 'int' [-Wimplicit-int] gcc -O -c outp.c In file included from outp.c:13:0: style.h:60:8: warning: type defaults to 'int' in declaration of 'sentno' [-Wimplicit-int] In file included from outp.c:15:0: conp.h:18:8: warning: type defaults to 'int' in declaration of 'comma' [-Wimplicit-int] conp.h:18:15: warning: type defaults to 'int' in declaration of 'j' [-Wimplicit-int] conp.h:18:18: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] conp.h:20:8: warning: type defaults to 'int' in declaration of 'question' [-Wimplicit-int] gcc -O -c extern.c gcc -O -s part.o pscan.o outp.o extern.o -o style3 -lfl ---- Making all in directory laserjet/devpcl ---- ---- Making all in directory laserjet/dpcl ---- gcc -O -DBSD4_2 -c dpcl.c dpcl.c:130:1: warning: return type defaults to 'int' [-Wimplicit-int] dpcl.c: In function 'main': dpcl.c:154:5: warning: implicit declaration of function 'init_signals'; did you mean 'strsignal'? [-Wimplicit-function-declaration] dpcl.c:155:5: warning: implicit declaration of function 'options'; did you mean 'htons'? [-Wimplicit-function-declaration] dpcl.c:156:5: warning: implicit declaration of function 'rasterlist'; did you mean 'strlcat'? [-Wimplicit-function-declaration] dpcl.c:157:5: warning: implicit declaration of function 'arguments' [-Wimplicit-function-declaration] dpcl.c:158:5: warning: implicit declaration of function 'done' [-Wimplicit-function-declaration] dpcl.c:159:5: warning: implicit declaration of function 'account'; did you mean 'popcount'? [-Wimplicit-function-declaration] dpcl.c: At top level: dpcl.c:167:1: warning: return type defaults to 'int' [-Wimplicit-int] dpcl.c:192:1: warning: return type defaults to 'int' [-Wimplicit-int] dpcl.c: In function 'options': dpcl.c:210:19: warning: implicit declaration of function 'getopt'; did you mean 'cgetset'? [-Wimplicit-function-declaration] dpcl.c:226:7: warning: implicit declaration of function 'out_list' [-Wimplicit-function-declaration] dpcl.c:258:4: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] dpcl.c: At top level: dpcl.c:307:1: warning: return type defaults to 'int' [-Wimplicit-int] dpcl.c:330:1: warning: return type defaults to 'int' [-Wimplicit-int] dpcl.c: In function 'arguments': dpcl.c:343:2: warning: implicit declaration of function 'conv'; did you mean 'cosl'? [-Wimplicit-function-declaration] dpcl.c: At top level: dpcl.c:361:1: warning: return type defaults to 'int' [-Wimplicit-int] dpcl.c: In function 'done': dpcl.c:375:2: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] dpcl.c: At top level: dpcl.c:381:1: warning: return type defaults to 'int' [-Wimplicit-int] dpcl.c:398:1: warning: return type defaults to 'int' [-Wimplicit-int] dpcl.c: In function 'conv': dpcl.c:416:5: warning: implicit declaration of function 'redirect'; did you mean 'select'? [-Wimplicit-function-declaration] dpcl.c:442:12: warning: implicit declaration of function 'chindex'; did you mean 'rindex'? [-Wimplicit-function-declaration] dpcl.c:447:7: warning: implicit declaration of function 'oput'; did you mean 'put1'? [-Wimplicit-function-declaration] dpcl.c:452:4: warning: implicit declaration of function 't_sf'; did you mean 'tanf'? [-Wimplicit-function-declaration] dpcl.c:456:5: warning: implicit declaration of function 'drawline'; did you mean 'raise'? [-Wimplicit-function-declaration] dpcl.c:467:8: warning: implicit declaration of function 'drawcirc' [-Wimplicit-function-declaration] dpcl.c:472:8: warning: implicit declaration of function 'drawellip' [-Wimplicit-function-declaration] dpcl.c:477:8: warning: implicit declaration of function 'drawarc' [-Wimplicit-function-declaration] dpcl.c:483:8: warning: implicit declaration of function 'drawwig' [-Wimplicit-function-declaration] dpcl.c:502:7: warning: implicit declaration of function 'setsize'; did you mean 'getbsize'? [-Wimplicit-function-declaration] dpcl.c:502:15: warning: implicit declaration of function 't_size'; did you mean 'getbsize'? [-Wimplicit-function-declaration] dpcl.c:507:7: warning: implicit declaration of function 'setfont'; did you mean 'mapfont'? [-Wimplicit-function-declaration] dpcl.c:507:15: warning: implicit declaration of function 't_font'; did you mean 'mapfont'? [-Wimplicit-function-declaration] dpcl.c:535:7: warning: implicit declaration of function 't_page' [-Wimplicit-function-declaration] dpcl.c:550:7: warning: implicit declaration of function 'devcntrl'; did you mean 'iscntrl'? [-Wimplicit-function-declaration] dpcl.c: At top level: dpcl.c:566:1: warning: return type defaults to 'int' [-Wimplicit-int] dpcl.c: In function 'devcntrl': dpcl.c:585:3: warning: implicit declaration of function 't_init'; did you mean 'lrint'? [-Wimplicit-function-declaration] dpcl.c:608:3: warning: implicit declaration of function 'loadfont'; did you mean 'mapfont'? [-Wimplicit-function-declaration] dpcl.c: At top level: dpcl.c:627:1: warning: return type defaults to 'int' [-Wimplicit-int] dpcl.c: In function 'loadfont': dpcl.c:649:10: warning: implicit declaration of function 'mountfont'; did you mean 'loadfont'? [-Wimplicit-function-declaration] dpcl.c: At top level: dpcl.c:704:1: warning: return type defaults to 'int' [-Wimplicit-int] dpcl.c:720:1: warning: return type defaults to 'int' [-Wimplicit-int] dpcl.c: In function 't_init': dpcl.c:736:7: warning: implicit declaration of function 'getdesc'; did you mean 'getenv'? [-Wimplicit-function-declaration] dpcl.c: At top level: dpcl.c:754:1: warning: return type defaults to 'int' [-Wimplicit-int] dpcl.c:785:1: warning: return type defaults to 'int' [-Wimplicit-int] dpcl.c:814:1: warning: return type defaults to 'int' [-Wimplicit-int] dpcl.c:847:1: warning: return type defaults to 'int' [-Wimplicit-int] dpcl.c:869:1: warning: return type defaults to 'int' [-Wimplicit-int] dpcl.c:891:1: warning: return type defaults to 'int' [-Wimplicit-int] dpcl.c:910:1: warning: return type defaults to 'int' [-Wimplicit-int] dpcl.c:931:1: warning: return type defaults to 'int' [-Wimplicit-int] dpcl.c: In function 't_sf': dpcl.c:941:25: warning: implicit declaration of function 'mounted'; did you mean 'round'? [-Wimplicit-function-declaration] dpcl.c:942:2: warning: implicit declaration of function 'getrastdata'; did you mean 'setstate'? [-Wimplicit-function-declaration] dpcl.c:943:2: warning: implicit declaration of function 'setfamily' [-Wimplicit-function-declaration] dpcl.c: In function 'put1': dpcl.c:976:15: warning: implicit declaration of function 'onfont'; did you mean 't_font'? [-Wimplicit-function-declaration] dpcl.c: At top level: dpcl.c:996:1: warning: return type defaults to 'int' [-Wimplicit-int] dpcl.c: In function 'oput': dpcl.c:1019:2: warning: implicit declaration of function 'download' [-Wimplicit-function-declaration] dpcl.c: At top level: dpcl.c:1028:1: warning: return type defaults to 'int' [-Wimplicit-int] dpcl.c: In function 'redirect': dpcl.c:1043:21: warning: implicit declaration of function 'in_olist' [-Wimplicit-function-declaration] gcc -O -DBSD4_2 -c draw.c draw.c: In function 'drawline': draw.c:37:2: warning: implicit declaration of function 'setsize'; did you mean 'getline'? [-Wimplicit-function-declaration] draw.c:37:10: warning: implicit declaration of function 't_size' [-Wimplicit-function-declaration] draw.c:48:4: warning: implicit declaration of function 'put1'; did you mean 'putw'? [-Wimplicit-function-declaration] draw.c: At top level: draw.c:104:1: warning: return type defaults to 'int' [-Wimplicit-int] draw.c: In function 'drawwig': draw.c:117:10: warning: implicit declaration of function 'atoi'; did you mean 'atan'? [-Wimplicit-function-declaration] draw.c:131:14: warning: implicit declaration of function 'dist'; did you mean 'rint'? [-Wimplicit-function-declaration] draw.c: At top level: draw.c:170:1: warning: return type defaults to 'int' [-Wimplicit-int] draw.c: In function 'drawcirc': draw.c:170:1: warning: type of 'd' defaults to 'int' [-Wimplicit-int] draw.c:176:2: warning: implicit declaration of function 'conicarc' [-Wimplicit-function-declaration] draw.c: At top level: draw.c:181:1: warning: return type defaults to 'int' [-Wimplicit-int] draw.c: In function 'dist': draw.c:181:1: warning: type of 'x1' defaults to 'int' [-Wimplicit-int] draw.c:181:1: warning: type of 'y1' defaults to 'int' [-Wimplicit-int] draw.c:181:1: warning: type of 'x2' defaults to 'int' [-Wimplicit-int] draw.c:181:1: warning: type of 'y2' defaults to 'int' [-Wimplicit-int] draw.c: At top level: draw.c:190:1: warning: return type defaults to 'int' [-Wimplicit-int] draw.c: In function 'drawarc': draw.c:190:1: warning: type of 'dx1' defaults to 'int' [-Wimplicit-int] draw.c:190:1: warning: type of 'dy1' defaults to 'int' [-Wimplicit-int] draw.c:190:1: warning: type of 'dx2' defaults to 'int' [-Wimplicit-int] draw.c:190:1: warning: type of 'dy2' defaults to 'int' [-Wimplicit-int] draw.c: At top level: draw.c:202:1: warning: return type defaults to 'int' [-Wimplicit-int] draw.c: In function 'drawellip': draw.c:202:1: warning: type of 'a' defaults to 'int' [-Wimplicit-int] draw.c:202:1: warning: type of 'b' defaults to 'int' [-Wimplicit-int] draw.c: At top level: draw.c:215:1: warning: return type defaults to 'int' [-Wimplicit-int] draw.c: In function 'conicarc': draw.c:215:1: warning: type of 'x' defaults to 'int' [-Wimplicit-int] draw.c:215:1: warning: type of 'y' defaults to 'int' [-Wimplicit-int] draw.c:215:1: warning: type of 'x0' defaults to 'int' [-Wimplicit-int] draw.c:215:1: warning: type of 'y0' defaults to 'int' [-Wimplicit-int] draw.c:215:1: warning: type of 'x1' defaults to 'int' [-Wimplicit-int] draw.c:215:1: warning: type of 'y1' defaults to 'int' [-Wimplicit-int] draw.c:215:1: warning: type of 'a' defaults to 'int' [-Wimplicit-int] draw.c:215:1: warning: type of 'b' defaults to 'int' [-Wimplicit-int] draw.c:366:4: warning: implicit declaration of function 'putdot'; did you mean 'putw'? [-Wimplicit-function-declaration] draw.c: At top level: draw.c:423:1: warning: return type defaults to 'int' [-Wimplicit-int] draw.c: In function 'putdot': draw.c:423:1: warning: type of 'x' defaults to 'int' [-Wimplicit-int] draw.c:423:1: warning: type of 'y' defaults to 'int' [-Wimplicit-int] gcc -O -DBSD4_2 -c font.c font.c:37:1: warning: return type defaults to 'int' [-Wimplicit-int] font.c: In function 'getdesc': font.c:74:3: warning: implicit declaration of function 'chadd'; did you mean 'chname'? [-Wimplicit-function-declaration] font.c: At top level: font.c:87:1: warning: return type defaults to 'int' [-Wimplicit-int] font.c: In function 'getfont': font.c:122:2: warning: implicit declaration of function 'freefonts'; did you mean 'getfont'? [-Wimplicit-function-declaration] font.c:130:6: warning: implicit declaration of function 'release'; did you mean 'rename'? [-Wimplicit-function-declaration] font.c:142:13: warning: implicit declaration of function 'chindex'; did you mean 'rindex'? [-Wimplicit-function-declaration] font.c: At top level: font.c:205:1: warning: return type defaults to 'int' [-Wimplicit-int] font.c: In function 'mountfont': font.c:234:34: warning: implicit declaration of function 'findfont'; did you mean 'mountfont'? [-Wimplicit-function-declaration] font.c: At top level: font.c:242:1: warning: return type defaults to 'int' [-Wimplicit-int] font.c:266:1: warning: return type defaults to 'int' [-Wimplicit-int] font.c: In function 'findfont': font.c:272:14: warning: type defaults to 'int' in declaration of 'n' [-Wimplicit-int] font.c:281:15: warning: implicit declaration of function 'hash' [-Wimplicit-function-declaration] font.c: At top level: font.c:290:1: warning: return type defaults to 'int' [-Wimplicit-int] font.c:308:1: warning: return type defaults to 'int' [-Wimplicit-int] font.c:346:1: warning: return type defaults to 'int' [-Wimplicit-int] font.c:366:1: warning: return type defaults to 'int' [-Wimplicit-int] font.c:386:1: warning: return type defaults to 'int' [-Wimplicit-int] font.c: In function 'chindex': font.c:392:14: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] font.c: At top level: font.c:410:1: warning: return type defaults to 'int' [-Wimplicit-int] font.c: In function 'chadd': font.c:416:14: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] font.c:426:2: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] font.c: At top level: font.c:457:1: warning: return type defaults to 'int' [-Wimplicit-int] font.c: In function 'hash': font.c:464:14: warning: type defaults to 'int' in declaration of 'i' [-Wimplicit-int] font.c: At top level: font.c:531:1: warning: return type defaults to 'int' [-Wimplicit-int] font.c:550:1: warning: return type defaults to 'int' [-Wimplicit-int] font.c: In function 'dumpmount': font.c:563:2: warning: implicit declaration of function 'dumpfont'; did you mean 'dumpmount'? [-Wimplicit-function-declaration] font.c: At top level: font.c:570:1: warning: return type defaults to 'int' [-Wimplicit-int] gcc -O -DBSD4_2 -c glob.c gcc -O -DBSD4_2 -c misc.c misc.c:20:1: warning: return type defaults to 'int' [-Wimplicit-int] misc.c: In function 'out_list': misc.c:36:17: warning: implicit declaration of function 'str_convert' [-Wimplicit-function-declaration] misc.c:42:6: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] misc.c: At top level: misc.c:56:1: warning: return type defaults to 'int' [-Wimplicit-int] misc.c:84:1: warning: return type defaults to 'int' [-Wimplicit-int] misc.c: In function 'cat': misc.c:107:22: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] misc.c:108:2: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] misc.c:110:5: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] misc.c: At top level: misc.c:117:1: warning: return type defaults to 'int' [-Wimplicit-int] misc.c:138:1: warning: return type defaults to 'int' [-Wimplicit-int] misc.c:165:1: warning: return type defaults to 'int' [-Wimplicit-int] misc.c:194:1: warning: return type defaults to 'int' [-Wimplicit-int] misc.c: In function 'error': misc.c:222:6: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] gcc -O -DBSD4_2 -c rast.c rast.c:43:1: warning: return type defaults to 'int' [-Wimplicit-int] rast.c:69:1: warning: return type defaults to 'int' [-Wimplicit-int] rast.c: In function 'getrastdata': rast.c:87:9: warning: implicit declaration of function 'mapsize'; did you mean 'getbsize'? [-Wimplicit-function-declaration] rast.c:94:6: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] rast.c:105:2: warning: implicit declaration of function 'readrastfile' [-Wimplicit-function-declaration] rast.c:108:2: warning: implicit declaration of function 'getoffsets'; did you mean 'cgetset'? [-Wimplicit-function-declaration] rast.c: At top level: rast.c:114:1: warning: return type defaults to 'int' [-Wimplicit-int] rast.c: In function 'readrastfile': rast.c:148:7: warning: implicit declaration of function 'access' [-Wimplicit-function-declaration] rast.c:150:6: warning: implicit declaration of function 'rotate'; did you mean 'lstat'? [-Wimplicit-function-declaration] rast.c:155:16: warning: implicit declaration of function 'open'; did you mean 'popen'? [-Wimplicit-function-declaration] rast.c:164:10: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] rast.c:174:10: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] rast.c:181:5: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] rast.c: At top level: rast.c:190:1: warning: return type defaults to 'int' [-Wimplicit-int] rast.c: In function 'rastalloc': rast.c:243:7: warning: implicit declaration of function 'freerast'; did you mean 'free'? [-Wimplicit-function-declaration] rast.c: At top level: rast.c:251:1: warning: return type defaults to 'int' [-Wimplicit-int] rast.c:280:1: warning: return type defaults to 'int' [-Wimplicit-int] rast.c:313:1: warning: return type defaults to 'int' [-Wimplicit-int] rast.c:332:1: warning: return type defaults to 'int' [-Wimplicit-int] rast.c:405:1: warning: return type defaults to 'int' [-Wimplicit-int] rast.c:424:1: warning: return type defaults to 'int' [-Wimplicit-int] rast.c:443:1: warning: return type defaults to 'int' [-Wimplicit-int] gcc -O -DBSD4_2 -c rotate.c rotate.c:21:1: warning: return type defaults to 'int' [-Wimplicit-int] rotate.c: In function 'rotate': rotate.c:53:6: warning: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] rotate.c:78:13: warning: implicit declaration of function 'getint'; did you mean 'cgetent'? [-Wimplicit-function-declaration] rotate.c:112:8: warning: implicit declaration of function 'checkbit' [-Wimplicit-function-declaration] rotate.c:115:7: warning: implicit declaration of function 'setbit'; did you mean 'setbuf'? [-Wimplicit-function-declaration] rotate.c:130:2: warning: implicit declaration of function 'putint'; did you mean 'putenv'? [-Wimplicit-function-declaration] gcc -O -DBSD4_2 -c tempnam.c gcc -O -DBSD4_2 -s -o dpcl dpcl.o draw.o font.o glob.o misc.o rast.o rotate.o tempnam.o -lm ld: rotate.o: in function `rotate': rotate.c:(.text+0xb8): warning: warning: tempnam() possibly used unsafely, use mkstemp() or mkdtemp() ---- Making all in directory laserjet/rastpcl ---- ---- Making all in directory macros/man ---- ---- Making all in directory macros/mcolor ---- ---- Making all in directory macros/mcs ---- ---- Making all in directory macros/mm ---- ---- Making all in directory macros/mpictures ---- ---- Making all in directory macros/mps ---- ---- Making all in directory macros/ms ---- ---- Making all in directory macros/msafe ---- ---- Making all in directory macros/mv ---- ---- Making all in directory macros/mview ---- ---- Making all in directory misc/checkdoc ---- gcc -O -s -o checkdoc checkdoc.c checkdoc.c:205:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc,argv) ^~~~ checkdoc.c: In function 'main': checkdoc.c:318:6: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] close(fp); ^~~~~ pclose checkdoc.c: At top level: checkdoc.c:373:1: warning: return type defaults to 'int' [-Wimplicit-int] error(msg) /* Display an error message */ ^~~~~ checkdoc.c:380:1: warning: return type defaults to 'int' [-Wimplicit-int] warning(msg) /* Display a warning message */ ^~~~~~~ checkdoc.c: In function 'tbl_ck': checkdoc.c:1986:12: warning: implicit declaration of function 'findcol' [-Wimplicit-function-declaration] nr_cols=findcol(&p); ^~~~~~~ checkdoc.c: At top level: checkdoc.c:2121:1: warning: return type defaults to 'int' [-Wimplicit-int] findcol(nextp) ^~~~~~~ checkdoc.c: In function 'findcol': checkdoc.c:2125:11: warning: type defaults to 'int' in declaration of 'c' [-Wimplicit-int] register c; ^ checkdoc.c: At top level: checkdoc.c:2883:1: warning: return type defaults to 'int' [-Wimplicit-int] str_nr_test(p) ^~~~~~~~~~~ ---- Making all in directory misc/col ---- gcc -O -s -o col col.c col.c:32:14: error: macro "strcpy" requires 2 arguments, but only 1 given char *strcpy(); ^ col.c:32:7: error: 'strcpy' redeclared as different kind of symbol char *strcpy(); ^~~~~~ In file included from col.c:13:0: /usr/include/string.h:58:7: note: previous declaration of 'strcpy' was here char *strcpy(char * __restrict, const char * __restrict); ^~~~~~ col.c:34:1: warning: return type defaults to 'int' [-Wimplicit-int] main (argc, argv) ^~~~ col.c: In function 'main': col.c:90:6: warning: implicit declaration of function 'outc'; did you mean 'putc'? [-Wimplicit-function-declaration] outc(ESC); ^~~~ putc col.c:106:4: warning: implicit declaration of function 'incr'; did you mean 'minor'? [-Wimplicit-function-declaration] incr(); ^~~~ minor col.c:118:5: warning: implicit declaration of function 'decr'; did you mean 'memchr'? [-Wimplicit-function-declaration] decr(); ^~~~ memchr col.c:208:4: warning: implicit declaration of function 'emit'; did you mean 'exit'? [-Wimplicit-function-declaration] emit (page[(mustwr+i) % PL], mustwr+i-PL); ^~~~ exit col.c: At top level: col.c:213:1: warning: return type defaults to 'int' [-Wimplicit-int] outc (c) ^~~~ col.c:294:1: warning: return type defaults to 'int' [-Wimplicit-int] store (lno) ^~~~~ col.c: In function 'store': col.c:294:1: warning: type of 'lno' defaults to 'int' [-Wimplicit-int] col.c: At top level: col.c:307:1: warning: return type defaults to 'int' [-Wimplicit-int] fetch(lno) ^~~~~ col.c: In function 'fetch': col.c:307:1: warning: type of 'lno' defaults to 'int' [-Wimplicit-int] col.c: At top level: col.c:320:1: warning: return type defaults to 'int' [-Wimplicit-int] emit (s, lineno) ^~~~ col.c:386:1: warning: return type defaults to 'int' [-Wimplicit-int] incr() ^~~~ col.c:400:1: warning: return type defaults to 'int' [-Wimplicit-int] decr() ^~~~ distcc[13603] ERROR: compile col.c on localhost failed *** Error code 1 Stop. make[2]: stopped in /tmp/pkgbuild/textproc/DWB/work.aarch64/DWB3.3-20150517/misc/col *** Error code 1 Stop. make[1]: stopped in /tmp/pkgbuild/textproc/DWB/work.aarch64/DWB3.3-20150517/misc *** Error code 1 Stop. make: stopped in /tmp/pkgbuild/textproc/DWB/work.aarch64/DWB3.3-20150517 *** Error code 1 Stop. make[1]: stopped in /usr/pkgsrc/textproc/DWB *** Error code 1 Stop. make: stopped in /usr/pkgsrc/textproc/DWB