=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for xsoldier-0.96nb2 cc -O -I/usr/pkg/include -I /usr/X11R7/include -DWAIT=35000 -DSCORE=\"/var/games/\" -DPIXMAP=\"/usr/pkg/share/xsoldier\" -DSCOREFILE=\"xsoldier\" -I/usr/X11R7/include -c main.c main.c:189:24: warning: incompatible pointer types assigning to 'void (*)(int)' from 'void (void)' [-Wincompatible-pointer-types] sig_act.sa_handler = sig_handle; ^ ~~~~~~~~~~ 1 warning generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -DWAIT=35000 -DSCORE=\"/var/games/\" -DPIXMAP=\"/usr/pkg/share/xsoldier\" -DSCOREFILE=\"xsoldier\" -I/usr/X11R7/include -c game.c game.c:76:6: warning: implicit declaration of function 'pause' is invalid in C99 [-Wimplicit-function-declaration] pause(); ^ game.c:124:56: warning: implicitly declaring library function 'strlen' with type 'unsigned int (const char *)' XDrawString(dpy,WorkPixmap,FontGC,235,280,"Pause",strlen("Pause")); ^ game.c:124:56: note: include the header or explicitly provide a declaration for 'strlen' game.c:160:6: warning: implicit declaration of function 'ClearManage' is invalid in C99 [-Wimplicit-function-declaration] ClearManage(manage); ^ game.c:180:16: warning: implicit declaration of function 'random' is invalid in C99 [-Wimplicit-function-declaration] if (NewEnemy[random()%(manage->Stage+1)]((random()%FieldW)+1,0) != -1) ^ game.c:201:3: warning: '/*' within block comment [-Wcomment] /*** ɸԡ ***/ ^ game.c:204:7: warning: implicit declaration of function 'DelObj' is invalid in C99 [-Wimplicit-function-declaration] DelObj(manage->player[obj]); ^ game.c:217:3: warning: '/*' within block comment [-Wcomment] /*** ɸԡ ***/ ^ game.c:253:11: warning: implicitly declaring library function 'abs' with type 'int (int)' if (abs(manage->player[obj]->Data.X-manage->enemy[target]->Data.X) ^ game.c:253:11: note: include the header or explicitly provide a declaration for 'abs' 8 warnings generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -DWAIT=35000 -DSCORE=\"/var/games/\" -DPIXMAP=\"/usr/pkg/share/xsoldier\" -DSCOREFILE=\"xsoldier\" -I/usr/X11R7/include -c opening.c opening.c:36:6: warning: implicit declaration of function 'pause' is invalid in C99 [-Wimplicit-function-declaration] pause(); ^ opening.c:89:60: warning: implicitly declaring library function 'strlen' with type 'unsigned int (const char *)' XDrawString(dpy,WorkPixmap,FontGC,410,210,"Ver. " VERSION,strlen("Ver. " VERSION)); ^ opening.c:89:60: note: include the header or explicitly provide a declaration for 'strlen' 2 warnings generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -DWAIT=35000 -DSCORE=\"/var/games/\" -DPIXMAP=\"/usr/pkg/share/xsoldier\" -DSCOREFILE=\"xsoldier\" -I/usr/X11R7/include -c ending.c ending.c:62:6: warning: implicit declaration of function 'pause' is invalid in C99 [-Wimplicit-function-declaration] pause(); ^ ending.c:105:76: warning: implicitly declaring library function 'strlen' with type 'unsigned int (const char *)' XDrawString(dpy,WorkPixmap,FontGC,210,FieldH - count + 100*i,stuff[i][0],strlen(stuff[i][0])); ^ ending.c:105:76: note: include the header or explicitly provide a declaration for 'strlen' 2 warnings generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -DWAIT=35000 -DSCORE=\"/var/games/\" -DPIXMAP=\"/usr/pkg/share/xsoldier\" -DSCOREFILE=\"xsoldier\" -I/usr/X11R7/include -c manage.c manage.c:285:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ manage.c:305:22: warning: implicit declaration of function 'getuid' is invalid in C99 [-Wimplicit-function-declaration] if ((pw=getpwuid(getuid())) == NULL) ^ manage.c:308:9: warning: implicitly declaring library function 'strncpy' with type 'char *(char *, const char *, unsigned int)' strncpy(name,pw->pw_name,sizeof(name)); ^ manage.c:308:9: note: include the header or explicitly provide a declaration for 'strncpy' manage.c:312:30: warning: format string is not a string literal (potentially insecure) [-Wformat-security] sprintf(New->Rec[0].name,name); ^~~~ 4 warnings generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -DWAIT=35000 -DSCORE=\"/var/games/\" -DPIXMAP=\"/usr/pkg/share/xsoldier\" -DSCOREFILE=\"xsoldier\" -I/usr/X11R7/include -c player.c player.c:114:21: warning: implicit declaration of function 'random' is invalid in C99 [-Wimplicit-function-declaration] NewLargeBomb(my->X+random()%20-10,my->Y+random()%20-10); ^ player.c:436:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ 2 warnings generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -DWAIT=35000 -DSCORE=\"/var/games/\" -DPIXMAP=\"/usr/pkg/share/xsoldier\" -DSCOREFILE=\"xsoldier\" -I/usr/X11R7/include -c common.c common.c:89:10: warning: implicitly declaring library function 'abs' with type 'int (int)' uw = abs(sx-mx); ^ common.c:89:10: note: include the header or explicitly provide a declaration for 'abs' 1 warning generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -DWAIT=35000 -DSCORE=\"/var/games/\" -DPIXMAP=\"/usr/pkg/share/xsoldier\" -DSCOREFILE=\"xsoldier\" -I/usr/X11R7/include -c callback.c callback.c:49:6: warning: implicit declaration of function 'ShotToPoint' is invalid in C99 [-Wimplicit-function-declaration] ShotToPoint(my->X,my->Y,manage->player[0]->Data.X,manage->player[0]->Data.Y,5); ^ 1 warning generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -DWAIT=35000 -DSCORE=\"/var/games/\" -DPIXMAP=\"/usr/pkg/share/xsoldier\" -DSCOREFILE=\"xsoldier\" -I/usr/X11R7/include -c boss.c boss.c:110:23: warning: implicit declaration of function 'random' is invalid in C99 [-Wimplicit-function-declaration] NewBomb(my->X+random()%100-50,my->Y+random()%100-50); ^ boss.c:398:14: warning: implicitly declaring library function 'abs' with type 'int (int)' else if (abs(my->X-my->Cnt[3]) > 5 || abs(my->Y-my->Cnt[4]) > 5) ^ boss.c:398:14: note: include the header or explicitly provide a declaration for 'abs' 2 warnings generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -DWAIT=35000 -DSCORE=\"/var/games/\" -DPIXMAP=\"/usr/pkg/share/xsoldier\" -DSCOREFILE=\"xsoldier\" -I/usr/X11R7/include -c enemy.c enemy.c:51:30: warning: implicit declaration of function 'random' is invalid in C99 [-Wimplicit-function-declaration] manage->New.Data.Speed = random()%15 + 1; ^ enemy.c:366:6: warning: implicitly declaring library function 'abs' with type 'int (int)' if (abs(my->inertX+my->Cnt[0]) < 5) ^ enemy.c:366:6: note: include the header or explicitly provide a declaration for 'abs' 2 warnings generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -DWAIT=35000 -DSCORE=\"/var/games/\" -DPIXMAP=\"/usr/pkg/share/xsoldier\" -DSCOREFILE=\"xsoldier\" -I/usr/X11R7/include -c enemyshot.c enemyshot.c:60:16: warning: implicitly declaring library function 'abs' with type 'int (int)' int absx = abs(diffx); ^ enemyshot.c:60:16: note: include the header or explicitly provide a declaration for 'abs' enemyshot.c:270:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ 2 warnings generated. cc -O -I/usr/pkg/include -I /usr/X11R7/include -DWAIT=35000 -DSCORE=\"/var/games/\" -DPIXMAP=\"/usr/pkg/share/xsoldier\" -DSCOREFILE=\"xsoldier\" -I/usr/X11R7/include -c sin.c cc -O -I/usr/pkg/include -I /usr/X11R7/include -DWAIT=35000 -DSCORE=\"/var/games/\" -DPIXMAP=\"/usr/pkg/share/xsoldier\" -DSCOREFILE=\"xsoldier\" -I/usr/X11R7/include -c image.c cc -O -I/usr/pkg/include -I /usr/X11R7/include -DWAIT=35000 -DSCORE=\"/var/games/\" -DPIXMAP=\"/usr/pkg/share/xsoldier\" -DSCOREFILE=\"xsoldier\" -I/usr/X11R7/include -c star.c cc -O -I/usr/pkg/include -I /usr/X11R7/include -DWAIT=35000 -DSCORE=\"/var/games/\" -DPIXMAP=\"/usr/pkg/share/xsoldier\" -DSCOREFILE=\"xsoldier\" -I/usr/X11R7/include -c score.c bmake: don't know how to make /usr/pkg/lib/libXaw.a. Stop bmake: stopped in /usr/pkgsrc/work/games/xsoldier/work/xsoldier-0.96 *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/games/xsoldier *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/games/xsoldier