=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /opt/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for DWB-20150517 CXX=clang++ LEX=lex ./cfgr C++ compiler: /opt/work/textproc/DWB/work/.cwrapper/bin/clang++ Lexer: /opt/work/textproc/DWB/work/.tools/bin/lex ---- Making all in directory doc/pub ---- ---- Making all in directory doc/pub.att ---- ---- Making all in directory index/deroff ---- clang -O -s -o deroff deroff.c deroff.c:91:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main(ac, av) ^ deroff.c:97:11: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register optchar; ~~~~~~~~ ^ deroff.c:102:20: warning: implicit declaration of function 'getflags' is invalid in C99 [-Wimplicit-function-declaration] while ((optchar = getflags(argc, argv, "wnpm:l:")) != EOF) switch(optchar) { ^ deroff.c:130:3: warning: implicit declaration of function 'fatal' is invalid in C99 [-Wimplicit-function-declaration] fatal("usage: deroff [-n] [ -w ] [ -mm [-li(-ml)|+li ]| ms] ] [ file ] ... \n", (char *) NULL); ^ deroff.c:151:2: warning: implicit declaration of function 'work' is invalid in C99 [-Wimplicit-function-declaration] work(); ^ deroff.c:159:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] skeqn() ^ deroff.c:164:8: warning: implicit declaration of function 'eof' is invalid in C99 [-Wimplicit-function-declaration] c = eof(); ^ deroff.c:168:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if(c == EOF) ^ deroff.c:186:3: warning: implicit declaration of function 'fatal' is invalid in C99 [-Wimplicit-function-declaration] fatal("Cannot open file %s\n", p); ^ deroff.c:195:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] eof() ^ deroff.c:250:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] fatal(s,p) ^ deroff.c:258:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] work() ^ deroff.c:266:4: warning: implicit declaration of function 'regline' is invalid in C99 [-Wimplicit-function-declaration] regline(NO,TWO); ^ deroff.c:273:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] regline(macline,constant) ^ deroff.c:305:4: warning: implicit declaration of function 'putmac' is invalid in C99 [-Wimplicit-function-declaration] putmac(line,constant); ^ deroff.c:310:1: warning: non-void function does not return a value [-Wreturn-type] } ^ deroff.c:315:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] putmac(s,constant) ^ deroff.c:320:11: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register found; ~~~~~~~~ ^ deroff.c:350:1: warning: non-void function does not return a value [-Wreturn-type] } ^ deroff.c:414:4: warning: implicit declaration of function 'stbl' is invalid in C99 [-Wimplicit-function-declaration] stbl(); ^ deroff.c:416:8: warning: implicit declaration of function 'tbl' is invalid in C99 [-Wimplicit-function-declaration] else tbl(); ^ deroff.c:605:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] tbl() ^ deroff.c:610:1: warning: non-void function does not return a value [-Wreturn-type] } ^ deroff.c:611:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] stbl() ^ deroff.c:620:1: warning: non-void function does not return a value [-Wreturn-type] } ^ deroff.c:838:16: warning: while loop has empty body [-Wempty-body] else { SKIP; c='\n'; continue;} ^ deroff.c:838:16: note: put the semicolon on a separate line to silence this warning deroff.c:842:16: warning: while loop has empty body [-Wempty-body] else { SKIP; c='\n';continue; } ^ deroff.c:842:16: note: put the semicolon on a separate line to silence this warning 27 warnings generated. ld: warning: option -s is obsolete and being ignored ---- Making all in directory index/mptx ---- ---- Making all in directory index/ndx ---- cp ndx.sh ndx; chmod 755 ndx clang -O -DBSD4_2 -c case.c case.c:18:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ulcase (string) ^ 1 warning generated. lex ndexer.l clang -O -DBSD4_2 -c -o ndexer.o lex.yy.c ndexer.l:130:2: warning: implicit declaration of function 'copy_in' is invalid in C99 [-Wimplicit-function-declaration] {copy_in (yytext); ^ ndexer.l:136:7: warning: implicit declaration of function 'w_activate' is invalid in C99 [-Wimplicit-function-declaration] w_activate (w_ptr, 'L'); /*lit match*/ ^ ndexer.l:139:15: warning: implicit declaration of function 'ulcase' is invalid in C99 [-Wimplicit-function-declaration] if (ulcase (lc_token)) ^ ndexer.l:146:7: warning: implicit declaration of function 'ulcase' is invalid in C99 [-Wimplicit-function-declaration] ulcase (root_token); ^ ndexer.l:147:18: warning: implicit declaration of function 'rootword' is invalid in C99 [-Wimplicit-function-declaration] root_token[rootword(root_token)] = '\0'; ^ ndexer.l:148:7: warning: implicit declaration of function 'match_roots' is invalid in C99 [-Wimplicit-function-declaration] match_roots (wlist, root_token); ^ ndexer.l:151:2: warning: implicit declaration of function 'copy_in' is invalid in C99 [-Wimplicit-function-declaration] {copy_in (yytext); ^ ndexer.l:155:10: warning: implicit declaration of function 'subj_search' is invalid in C99 [-Wimplicit-function-declaration] {subj_search (); ^ ndexer.l:156:10: warning: implicit declaration of function 'write_context' is invalid in C99 [-Wimplicit-function-declaration] write_context (); ^ ndexer.l:157:10: warning: implicit declaration of function 'wri_subjmacro' is invalid in C99 [-Wimplicit-function-declaration] wri_subjmacro (); ^ ndexer.l:158:10: warning: implicit declaration of function 'return_lists' is invalid in C99 [-Wimplicit-function-declaration] return_lists (); ^ ndexer.l:161:11: warning: implicit declaration of function 'init_vars' is invalid in C99 [-Wimplicit-function-declaration] {init_vars (); ^ ndexer.l:170:2: warning: implicit declaration of function 'flush_context' is invalid in C99 [-Wimplicit-function-declaration] {flush_context (); ^ ndexer.l:174:2: warning: implicit declaration of function 'flush_context' is invalid in C99 [-Wimplicit-function-declaration] {flush_context (); ^ ndexer.l:178:2: warning: implicit declaration of function 'copy_in' is invalid in C99 [-Wimplicit-function-declaration] {copy_in (yytext); ^ ndexer.l:181:10: warning: implicit declaration of function 'flush_context' is invalid in C99 [-Wimplicit-function-declaration] {flush_context (); ^ ndexer.l:185:2: warning: implicit declaration of function 'flush_context' is invalid in C99 [-Wimplicit-function-declaration] {flush_context (); ^ ndexer.l:188:2: warning: implicit declaration of function 'copy_in' is invalid in C99 [-Wimplicit-function-declaration] {copy_in (yytext); ^ ndexer.l:191:2: warning: implicit declaration of function 'copy_in' is invalid in C99 [-Wimplicit-function-declaration] {copy_in (yytext); /*footnote label*/ ^ ndexer.l:193:2: warning: implicit declaration of function 'copy_in' is invalid in C99 [-Wimplicit-function-declaration] {copy_in (yytext); /*font change*/ ^ ndexer.l:195:2: warning: implicit declaration of function 'copy_in' is invalid in C99 [-Wimplicit-function-declaration] {copy_in (yytext); /*size change*/ ^ ndexer.l:197:2: warning: implicit declaration of function 'copy_in' is invalid in C99 [-Wimplicit-function-declaration] {copy_in (yytext); /*escape seq*/ ^ ndexer.l:199:2: warning: implicit declaration of function 'flush_context' is invalid in C99 [-Wimplicit-function-declaration] {flush_context (); ^ ndexer.l:207:2: warning: implicit declaration of function 'flush_context' is invalid in C99 [-Wimplicit-function-declaration] {flush_context (); ^ ndexer.l:210:2: warning: implicit declaration of function 'copy_in' is invalid in C99 [-Wimplicit-function-declaration] {copy_in(yytext); ^ ndexer.l:212:2: warning: implicit declaration of function 'flush_context' is invalid in C99 [-Wimplicit-function-declaration] {flush_context (); ^ ndexer.l:213:5: warning: implicit declaration of function 'copy_in' is invalid in C99 [-Wimplicit-function-declaration] copy_in(yytext); ^ ndexer.l:215:2: warning: implicit declaration of function 'copy_in' is invalid in C99 [-Wimplicit-function-declaration] {copy_in (yytext); ^ ndexer.l:218:2: warning: implicit declaration of function 'flush_context' is invalid in C99 [-Wimplicit-function-declaration] {flush_context (); ^ ndexer.l:226:2: warning: implicit declaration of function 'flush_context' is invalid in C99 [-Wimplicit-function-declaration] {flush_context (); ^ ndexer.l:234:2: warning: implicit declaration of function 'flush_context' is invalid in C99 [-Wimplicit-function-declaration] {flush_context(); ^ ndexer.l:241:2: warning: implicit declaration of function 'copy_in' is invalid in C99 [-Wimplicit-function-declaration] {copy_in (yytext); ^ ndexer.l:254:8: warning: implicit declaration of function 'init_subj' is invalid in C99 [-Wimplicit-function-declaration] init_subj (s_count);} ^ ndexer.l:262:8: warning: implicit declaration of function 'build_subj' is invalid in C99 [-Wimplicit-function-declaration] build_subj (fsec);} ^ ndexer.l:272:9: warning: implicit declaration of function 'build_subj' is invalid in C99 [-Wimplicit-function-declaration] build_subj (fsec); ^ ndexer.l:282:9: warning: implicit declaration of function 'build_subj' is invalid in C99 [-Wimplicit-function-declaration] build_subj (fsec); ^ ndexer.l:293:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] init_subj (subjno) ^ ndexer.l:305:23: warning: non-void function does not return a value [-Wreturn-type] subject->nxts = NULL;} ^ ndexer.l:309:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] print_subj() /*For debugging, prints internal subj list*/ ^ ndexer.l:320:47: warning: format specifies type 'int' but the argument has type 'struct s_ele *' [-Wformat] subject->type, subject->ckd, subject->id, subject->sec); ^~~~~~~~~~~~ ndexer.l:325:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ndexer.l:339:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] build_subj ( flag) ^ ndexer.l:367:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ndexer.l:522:27: warning: implicit declaration of function 's_match' is invalid in C99 [-Wimplicit-function-declaration] while ((s != NULL) && (s_match(subject, s) == FALSE)) ^ ndexer.l:529:3: warning: implicit declaration of function 'w_update' is invalid in C99 [-Wimplicit-function-declaration] w_update (slist); /*update all words in this subj*/ ^ ndexer.l:539:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] s_match (subj1, subj2) ^ ndexer.l:564:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] w_update (s) ^ ndexer.l:586:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ndexer.l:593:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] prnt_slist () ^ ndexer.l:602:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ndexer.l:605:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] printtree (tree, c) ^ ndexer.l:615:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ndexer.l:624:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] w_activate (w_ptr, m_type) ^ ndexer.l:632:13: warning: implicit declaration of function 'already_act' is invalid in C99 [-Wimplicit-function-declaration] {if ((i = already_act (w_ptr)) != -1) ^ ndexer.l:645:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ndexer.l:656:47: warning: multiple unsequenced modifications to 'i' [-Wunsequenced] for (i = head[new_c]; i != tail[new_c]; i = (++i) MOD MAXACTIVE) ~ ^ ndexer.l:664:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] match_roots (tree, root) ^ ndexer.l:676:10: warning: implicit declaration of function 'min' is invalid in C99 [-Wimplicit-function-declaration] if (min (r_ptr->rootp, len) < 4) ^ ndexer.l:685:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ndexer.l:707:16: warning: implicit declaration of function 'min' is invalid in C99 [-Wimplicit-function-declaration] nchars = min (wptr->rootp, len); ^ ndexer.l:730:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] subj_search() ^ ndexer.l:794:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ndexer.l:799:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] copy_in (text) /*copies a string to the context buf*/ ^ ndexer.l:807:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ndexer.l:834:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] flush_context () ^ ndexer.l:838:4: warning: implicit declaration of function 'write_context' is invalid in C99 [-Wimplicit-function-declaration] write_context (); ^ ndexer.l:839:4: warning: implicit declaration of function 'wri_subjmacro' is invalid in C99 [-Wimplicit-function-declaration] wri_subjmacro (); ^ ndexer.l:840:4: warning: implicit declaration of function 'return_lists' is invalid in C99 [-Wimplicit-function-declaration] return_lists (); ^ ndexer.l:843:2: warning: implicit declaration of function 'init_vars' is invalid in C99 [-Wimplicit-function-declaration] init_vars (); ^ ndexer.l:844:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ndexer.l:847:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] write_context () ^ ndexer.l:865:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ndexer.l:870:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] wri_subjmacro () /*write subj indexing macros to pagefile and*/ ^ ndexer.l:884:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ndexer.l:889:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] return_lists () ^ ndexer.l:896:48: warning: multiple unsequenced modifications to 'i' [-Wunsequenced] for ( i = head[old_c]; i != tail[old_c]; i = (++i) MOD MAXACTIVE) ~ ^ ndexer.l:901:48: warning: multiple unsequenced modifications to 'i' [-Wunsequenced] for (i = head[new_c]; i != tail[new_c]; i = (++i) MOD MAXACTIVE) ~ ^ ndexer.l:904:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ndexer.l:909:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] init_vars () ^ ndexer.l:922:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ndexer.l:930:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] min (i, j) ^ ndexer.l:943:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] ndx_text (pfname) ^ ndexer.l:950:2: warning: 'tmpnam' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of tmpnam(3), it is highly recommended that you use mkstemp(3) instead. [-Wdeprecated-declarations] tmpnam (tmpbuf); ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/stdio.h:186:1: note: 'tmpnam' has been explicitly marked deprecated here __deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of tmpnam(3), it is highly recommended that you use mkstemp(3) instead.") ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:200:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg))) ^ ndexer.l:955:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ndexer.l:957:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] yywrap () ^ ndexer.l:992:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main (argc,argv) ^ 86 warnings generated. rm -f lex.yy.c clang -O -DBSD4_2 -c rootwd.c In file included from rootwd.c:13: ./ehash.h:133:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] egetd() ^ ./ehash.h:146:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ./ehash.h:159:11: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while (c = *cp++) ~~^~~~~~~ ./ehash.h:159:11: note: place parentheses around the assignment to silence this warning while (c = *cp++) ^ ( ) ./ehash.h:159:11: note: use '==' to turn this assignment into an equality comparison while (c = *cp++) ^ == rootwd.c:29:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] rootword (token) ^ rootwd.c:41:6: warning: implicit declaration of function 'string' is invalid in C99 [-Wimplicit-function-declaration] if (string (token, TOKSIZE)) /*if token is a string*/ { ^ rootwd.c:48:13: warning: implicit declaration of function 'except' is invalid in C99 [-Wimplicit-function-declaration] return (except(ed, token, len, 2)); ^ rootwd.c:166:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] except (endg, token, len, end) ^ rootwd.c:176:2: warning: implicit declaration of function 'strn_rev' is invalid in C99 [-Wimplicit-function-declaration] strn_rev (token, rtok, (len - end)); /*reverse string minus ending*/ ^ 8 warnings generated. clang -O -DBSD4_2 -c space.c clang -O -DBSD4_2 -c str.c clang -O -DBSD4_2 -c strr.c strr.c:19:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] strn_rev (str, rstr, n) ^ strr.c:35:1: warning: non-void function does not return a value [-Wreturn-type] } ^ 2 warnings generated. clang -O -DBSD4_2 -s case.o ndexer.o rootwd.o space.o str.o strr.o -o ndexer ld: warning: option -s is obsolete and being ignored clang -O -DBSD4_2 -s -o ndxformat ndxformat.c ndxformat.c:11:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main() ^ 1 warning generated. ld: warning: option -s is obsolete and being ignored clang -O -DBSD4_2 -s -o pages pages.c pages.c:20:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main(argc, argv) ^ pages.c:37:3: warning: implicit declaration of function 'procnosect' is invalid in C99 [-Wimplicit-function-declaration] procnosect(); ^ pages.c:40:3: warning: implicit declaration of function 'procsect' is invalid in C99 [-Wimplicit-function-declaration] procsect(); ^ pages.c:47:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] procnosect() ^ pages.c:85:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] procsect() ^ 5 warnings generated. ld: warning: option -s is obsolete and being ignored clang -O -DBSD4_2 -s -o sbjprep sbjprep.c sbjprep.c:16:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main(argc, argv) ^ 1 warning generated. ld: warning: option -s is obsolete and being ignored ---- Making all in directory index/ptx ---- clang -O -s -o ptx ptx.c ptx.c:82:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main(argc,argv) ^ ptx.c:125:6: warning: implicit declaration of function 'diag' is invalid in C99 [-Wimplicit-function-declaration] diag("Wrong width:",*optarg); ^ ptx.c:173:5: warning: implicit declaration of function 'diag' is invalid in C99 [-Wimplicit-function-declaration] diag("Too many filenames", empty); ^ ptx.c:210:4: warning: implicit declaration of function 'diag' is invalid in C99 [-Wimplicit-function-declaration] diag("Cannot open break char file",bfile); ^ ptx.c:223:3: warning: implicit declaration of function 'diag' is invalid in C99 [-Wimplicit-function-declaration] diag("Out of memory space",empty); ^ ptx.c:232:7: warning: implicit declaration of function 'storeh' is invalid in C99 [-Wimplicit-function-declaration] if(storeh(hash(strtbufp,bufp),strtbufp)) ^ ptx.c:232:14: warning: implicit declaration of function 'hash' is invalid in C99 [-Wimplicit-function-declaration] if(storeh(hash(strtbufp,bufp),strtbufp)) ^ ptx.c:260:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(pend=dwb_getline()) ~~~~^~~~~~~~~~~~~~ ptx.c:260:12: note: place parentheses around the assignment to silence this warning while(pend=dwb_getline()) ^ ( ) ptx.c:260:12: note: use '==' to turn this assignment into an equality comparison while(pend=dwb_getline()) ^ == ptx.c:261:3: warning: implicit declaration of function 'cmpline' is invalid in C99 [-Wimplicit-function-declaration] cmpline(pend); ^ ptx.c:280:2: warning: implicit declaration of function 'getsort' is invalid in C99 [-Wimplicit-function-declaration] getsort(); ^ ptx.c:290:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] diag(s,arg) ^ ptx.c:302:11: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register c; ~~~~~~~~ ^ ptx.c:335:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] cmpline(pend) ^ ptx.c:356:17: warning: implicit declaration of function 'hash' is invalid in C99 [-Wimplicit-function-declaration] hp = &hasht[hash(pstrt,pchar)]; ^ ptx.c:358:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(cp = *hp++){ ~~~^~~~~~~ ptx.c:358:14: note: place parentheses around the assignment to silence this warning while(cp = *hp++){ ^ ( ) ptx.c:358:14: note: use '==' to turn this assignment into an equality comparison while(cp = *hp++){ ^ == ptx.c:362:9: warning: implicit declaration of function 'cmpword' is invalid in C99 [-Wimplicit-function-declaration] if(cmpword(pstrt,pchar,cp)){ ^ ptx.c:365:8: warning: implicit declaration of function 'putline' is invalid in C99 [-Wimplicit-function-declaration] putline(pstrt,pend); ^ ptx.c:373:7: warning: implicit declaration of function 'putline' is invalid in C99 [-Wimplicit-function-declaration] putline(pstrt,pend); ^ ptx.c:380:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ptx.c:382:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] cmpword(cpp,pend,hpp) ^ ptx.c:396:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] putline(strt, end) ^ ptx.c:410:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ptx.c:412:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] getsort() ^ ptx.c:414:11: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] register c; ~~~~~~~~ ^ ptx.c:458:4: warning: implicit declaration of function 'putout' is invalid in C99 [-Wimplicit-function-declaration] putout(p1a,p1b); ^ ptx.c:490:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ptx.c:518:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] putout(strt,end) ^ ptx.c:528:1: warning: non-void function does not return a value [-Wreturn-type] } ^ ptx.c:538:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] hash(strtp,endp) ^ ptx.c:565:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] storeh(num,strtp) ^ 30 warnings generated. ld: warning: option -s is obsolete and being ignored ---- Making all in directory index/subj ---- cp subj.sh subj; chmod 755 subj cp parts.sh parts; chmod 755 parts lex sbj1.l clang -O -c -o sbj1.o lex.yy.c sbj1.l:53:3: warning: implicit declaration of function 'skip' is invalid in C99 [-Wimplicit-function-declaration] { skip ('E');} ^ sbj1.l:54:2: warning: implicit declaration of function 'skip' is invalid in C99 [-Wimplicit-function-declaration] {skip ('T');} ^ sbj1.l:55:2: warning: implicit declaration of function 'skip' is invalid in C99 [-Wimplicit-function-declaration] {skip ('P');} ^ sbj1.l:56:2: warning: implicit declaration of function 'skip' is invalid in C99 [-Wimplicit-function-declaration] {skip ('G');} ^ sbj1.l:57:2: warning: implicit declaration of function 'skip' is invalid in C99 [-Wimplicit-function-declaration] {skip ('F');} ^ sbj1.l:58:2: warning: implicit declaration of function 'skip' is invalid in C99 [-Wimplicit-function-declaration] {skip ('D');} ^ sbj1.l:59:2: warning: implicit declaration of function 'skip' is invalid in C99 [-Wimplicit-function-declaration] {skip ('N');} ^ sbj1.l:60:2: warning: implicit declaration of function 'skip' is invalid in C99 [-Wimplicit-function-declaration] {skip ('L');} ^ sbj1.l:85:7: warning: implicit declaration of function 'italic_arg' is invalid in C99 [-Wimplicit-function-declaration] {italic_arg(); ^ sbj1.l:91:7: warning: implicit declaration of function 'italic_arg' is invalid in C99 [-Wimplicit-function-declaration] {italic_arg(); ^ sbj1.l:243:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] skip (type) ^ sbj1.l:264:1: warning: non-void function does not return a value [-Wreturn-type] } ^ sbj1.l:281:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] italic_arg() ^ sbj1.l:321:1: warning: non-void function does not return a value [-Wreturn-type] } ^ sbj1.l:327:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] main (argc, argv) ^ 15 warnings generated. rm -f lex.yy.c clang -O -s sbj1.o -o sbj1 -lfl ld: warning: option -s is obsolete and being ignored ld: library not found for -lfl clang: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. bmake[2]: stopped in /opt/work/textproc/DWB/work/DWB3.3-20150517/index/subj *** Error code 1 Stop. bmake[1]: stopped in /opt/work/textproc/DWB/work/DWB3.3-20150517/index *** Error code 1 Stop. bmake: stopped in /opt/work/textproc/DWB/work/DWB3.3-20150517 *** Error code 1 Stop. bmake[1]: stopped in /opt/pkgsrc/textproc/DWB *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/textproc/DWB