===> Building for DWB-20150517nb1
CXX=clang++ LEX=lex ./cfgr
C++ compiler: /Users/pbulk/build/textproc/DWB/work/.cwrapper/bin/clang++
Lexer: /Users/pbulk/build/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 -pipe -Os -L/opt/pkg/lib -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.

---- Making all in directory index/mptx ----

---- Making all in directory index/ndx ----
cp ndx.sh ndx; chmod 755 ndx
clang -pipe -Os -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 -pipe -Os -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:292:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
init_subj (subjno)
^
ndexer.l:304:23: warning: non-void function does not return a value [-Wreturn-type]
        subject->nxts = NULL;}
                             ^
ndexer.l:308:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
print_subj()                    /*For debugging, prints internal subj list*/
^
ndexer.l:319: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:324:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
ndexer.l:338:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
build_subj ( flag)
^
ndexer.l:366:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
ndexer.l:521: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:528: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:538:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
s_match (subj1, subj2)
^
ndexer.l:563:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
w_update (s)
^
ndexer.l:585:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
ndexer.l:592:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
prnt_slist ()
^
ndexer.l:601:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
ndexer.l:604:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
printtree (tree, c)
^
ndexer.l:614:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
ndexer.l:623:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
w_activate (w_ptr, m_type)
^
ndexer.l:631:13: warning: implicit declaration of function 'already_act' is invalid in C99 [-Wimplicit-function-declaration]
                {if ((i = already_act (w_ptr)) != -1)
                          ^
ndexer.l:644:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
ndexer.l:655:47: warning: multiple unsequenced modifications to 'i' [-Wunsequenced]
        for (i = head[new_c]; i != tail[new_c]; i = (++i) MOD MAXACTIVE)
                                                  ~  ^
ndexer.l:663:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
match_roots (tree, root)
^
ndexer.l:675:10: warning: implicit declaration of function 'min' is invalid in C99 [-Wimplicit-function-declaration]
            if (min (r_ptr->rootp, len) < 4)
                ^
ndexer.l:684:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
ndexer.l:706:16: warning: implicit declaration of function 'min' is invalid in C99 [-Wimplicit-function-declaration]
                    nchars = min (wptr->rootp, len);
                             ^
ndexer.l:729:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
subj_search()
^
ndexer.l:793:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
ndexer.l:798:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
copy_in (text)                  /*copies a string to the context buf*/
^
ndexer.l:806:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
ndexer.l:833:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
flush_context ()
^
ndexer.l:837:4: warning: implicit declaration of function 'write_context' is invalid in C99 [-Wimplicit-function-declaration]
                 write_context ();
                 ^
ndexer.l:838:4: warning: implicit declaration of function 'wri_subjmacro' is invalid in C99 [-Wimplicit-function-declaration]
                 wri_subjmacro ();
                 ^
ndexer.l:839:4: warning: implicit declaration of function 'return_lists' is invalid in C99 [-Wimplicit-function-declaration]
                 return_lists ();
                 ^
ndexer.l:842:2: warning: implicit declaration of function 'init_vars' is invalid in C99 [-Wimplicit-function-declaration]
        init_vars ();
        ^
ndexer.l:843:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
ndexer.l:846:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
write_context ()
^
ndexer.l:864:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
ndexer.l:869:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
wri_subjmacro ()                /*write subj indexing macros to pagefile and*/
^
ndexer.l:883:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
ndexer.l:888:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
return_lists ()
^
ndexer.l:895:48: warning: multiple unsequenced modifications to 'i' [-Wunsequenced]
        for ( i = head[old_c]; i != tail[old_c]; i = (++i) MOD MAXACTIVE)
                                                   ~  ^
ndexer.l:900:48: warning: multiple unsequenced modifications to 'i' [-Wunsequenced]
                for (i = head[new_c]; i != tail[new_c]; i = (++i) MOD MAXACTIVE)
                                                          ~  ^
ndexer.l:903:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
ndexer.l:908:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
init_vars ()
^
ndexer.l:921:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
ndexer.l:929:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
min (i, j)
^
ndexer.l:942:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
ndx_text (pfname)
^
ndexer.l:949: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-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.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-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg'
        #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
                                                      ^
ndexer.l:954:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
ndexer.l:956:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
yywrap ()
^
ndexer.l:991:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main (argc,argv)
^
86 warnings generated.
rm -f lex.yy.c
clang -pipe -Os -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 -pipe -Os -DBSD4_2  -c space.c
clang -pipe -Os -DBSD4_2  -c str.c
clang -pipe -Os -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 -pipe -Os -DBSD4_2 -L/opt/pkg/lib case.o ndexer.o rootwd.o space.o str.o strr.o -o ndexer
clang -pipe -Os -DBSD4_2  -L/opt/pkg/lib -o ndxformat ndxformat.c 
ndxformat.c:11:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main()
^
1 warning generated.
clang -pipe -Os -DBSD4_2  -L/opt/pkg/lib -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.
clang -pipe -Os -DBSD4_2  -L/opt/pkg/lib -o sbjprep sbjprep.c 
sbjprep.c:16:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main(argc, argv)
^
1 warning generated.

---- Making all in directory index/ptx ----
clang -pipe -Os -L/opt/pkg/lib -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.

---- Making all in directory index/subj ----
cp subj.sh subj; chmod 755 subj
cp parts.sh parts; chmod 755 parts
lex  sbj1.l
clang -pipe -Os  -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:242:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
skip (type)
^
sbj1.l:263:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
sbj1.l:280:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
italic_arg()
^
sbj1.l:320:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
sbj1.l:326:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main (argc, argv)
^
15 warnings generated.
rm -f lex.yy.c
clang -pipe -Os -L/opt/pkg/lib sbj1.o -o sbj1 -lfl
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 making "all" in /Users/pbulk/build/textproc/DWB/work/DWB3.3-20150517/index/subj
*** Error code 1

Stop.
bmake[1]: stopped making "all" in /Users/pbulk/build/textproc/DWB/work/DWB3.3-20150517/index
*** Error code 1

Stop.
bmake: stopped making "all" in /Users/pbulk/build/textproc/DWB/work/DWB3.3-20150517
*** Error code 1

Stop.
bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/textproc/DWB
*** Error code 1

Stop.
bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/textproc/DWB