=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for omega-0.90.4nb4 /usr/pkg/bin/bmake genclr cc -O2 -march=i586 -I/usr/include -DBSD -DOMEGALIB=\"/usr/pkg/share/omega/\" -I/usr/include -c genclr.c genclr.c:125:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (; c = *p; p++) { ~~^~~~ genclr.c:125:14: note: place parentheses around the assignment to silence this warning for (; c = *p; p++) { ^ ( ) genclr.c:125:14: note: use '==' to turn this assignment into an equality comparison for (; c = *p; p++) { ^ == genclr.c:128:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (start = p++; c = *p; p++) { ~~^~~~ genclr.c:128:22: note: place parentheses around the assignment to silence this warning for (start = p++; c = *p; p++) { ^ ( ) genclr.c:128:22: note: use '==' to turn this assignment into an equality comparison for (start = p++; c = *p; p++) { ^ == genclr.c:228:19: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] for (p = line; p = strstr (p, PREFIX);) { ~~^~~~~~~~~~~~~~~~~~~~ genclr.c:228:19: note: place parentheses around the assignment to silence this warning for (p = line; p = strstr (p, PREFIX);) { ^ ( ) genclr.c:228:19: note: use '==' to turn this assignment into an equality comparison for (p = line; p = strstr (p, PREFIX);) { ^ == 3 warnings generated. cc -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib genclr.o -o genclr cc -E -O2 -march=i586 -I/usr/include -DBSD -DOMEGALIB=\"/usr/pkg/share/omega/\" -DOMEGA_CLRGEN *.[ch] | ./genclr clrgen.c clrgen.h cc -O2 -march=i586 -I/usr/include -DBSD -DOMEGALIB=\"/usr/pkg/share/omega/\" -I/usr/include -c omega.c omega.c:311:3: warning: implicit declaration of function 'omega_title' is invalid in C99 [-Wimplicit-function-declaration] omega_title(); ^ 1 warning generated. cc -O2 -march=i586 -I/usr/include -DBSD -DOMEGALIB=\"/usr/pkg/share/omega/\" -I/usr/include -c abyss.c cc -O2 -march=i586 -I/usr/include -DBSD -DOMEGALIB=\"/usr/pkg/share/omega/\" -I/usr/include -c aux1.c cc -O2 -march=i586 -I/usr/include -DBSD -DOMEGALIB=\"/usr/pkg/share/omega/\" -I/usr/include -c aux2.c aux2.c:623:6: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] char dir; ^ ./extern.h:62:30: note: previous declaration is here char *actionlocstr ARGS((char)); ^ ./extern.h:5:17: note: expanded from macro 'ARGS' #define ARGS(x) x ^ aux2.c:690:6: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] char hitloc; ^ ./extern.h:64:30: note: previous declaration is here int player_hit ARGS((int,char,struct monster *)); ^ ./extern.h:5:17: note: expanded from macro 'ARGS' #define ARGS(x) x ^ aux2.c:789:6: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] char new_environment; ^ ./extern.h:67:35: note: previous declaration is here void change_environment ARGS((char)); ^ ./extern.h:5:17: note: expanded from macro 'ARGS' #define ARGS(x) x ^ 3 warnings generated. cc -O2 -march=i586 -I/usr/include -DBSD -DOMEGALIB=\"/usr/pkg/share/omega/\" -I/usr/include -c aux3.c cc -O2 -march=i586 -I/usr/include -DBSD -DOMEGALIB=\"/usr/pkg/share/omega/\" -I/usr/include -c char.c cc -O2 -march=i586 -I/usr/include -DBSD -DOMEGALIB=\"/usr/pkg/share/omega/\" -I/usr/include -c city.c cc -O2 -march=i586 -I/usr/include -DBSD -DOMEGALIB=\"/usr/pkg/share/omega/\" -I/usr/include -c clrgen.c cc -O2 -march=i586 -I/usr/include -DBSD -DOMEGALIB=\"/usr/pkg/share/omega/\" -I/usr/include -c command1.c cc -O2 -march=i586 -I/usr/include -DBSD -DOMEGALIB=\"/usr/pkg/share/omega/\" -I/usr/include -c command2.c command2.c:1020:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 1 warning generated. cc -O2 -march=i586 -I/usr/include -DBSD -DOMEGALIB=\"/usr/pkg/share/omega/\" -I/usr/include -c command3.c cc -O2 -march=i586 -I/usr/include -DBSD -DOMEGALIB=\"/usr/pkg/share/omega/\" -I/usr/include -c country.c cc -O2 -march=i586 -I/usr/include -DBSD -DOMEGALIB=\"/usr/pkg/share/omega/\" -I/usr/include -c effect1.c effect1.c:467:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 1 warning generated. cc -O2 -march=i586 -I/usr/include -DBSD -DOMEGALIB=\"/usr/pkg/share/omega/\" -I/usr/include -c effect2.c cc -O2 -march=i586 -I/usr/include -DBSD -DOMEGALIB=\"/usr/pkg/share/omega/\" -I/usr/include -c effect3.c cc -O2 -march=i586 -I/usr/include -DBSD -DOMEGALIB=\"/usr/pkg/share/omega/\" -I/usr/include -c etc.c cc -O2 -march=i586 -I/usr/include -DBSD -DOMEGALIB=\"/usr/pkg/share/omega/\" -I/usr/include -c env.c cc -O2 -march=i586 -I/usr/include -DBSD -DOMEGALIB=\"/usr/pkg/share/omega/\" -I/usr/include -c file.c file.c:470:6: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] char mode; ^ ./extern.h:296:40: note: previous declaration is here int test_file_access ARGS((char *, char)); ^ ./extern.h:5:17: note: expanded from macro 'ARGS' #define ARGS(x) x ^ 1 warning generated. cc -O2 -march=i586 -I/usr/include -DBSD -DOMEGALIB=\"/usr/pkg/share/omega/\" -I/usr/include -c gen1.c gen1.c:41:35: warning: implicit declaration of function 'time' is invalid in C99 [-Wimplicit-function-declaration] dungeon_level->last_visited = time((long *) NULL); ^ gen1.c:66:6: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] char fromlevel,tolevel,rewrite_level; ^ ./extern.h:324:29: note: previous declaration is here void change_level ARGS((char,char,char)); ^ ./extern.h:5:17: note: expanded from macro 'ARGS' #define ARGS(x) x ^ gen1.c:66:16: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] char fromlevel,tolevel,rewrite_level; ^ ./extern.h:324:34: note: previous declaration is here void change_level ARGS((char,char,char)); ^ ./extern.h:5:17: note: expanded from macro 'ARGS' #define ARGS(x) x ^ gen1.c:66:24: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] char fromlevel,tolevel,rewrite_level; ^ ./extern.h:324:39: note: previous declaration is here void change_level ARGS((char,char,char)); ^ ./extern.h:5:17: note: expanded from macro 'ARGS' #define ARGS(x) x ^ gen1.c:142:6: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] char levelnum; ^ ./extern.h:320:40: note: previous declaration is here plv findlevel ARGS((struct level *,char)); ^ ./extern.h:5:17: note: expanded from macro 'ARGS' #define ARGS(x) x ^ gen1.c:165:6: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] char rsi; ^ ./extern.h:334:57: note: previous declaration is here void straggle_corridor ARGS((int,int,int,int,Symbol,char)); ^ ./extern.h:5:17: note: expanded from macro 'ARGS' #define ARGS(x) x ^ gen1.c:213:6: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] char rsi; ^ ./extern.h:326:62: note: previous declaration is here void corridor_crawl ARGS((int *,int *,int,int,int,Symbol,char)); ^ ./extern.h:5:17: note: expanded from macro 'ARGS' #define ARGS(x) x ^ gen1.c:324:6: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] char fromlevel; ^ ./extern.h:327:28: note: previous declaration is here void find_stairs ARGS((char,char)); ^ ./extern.h:5:17: note: expanded from macro 'ARGS' #define ARGS(x) x ^ gen1.c:325:6: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] char tolevel; ^ ./extern.h:327:33: note: previous declaration is here void find_stairs ARGS((char,char)); ^ ./extern.h:5:17: note: expanded from macro 'ARGS' #define ARGS(x) x ^ gen1.c:366:6: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] char rsi; ^ ./extern.h:322:46: note: previous declaration is here void build_square_room ARGS((int,int,int,char,int)); ^ ./extern.h:5:17: note: expanded from macro 'ARGS' #define ARGS(x) x ^ gen1.c:387:6: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] char rsi; ^ ./extern.h:321:39: note: previous declaration is here void build_room ARGS((int,int,int,char,int)); ^ ./extern.h:5:17: note: expanded from macro 'ARGS' #define ARGS(x) x ^ 11 warnings generated. cc -O2 -march=i586 -I/usr/include -DBSD -DOMEGALIB=\"/usr/pkg/share/omega/\" -I/usr/include -c gen2.c gen2.c:453:6: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] char rsi,num; ^ ./extern.h:348:46: note: previous declaration is here void maze_corridor ARGS((int,int,int,int,char,char)); ^ ./extern.h:5:17: note: expanded from macro 'ARGS' #define ARGS(x) x ^ gen2.c:453:10: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] char rsi,num; ^ ./extern.h:348:51: note: previous declaration is here void maze_corridor ARGS((int,int,int,int,char,char)); ^ ./extern.h:5:17: note: expanded from macro 'ARGS' #define ARGS(x) x ^ 2 warnings generated. cc -O2 -march=i586 -I/usr/include -DBSD -DOMEGALIB=\"/usr/pkg/share/omega/\" -I/usr/include -c guild1.c cc -O2 -march=i586 -I/usr/include -DBSD -DOMEGALIB=\"/usr/pkg/share/omega/\" -I/usr/include -c guild2.c guild2.c:192:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else { ^ 1 warning generated. cc -O2 -march=i586 -I/usr/include -DBSD -DOMEGALIB=\"/usr/pkg/share/omega/\" -I/usr/include -c house.c cc -O2 -march=i586 -I/usr/include -DBSD -DOMEGALIB=\"/usr/pkg/share/omega/\" -I/usr/include -c init.c cc -O2 -march=i586 -I/usr/include -DBSD -DOMEGALIB=\"/usr/pkg/share/omega/\" -I/usr/include -c inv.c inv.c:112:13: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'signed char' declared in a previous prototype [-Wknr-promoted-parameter] signed char key; ^ ./extern.h:375:36: note: previous declaration is here int key_to_index ARGS((signed char)); ^ ./extern.h:5:17: note: expanded from macro 'ARGS' #define ARGS(x) x ^ inv.c:216:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (Level->site[x][y].p_locf == L_VOID_STATION) ^ inv.c:615:6: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] char slotchar; ^ ./extern.h:381:25: note: previous declaration is here int badobject ARGS((char)); ^ ./extern.h:5:17: note: expanded from macro 'ARGS' #define ARGS(x) x ^ inv.c:749:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ inv.c:894:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 5 warnings generated. cc -O2 -march=i586 -I/usr/include -DBSD -DOMEGALIB=\"/usr/pkg/share/omega/\" -I/usr/include -c item.c cc -O2 -march=i586 -I/usr/include -DBSD -DOMEGALIB=\"/usr/pkg/share/omega/\" -I/usr/include -c itemf1.c cc -O2 -march=i586 -I/usr/include -DBSD -DOMEGALIB=\"/usr/pkg/share/omega/\" -I/usr/include -c itemf2.c cc -O2 -march=i586 -I/usr/include -DBSD -DOMEGALIB=\"/usr/pkg/share/omega/\" -I/usr/include -c itemf3.c itemf3.c:371:6: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] char element; ^ ./extern.h:556:24: note: previous declaration is here int orbcheck ARGS((char)); ^ ./extern.h:5:17: note: expanded from macro 'ARGS' #define ARGS(x) x ^ 1 warning generated. cc -O2 -march=i586 -I/usr/include -DBSD -DOMEGALIB=\"/usr/pkg/share/omega/\" -I/usr/include -c lev.c cc -O2 -march=i586 -I/usr/include -DBSD -DOMEGALIB=\"/usr/pkg/share/omega/\" -I/usr/include -c mmelee.c mmelee.c:57:6: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] char hitloc; ^ ./extern.h:609:47: note: previous declaration is here void monster_melee ARGS((struct monster *,char,int)); ^ ./extern.h:5:17: note: expanded from macro 'ARGS' #define ARGS(x) x ^ mmelee.c:191:6: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] char hitloc; ^ ./extern.h:607:44: note: previous declaration is here int monster_hit ARGS((struct monster *,char,int)); ^ ./extern.h:5:17: note: expanded from macro 'ARGS' #define ARGS(x) x ^ 2 warnings generated. cc -O2 -march=i586 -I/usr/include -DBSD -DOMEGALIB=\"/usr/pkg/share/omega/\" -I/usr/include -c mmove.c cc -O2 -march=i586 -I/usr/include -DBSD -DOMEGALIB=\"/usr/pkg/share/omega/\" -I/usr/include -c mon.c cc -O2 -march=i586 -I/usr/include -DBSD -DOMEGALIB=\"/usr/pkg/share/omega/\" -I/usr/include -c move.c move.c:511:5: warning: implicit declaration of function 'usleep' is invalid in C99 [-Wimplicit-function-declaration] usleep(250000); ^ 1 warning generated. cc -O2 -march=i586 -I/usr/include -DBSD -DOMEGALIB=\"/usr/pkg/share/omega/\" -I/usr/include -c movef.c cc -O2 -march=i586 -I/usr/include -DBSD -DOMEGALIB=\"/usr/pkg/share/omega/\" -I/usr/include -c mspec.c mspec.c:174:9: warning: implicit declaration of function 'icebolt' is invalid in C99 [-Wimplicit-function-declaration] icebolt(m->x,m->y,Player.x,Player.y,m->hit,30); ^ 1 warning generated. cc -O2 -march=i586 -I/usr/include -DBSD -DOMEGALIB=\"/usr/pkg/share/omega/\" -I/usr/include -c mstrike.c cc -O2 -march=i586 -I/usr/include -DBSD -DOMEGALIB=\"/usr/pkg/share/omega/\" -I/usr/include -c mtalk.c cc -O2 -march=i586 -I/usr/include -DBSD -DOMEGALIB=\"/usr/pkg/share/omega/\" -I/usr/include -c priest.c cc -O2 -march=i586 -I/usr/include -DBSD -DOMEGALIB=\"/usr/pkg/share/omega/\" -I/usr/include -c save.c cc -O2 -march=i586 -I/usr/include -DBSD -DOMEGALIB=\"/usr/pkg/share/omega/\" -I/usr/include -c scr.c scr.c:242:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] wprintw(Msg1w,s); ^ scr.c:253:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] wprintw(Msg1w,s); ^ scr.c:269:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] wprintw(Msg2w,s); ^ scr.c:280:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] wprintw(Msg2w,s); ^ scr.c:297:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] wprintw(Msg3w,s); ^ scr.c:308:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security] wprintw(Msg3w,s); ^ scr.c:342:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] wprintw(Msgw,s); ^ scr.c:759:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] wprintw(Timew,month()); ^~~~~~~ scr.c:761:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] wprintw(Timew,ordinal(day())); ^~~~~~~~~~~~~~ scr.c:828:6: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] char c; ^ ./extern.h:890:26: note: previous declaration is here void menuaddch ARGS((char)); ^ ./extern.h:5:17: note: expanded from macro 'ARGS' #define ARGS(x) x ^ scr.c:889:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] wprintw(Menuw,spellid(i)); ^~~~~~~~~~ scr.c:904:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security] wprintw(Menuw,s); ^ scr.c:946:5: warning: implicit declaration of function 'usleep' is invalid in C99 [-Wimplicit-function-declaration] usleep(150000); ^ scr.c:988:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security] wprintw(Locw,s); ^ scr.c:1110:6: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] char c; ^ ./extern.h:889:23: note: previous declaration is here void maddch ARGS((char)); ^ ./extern.h:5:17: note: expanded from macro 'ARGS' #define ARGS(x) x ^ scr.c:1124:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printw(Player.name); ^~~~~~~~~~~ scr.c:1129:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printw(Str4); ^~~~ scr.c:1147:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printw(Player.name); ^~~~~~~~~~~ scr.c:1173:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printw(Player.name); ^~~~~~~~~~~ scr.c:1192:10: warning: format string is not a string literal (potentially insecure) [-Wformat-security] printw(Player.name); ^~~~~~~~~~~ scr.c:1483:40: warning: data argument not used by format string [-Wformat-extra-args] wprintw(W,"-- Object 'up in air':",usechar); ~~~~~~~~~~~~~~~~~~~~~~~~ ^ scr.c:1533:18: warning: format string is not a string literal (potentially insecure) [-Wformat-security] else wprintw(W,itemid(Player.possessions[slotnum])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scr.c:1719:19: warning: format string is not a string literal (potentially insecure) [-Wformat-security] wprintw(Msg2w,Stringbuffer[i]); ^~~~~~~~~~~~~~~ 23 warnings generated. cc -O2 -march=i586 -I/usr/include -DBSD -DOMEGALIB=\"/usr/pkg/share/omega/\" -I/usr/include -c site1.c cc -O2 -march=i586 -I/usr/include -DBSD -DOMEGALIB=\"/usr/pkg/share/omega/\" -I/usr/include -c site2.c cc -O2 -march=i586 -I/usr/include -DBSD -DOMEGALIB=\"/usr/pkg/share/omega/\" -I/usr/include -c spell.c cc -O2 -march=i586 -I/usr/include -DBSD -DOMEGALIB=\"/usr/pkg/share/omega/\" -I/usr/include -c time.c cc -O2 -march=i586 -I/usr/include -DBSD -DOMEGALIB=\"/usr/pkg/share/omega/\" -I/usr/include -c trap.c cc -O2 -march=i586 -I/usr/include -DBSD -DOMEGALIB=\"/usr/pkg/share/omega/\" -I/usr/include -c util.c util.c:666:6: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'char' declared in a previous prototype [-Wknr-promoted-parameter] char c; ^ ./extern.h:1066:22: note: previous declaration is here int strmem ARGS((char,char *)); ^ ./extern.h:5:17: note: expanded from macro 'ARGS' #define ARGS(x) x ^ util.c:876:5: warning: implicit declaration of function 'setreuid' is invalid in C99 [-Wimplicit-function-declaration] setreuid(game_uid, user_uid); ^ 2 warnings generated. cc -O2 -march=i586 -I/usr/include -DBSD -DOMEGALIB=\"/usr/pkg/share/omega/\" -I/usr/include -c village.c cc -O2 -march=i586 -I/usr/include -DBSD -DOMEGALIB=\"/usr/pkg/share/omega/\" -I/usr/include -c compress.c compress.c:386:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] Usage() { ^~~~~ compress.c:393:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ compress.c:514:7: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' if (strcmp(*fileptr + strlen(*fileptr) - 1, "Z") != 0) { ^ compress.c:514:7: note: please include the header or explicitly provide a declaration for 'strcmp' compress.c:514:25: warning: implicitly declaring library function 'strlen' with type 'unsigned int (const char *)' if (strcmp(*fileptr + strlen(*fileptr) - 1, "Z") != 0) { ^ compress.c:514:25: note: please include the header or explicitly provide a declaration for 'strlen' compress.c:516:7: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' strcpy(tempname, *fileptr); ^ compress.c:516:7: note: please include the header or explicitly provide a declaration for 'strcpy' compress.c:517:7: warning: implicitly declaring library function 'strcat' with type 'char *(char *, const char *)' strcat(tempname, "Z"); ^ compress.c:517:7: note: please include the header or explicitly provide a declaration for 'strcat' compress.c:600:29: warning: implicit declaration of function 'isatty' is invalid in C99 [-Wimplicit-function-declaration] if (bgnd_flag == 0 && isatty(2)) { ^ compress.c:604:4: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration] read(2, response, 2); ^ compress.c:690:3: warning: implicit declaration of function 'writeerr' is invalid in C99 [-Wimplicit-function-declaration] writeerr(); ^ compress.c:712:5: warning: implicit declaration of function 'cl_hash' is invalid in C99 [-Wimplicit-function-declaration] cl_hash( (count_int) hsize_reg); /* clear hash table */ ^ compress.c:742:2: warning: implicit declaration of function 'output' is invalid in C99 [-Wimplicit-function-declaration] output ( (code_int) ent ); ^ compress.c:754:6: warning: implicit declaration of function 'cl_block' is invalid in C99 [-Wimplicit-function-declaration] cl_block (); ^ compress.c:780:2: warning: implicit declaration of function 'prratio' is invalid in C99 [-Wimplicit-function-declaration] prratio( stderr, in_count-bytes_out, in_count ); ^ compress.c:812:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] output( code ) ^~~~~~ compress.c:853:47: warning: '&' within '|' [-Wbitwise-op-parentheses] *bp = (*bp & rmask[r_off]) | (code << r_off) & lmask[r_off]; ~ ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ compress.c:853:47: note: place parentheses around the '&' expression to silence this warning *bp = (*bp & rmask[r_off]) | (code << r_off) & lmask[r_off]; ^ ( ) compress.c:929:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ compress.c:1103:16: warning: promoted type 'char *' of K&R function parameter is not compatible with the parameter type 'const char *' declared in a previous prototype [-Wknr-promoted-parameter] register char *s, c; ^ compress.c:1227:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] writeerr() ^~~~~~~~ compress.c:1230:5: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] unlink ( ofname ); ^ compress.c:1231:5: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' exit ( 1 ); ^ compress.c:1231:5: note: please include the header or explicitly provide a declaration for 'exit' compress.c:1268:2: warning: implicit declaration of function 'chown' is invalid in C99 [-Wimplicit-function-declaration] chown(ofname, statbuf.st_uid, statbuf.st_gid); /* Copy ownership */ ^ compress.c:1271:2: warning: implicit declaration of function 'utime' is invalid in C99 [-Wimplicit-function-declaration] utime(ofname, timep); /* Update last accessed and modified times */ ^ compress.c:1305:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] cl_block () /* table clear for block compress */ ^~~~~~~~ compress.c:1345:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ compress.c:1347:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] cl_hash(hsize) /* reset code table */ ^~~~~~~ compress.c:1397:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ compress.c:1399:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] prratio(stream, num, den) ^~~~~~~ compress.c:1415:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ 28 warnings generated. cc -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib omega.o abyss.o aux1.o aux2.o aux3.o char.o city.o clrgen.o command1.o command2.o command3.o country.o effect1.o effect2.o effect3.o etc.o env.o file.o gen1.o gen2.o guild1.o guild2.o house.o init.o inv.o item.o itemf1.o itemf2.o itemf3.o lev.o mmelee.o mmove.o mon.o move.o movef.o mspec.o mstrike.o mtalk.o priest.o save.o scr.o site1.o site2.o spell.o time.o trap.o util.o village.o compress.o -lcurses -o omega util.o: In function `change_to_user_perms': util.c:(.text+0x1fc9): undefined reference to `setreuid' util.o: In function `change_to_game_perms': util.c:(.text+0x1ff9): undefined reference to `setreuid' clang: error: linker command failed with exit code 1 (use -v to see invocation) *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/games/omega/work/omega *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/games/omega *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/games/omega