=> Bootstrap dependency digest>=20010302: found digest-20210928 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for pgraf-20010131nb1 --- all-metagens --- --- all-lolevels --- all ===> lolevels --- all-metagens --- all ===> metagens --- all-lolevels --- --- pg.o --- --- pghp.o --- --- pgtek.o --- --- all-metagens --- --- libpgc.a --- --- all-lolevels --- --- pg.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/X11R7/include -I../../include -I/usr/X11R7/include -c ../pgmain/pg.c --- all-metagens --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/X11R7/include -c pgc.c; mv pgc.o libpgc.a --- all-lolevels --- --- pghp.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/X11R7/include -I../../include -I/usr/X11R7/include -c pghp.c --- pgtek.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/X11R7/include -I../../include -I/usr/X11R7/include -c pgtek.c --- all-metagens --- pgc.c:20:1: warning: return type defaults to 'int' [-Wimplicit-int] gopen() ^~~~~ pgc.c: In function 'gopen': pgc.c:24:42: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] if ((pgraf = fopen(NAME,"w")) == NULL) exit(1); ^~~~ pgc.c:24:42: warning: incompatible implicit declaration of built-in function 'exit' pgc.c:24:42: note: include '' or provide a declaration of 'exit' pgc.c: At top level: pgc.c:33:1: warning: return type defaults to 'int' [-Wimplicit-int] gclose() ^~~~~~ pgc.c:39:1: warning: return type defaults to 'int' [-Wimplicit-int] gclear() ^~~~~~ pgc.c:45:1: warning: return type defaults to 'int' [-Wimplicit-int] gpause() ^~~~~~ pgc.c:51:1: warning: return type defaults to 'int' [-Wimplicit-int] badset(value) ^~~~~~ pgc.c:67:1: warning: return type defaults to 'int' [-Wimplicit-int] window(nw,xl,xh,yl,yh) ^~~~~~ pgc.c:83:1: warning: return type defaults to 'int' [-Wimplicit-int] axes(nw,sxl,sxh,ntx,xlabel,syl,syh,nty,ylabel) ^~~~ pgc.c:92:1: warning: return type defaults to 'int' [-Wimplicit-int] axesnoxy(nw,sxl,sxh,ntx,syl,syh,nty) ^~~~~~~~ pgc.c: In function 'axesnoxy': pgc.c:92:1: warning: type of 'ntx' defaults to 'int' [-Wimplicit-int] pgc.c:92:1: warning: type of 'nty' defaults to 'int' [-Wimplicit-int] pgc.c: At top level: pgc.c:99:1: warning: return type defaults to 'int' [-Wimplicit-int] axesnox(nw,sxl,sxh,ntx,syl,syh,nty,ylabel) ^~~~~~~ pgc.c: In function 'axesnox': pgc.c:99:1: warning: type of 'ntx' defaults to 'int' [-Wimplicit-int] pgc.c: At top level: pgc.c:107:1: warning: return type defaults to 'int' [-Wimplicit-int] axesnoy(nw,sxl,sxh,ntx,xlabel,syl,syh,nty) ^~~~~~~ pgc.c: In function 'axesnoy': pgc.c:107:1: warning: type of 'nty' defaults to 'int' [-Wimplicit-int] pgc.c: At top level: pgc.c:146:1: warning: return type defaults to 'int' [-Wimplicit-int] conto(nw,nx,ny,dz,ltype,v) ^~~~~ --- all-lolevels --- --- pghp.o --- pghp.c:9:1: warning: return type defaults to 'int' [-Wimplicit-int] pginit() ^~~~~~ pghp.c: In function 'pginit': pghp.c:12:3: warning: implicit declaration of function 'ginit'; did you mean 'pginit'? [-Wimplicit-function-declaration] ginit(); ^~~~~ pginit --- all-metagens --- pgc.c: In function 'conto': pgc.c:155:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ pgc.c:155:5: note: include '' or provide a declaration of 'exit' --- all-lolevels --- pghp.c:13:3: warning: implicit declaration of function 'gclear' [-Wimplicit-function-declaration] gclear(1); ^~~~~~ pghp.c: At top level: pghp.c:16:1: warning: return type defaults to 'int' [-Wimplicit-int] pgflsh() ^~~~~~ --- all-metagens --- pgc.c:165:3: warning: implicit declaration of function 'conto2'; did you mean 'conto'? [-Wimplicit-function-declaration] conto2(nw,nx,ny,dz,ltype,v,xloc,yloc); ^~~~~~ conto pgc.c: At top level: pgc.c:169:1: warning: return type defaults to 'int' [-Wimplicit-int] conto2(nw,nx,ny,dz,ltype,v,xloc,yloc) ^~~~~~ --- all-lolevels --- pghp.c: In function 'pgflsh': pghp.c:19:3: warning: implicit declaration of function 'flsh'; did you mean 'pgflsh'? [-Wimplicit-function-declaration] flsh(); ^~~~ pgflsh pghp.c: At top level: pghp.c:24:1: warning: return type defaults to 'int' [-Wimplicit-int] pgmove(x,y) ^~~~~~ pghp.c: In function 'pgmove': pghp.c:28:3: warning: implicit declaration of function 'penup' [-Wimplicit-function-declaration] penup(); ^~~~~ --- all-metagens --- pgc.c:208:1: warning: return type defaults to 'int' [-Wimplicit-int] fill(nw,nx,ny,dvl,dvh,ltype,v) ^~~~ pgc.c: In function 'fill': --- all-lolevels --- pghp.c:29:3: warning: implicit declaration of function 'plot' [-Wimplicit-function-declaration] plot(x,y); ^~~~ pghp.c: At top level: pghp.c:32:1: warning: return type defaults to 'int' [-Wimplicit-int] pgdraw(x,y,lt1) ^~~~~~ --- pgtek.o --- pgtek.c:13:1: warning: return type defaults to 'int' [-Wimplicit-int] pgmove(x,y) ^~~~~~ --- all-metagens --- pgc.c:217:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ pgc.c:217:5: note: include '' or provide a declaration of 'exit' --- all-lolevels --- --- pghp.o --- pghp.c: In function 'pgdraw': pghp.c:52:3: warning: implicit declaration of function 'ltype' [-Wimplicit-function-declaration] ltype(lcon[lt]); ^~~~~ --- pgtek.o --- pgtek.c: In function 'pgmove': pgtek.c:24:3: warning: implicit declaration of function 'calc'; did you mean 'scalb'? [-Wimplicit-function-declaration] calc(x,y,&xl,&xh,&yl,&yh); ^~~~ scalb pgtek.c: At top level: pgtek.c:30:1: warning: return type defaults to 'int' [-Wimplicit-int] pgdraw(x,y,l) ^~~~~~ --- all-metagens --- pgc.c:225:3: warning: implicit declaration of function 'fill2'; did you mean 'fill'? [-Wimplicit-function-declaration] fill2(nw,nx,ny,dvl,dvh,ltype,v,xloc,yloc); ^~~~~ fill pgc.c: At top level: pgc.c:229:1: warning: return type defaults to 'int' [-Wimplicit-int] fill2(nw,nx,ny,dvl,dvh,ltype,v,xloc,yloc) ^~~~~ --- all-lolevels --- --- pghp.o --- pghp.c:53:3: warning: implicit declaration of function 'pendn' [-Wimplicit-function-declaration] pendn(); ^~~~~ pghp.c: At top level: pghp.c:57:1: warning: return type defaults to 'int' [-Wimplicit-int] pgtext(x,y,text) ^~~~~~ --- pgtek.o --- pgtek.c: In function 'pgdraw': pgtek.c:62:5: warning: implicit declaration of function 'bklin' [-Wimplicit-function-declaration] bklin(x,y,ddx,ddy,linc,sinc); ^~~~~ --- pghp.o --- pghp.c: In function 'pgtext': pghp.c:62:3: warning: implicit declaration of function 'ontxt'; did you mean 'pgtext'? [-Wimplicit-function-declaration] ontxt(x,y,1,1); ^~~~~ pgtext --- all-metagens --- pgc.c:248:1: warning: return type defaults to 'int' [-Wimplicit-int] grid(nw,nx,ny,jx,jy,v) ^~~~ pgc.c: In function 'grid': pgc.c:257:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ pgc.c:257:5: note: include '' or provide a declaration of 'exit' --- all-lolevels --- --- pgtek.o --- pgtek.c:64:3: warning: implicit declaration of function 'cont'; did you mean 'cosl'? [-Wimplicit-function-declaration] cont(x,y); ^~~~ cosl pgtek.c: At top level: pgtek.c:67:1: warning: return type defaults to 'int' [-Wimplicit-int] bklin(x,y,ddx,ddy,linc,sinc) ^~~~~ --- pghp.o --- pghp.c:64:3: warning: implicit declaration of function 'offtxt'; did you mean 'off_t'? [-Wimplicit-function-declaration] offtxt(); ^~~~~~ off_t pghp.c: At top level: pghp.c:67:1: warning: return type defaults to 'int' [-Wimplicit-int] pginfo(dcx,dcy) ^~~~~~ --- all-metagens --- pgc.c:275:3: warning: implicit declaration of function 'grid2'; did you mean 'grid'? [-Wimplicit-function-declaration] grid2(nw,nx,ny,jx,jy,v,xloc,yloc); ^~~~~ grid pgc.c: At top level: pgc.c:279:1: warning: return type defaults to 'int' [-Wimplicit-int] grid2(nw,nx,ny,jx,jy,v,xloc,yloc) ^~~~~ --- all-lolevels --- pghp.c:75:1: warning: return type defaults to 'int' [-Wimplicit-int] hard() ^~~~ --- pgtek.o --- pgtek.c:127:1: warning: return type defaults to 'int' [-Wimplicit-int] cont(x,y) ^~~~ pgtek.c:145:1: warning: return type defaults to 'int' [-Wimplicit-int] pgtext(x,y,text) ^~~~~~ --- pghp.o --- pghp.c:89:1: warning: return type defaults to 'int' [-Wimplicit-int] ginit() ^~~~~ pghp.c:98:1: warning: return type defaults to 'int' [-Wimplicit-int] gclear(i) ^~~~~~ --- pgtek.o --- pgtek.c:156:1: warning: return type defaults to 'int' [-Wimplicit-int] pginit() ^~~~~~ pgtek.c:167:1: warning: return type defaults to 'int' [-Wimplicit-int] pgflsh() ^~~~~~ pgtek.c:180:1: warning: return type defaults to 'int' [-Wimplicit-int] pginfo(dcx,dcy) ^~~~~~ --- pghp.o --- pghp.c:112:1: warning: return type defaults to 'int' [-Wimplicit-int] flsh() ^~~~ --- pgtek.o --- pgtek.c:188:1: warning: return type defaults to 'int' [-Wimplicit-int] calc(x,y,xlc,xhc,ylc,yhc) ^~~~ --- all-metagens --- pgc.c:309:1: warning: return type defaults to 'int' [-Wimplicit-int] label(nw,sx,sy,text) ^~~~~ --- all-lolevels --- --- pghp.o --- pghp.c:119:1: warning: return type defaults to 'int' [-Wimplicit-int] penup() ^~~~~ pghp.c:129:1: warning: return type defaults to 'int' [-Wimplicit-int] pendn() ^~~~~ pghp.c:139:1: warning: return type defaults to 'int' [-Wimplicit-int] plot(x,y) ^~~~ --- all-metagens --- pgc.c:328:1: warning: return type defaults to 'int' [-Wimplicit-int] plabel(nw,sx,sy,sz,text) ^~~~~~ pgc.c:346:1: warning: return type defaults to 'int' [-Wimplicit-int] line(nw,ltype,num,x,y) ^~~~ pgc.c:358:1: warning: return type defaults to 'int' [-Wimplicit-int] mark(nw,mtype,x,y,size) ^~~~ pgc.c:367:1: warning: return type defaults to 'int' [-Wimplicit-int] scale(n,coarse,v,max,min) ^~~~~ --- all-lolevels --- pghp.c:159:1: warning: return type defaults to 'int' [-Wimplicit-int] ltype(ityp) ^~~~~ pghp.c:175:1: warning: return type defaults to 'int' [-Wimplicit-int] ontxt(x,y,isiz,ior) ^~~~~ --- all-metagens --- pgc.c:413:1: warning: return type defaults to 'int' [-Wimplicit-int] vscale(nw,nx,ny,x,y,sx,sy) ^~~~~~ pgc.c: In function 'vscale': pgc.c:413:1: warning: type of 'nw' defaults to 'int' [-Wimplicit-int] --- all-lolevels --- pghp.c:202:1: warning: return type defaults to 'int' [-Wimplicit-int] offtxt() ^~~~~~ --- all-metagens --- pgc.c: At top level: pgc.c:441:1: warning: return type defaults to 'int' [-Wimplicit-int] vector(nw,nx,ny,sx,sy,vx,vy) ^~~~~~ pgc.c: In function 'vector': pgc.c:450:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ pgc.c:450:5: note: include '' or provide a declaration of 'exit' pgc.c:458:3: warning: implicit declaration of function 'vector2'; did you mean 'vector'? [-Wimplicit-function-declaration] vector2(nw,nx,ny,sx,sy,vx,vy,xloc,yloc); ^~~~~~~ vector pgc.c: At top level: pgc.c:462:1: warning: return type defaults to 'int' [-Wimplicit-int] vector2(nw,nx,ny,sx,sy,vx,vy,xloc,yloc) ^~~~~~~ pgc.c:481:1: warning: return type defaults to 'int' [-Wimplicit-int] pview(nw,xp,yp,zp,xf,yf,zf,zoom) ^~~~~ pgc.c:490:1: warning: return type defaults to 'int' [-Wimplicit-int] paxes(nw,sxl,sxh,xstretch,xlabel,syl,syh,ystretch,ylabel, ^~~~~ pgc.c:511:1: warning: return type defaults to 'int' [-Wimplicit-int] psurface(nw,nx,ny,ltype,v,xvals,yvals) ^~~~~~~~ pgc.c:532:1: warning: return type defaults to 'int' [-Wimplicit-int] pline(nw,ltype,num,x,y,z) ^~~~~ pgc.c:547:1: warning: return type defaults to 'int' [-Wimplicit-int] pconto(nw,ltype,nx,ny,cval,v,orig,xa,ya) ^~~~~~ --- all-lolevels --- --- pg.o --- ../pgmain/pg.c:55:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc,argv) ^~~~ In file included from /usr/include/stdio.h:597:0, from ../pgmain/pg.c:12: ../pgmain/pg.c: In function 'main': ../pgmain/pg.c:76:36: warning: implicit declaration of function 'getpid'; did you mean 'grid'? [-Wimplicit-function-declaration] sprintf(tempfilename,"pgraf3.%d",getpid()); ^ ../pgmain/pg.c:112:7: warning: implicit declaration of function 'pginit'; did you mean 'panic'? [-Wimplicit-function-declaration] pginit(); ^~~~~~ panic ../pgmain/pg.c:138:9: warning: implicit declaration of function 'pgmove'; did you mean 'remove'? [-Wimplicit-function-declaration] pgmove(xl,yl); ^~~~~~ remove ../pgmain/pg.c:139:9: warning: implicit declaration of function 'pgdraw'; did you mean 'pdraw'? [-Wimplicit-function-declaration] pgdraw(xl,yh,1); ^~~~~~ pdraw ../pgmain/pg.c:179:9: warning: implicit declaration of function 'pgflsh'; did you mean 'fflush'? [-Wimplicit-function-declaration] pgflsh(); ^~~~~~ fflush ../pgmain/pg.c:181:9: warning: implicit declaration of function 'cexit'; did you mean 'exit'? [-Wimplicit-function-declaration] cexit(1); ^~~~~ exit ../pgmain/pg.c:356:7: warning: implicit declaration of function 'paxes'; did you mean 'axes'? [-Wimplicit-function-declaration] paxes(sxl,sxh,ntx,syl,syh,nty,szl,szh,ntz); ^~~~~ axes ../pgmain/pg.c:371:7: warning: implicit declaration of function 'project' [-Wimplicit-function-declaration] project(fx,fy,fz,&sx,&sy); ^~~~~~~ ../pgmain/pg.c:392:7: warning: implicit declaration of function 'surface' [-Wimplicit-function-declaration] surface(nx,ny,ltype); ^~~~~~~ ../pgmain/pg.c: At top level: ../pgmain/pg.c:418:1: warning: return type defaults to 'int' [-Wimplicit-int] cexit(status) ^~~~~ ../pgmain/pg.c: In function 'mark': ../pgmain/pg.c:731:5: warning: implicit declaration of function 'pginfo'; did you mean 'isinff'? [-Wimplicit-function-declaration] pginfo(&cdx,&cdy); /* size of symbol */ ^~~~~~ isinff ../pgmain/pg.c: In function 'axes': ../pgmain/pg.c:827:18: warning: implicit declaration of function 'pgtext'; did you mean 'cgetnext'? [-Wimplicit-function-declaration] if(dry == 1) pgtext(x1 - (strlen(value) + 1)*cdx,y,value,5); ^~~~~~ cgetnext ../pgmain/pg.c:827:31: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] if(dry == 1) pgtext(x1 - (strlen(value) + 1)*cdx,y,value,5); ^~~~~~ ../pgmain/pg.c:827:31: warning: incompatible implicit declaration of built-in function 'strlen' ../pgmain/pg.c:827:31: note: include '' or provide a declaration of 'strlen' ../pgmain/pg.c:846:34: warning: incompatible implicit declaration of built-in function 'strlen' if(drx == 1) pgtext(x - 0.5*(strlen(value) + 1)*cdx,y1 - 1.5*cdy,value,5); ^~~~~~ ../pgmain/pg.c:846:34: note: include '' or provide a declaration of 'strlen' ../pgmain/pg.c: In function 'grid': ../pgmain/pg.c:931:29: warning: incompatible implicit declaration of built-in function 'strlen' halflength = (float)strlen(vptr)/2.; ^~~~~~ ../pgmain/pg.c:931:29: note: include '' or provide a declaration of 'strlen' ../pgmain/pg.c: At top level: ../pgmain/pg.c:1427:1: warning: return type defaults to 'int' [-Wimplicit-int] project(bx,by,bz,x,y) ^~~~~~~ ../pgmain/pg.c:1443:1: warning: return type defaults to 'int' [-Wimplicit-int] pseg(xl,yl,zl,xh,yh,zh,ltype) ^~~~ ../pgmain/pg.c:1453:1: warning: return type defaults to 'int' [-Wimplicit-int] paxes(sxl,sxh,ntx,syl,syh,nty,szl,szh,ntz) ^~~~~ ../pgmain/pg.c:1487:1: warning: return type defaults to 'int' [-Wimplicit-int] surface(nx,ny,ltype) ^~~~~~~ --- pgx.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/X11R7/include -I../../include -I/usr/X11R7/include -c pgx.c --- pgfig.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/X11R7/include -I../../include -I/usr/X11R7/include -c pgfig.c pgfig.c:11:1: warning: return type defaults to 'int' [-Wimplicit-int] pginit() ^~~~~~ pgfig.c:17:1: warning: return type defaults to 'int' [-Wimplicit-int] pgflsh() ^~~~~~ pgfig.c:23:1: warning: return type defaults to 'int' [-Wimplicit-int] pgmove(x,y) ^~~~~~ pgfig.c:32:1: warning: return type defaults to 'int' [-Wimplicit-int] pgdraw(x,y,linetype) ^~~~~~ pgfig.c:61:1: warning: return type defaults to 'int' [-Wimplicit-int] pgtext(x,y,text) ^~~~~~ pgfig.c: In function 'pgtext': pgfig.c:66:15: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] while ((i = strlen(text)) > 0 && text[i - 1] < ' ') text[i - 1] = '\0'; ^~~~~~ pgfig.c:66:15: warning: incompatible implicit declaration of built-in function 'strlen' pgfig.c:66:15: note: include '' or provide a declaration of 'strlen' pgfig.c:73:22: warning: incompatible implicit declaration of built-in function 'strlen' ix2 = ix1 + 15*5.5*strlen(text); ^~~~~~ pgfig.c:73:22: note: include '' or provide a declaration of 'strlen' pgfig.c: At top level: pgfig.c:80:1: warning: return type defaults to 'int' [-Wimplicit-int] pginfo(dcx,dcy) ^~~~~~ --- pgx.o --- pgx.c:80:1: warning: return type defaults to 'int' [-Wimplicit-int] pginit() ^~~~~~ pgx.c: In function 'pginit': pgx.c:91:19: warning: implicit declaration of function 'atoi'; did you mean 'atan'? [-Wimplicit-function-declaration] linewidth = atoi(argvglobal[2]); ^~~~ atan pgx.c:97:11: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] if (strlen(argvglobal[1]) > 79) argvglobal[1][79] = '\0'; ^~~~~~ pgx.c:97:11: warning: incompatible implicit declaration of built-in function 'strlen' pgx.c:97:11: note: include '' or provide a declaration of 'strlen' pgx.c:98:7: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] strcpy(xfont,argvglobal[1]); ^~~~~~ pgx.c:98:7: warning: incompatible implicit declaration of built-in function 'strcpy' pgx.c:98:7: note: include '' or provide a declaration of 'strcpy' pgx.c:100:10: warning: incompatible implicit declaration of built-in function 'strcpy' else strcpy(xfont,DEF_FONT); ^~~~~~ pgx.c:100:10: note: include '' or provide a declaration of 'strcpy' pgx.c:105:7: warning: implicit declaration of function 'cexit'; did you mean 'ceil'? [-Wimplicit-function-declaration] cexit(1); ^~~~~ ceil pgx.c: At top level: pgx.c:204:1: warning: return type defaults to 'int' [-Wimplicit-int] pgflsh() ^~~~~~ pgx.c: In function 'pgflsh': pgx.c:210:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ pgx.c:210:5: warning: incompatible implicit declaration of built-in function 'exit' pgx.c:210:5: note: include '' or provide a declaration of 'exit' pgx.c:265:9: warning: implicit declaration of function 'nokeypressed'; did you mean 'KeyPress'? [-Wimplicit-function-declaration] if (nokeypressed(bnumber)) { ^~~~~~~~~~~~ KeyPress pgx.c: At top level: pgx.c:301:1: warning: return type defaults to 'int' [-Wimplicit-int] nokeypressed(button) ^~~~~~~~~~~~ pgx.c: In function 'nokeypressed': pgx.c:310:7: warning: implicit declaration of function 'iskey' [-Wimplicit-function-declaration] if (iskey(XK_a,key_vector)) { /* azimuth */ ^~~~~ pgx.c: At top level: pgx.c:337:1: warning: return type defaults to 'int' [-Wimplicit-int] iskey(sym,key_vector) ^~~~~ pgx.c:352:1: warning: return type defaults to 'int' [-Wimplicit-int] pgmove(x,y) ^~~~~~ pgx.c: In function 'pgmove': pgx.c:359:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ pgx.c:359:5: note: include '' or provide a declaration of 'exit' pgx.c: At top level: pgx.c:366:1: warning: return type defaults to 'int' [-Wimplicit-int] pgdraw(x,y,ltype) ^~~~~~ pgx.c: In function 'pgdraw': pgx.c:375:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ pgx.c:375:5: note: include '' or provide a declaration of 'exit' pgx.c:406:7: warning: implicit declaration of function 'abs' [-Wimplicit-function-declaration] if (abs(ixnew - ixold) > abs(iynew - iyold)) { ^~~ pgx.c:433:25: warning: implicit declaration of function 'mod'; did you mean 'fmod'? [-Wimplicit-function-declaration] XSetDashes(dpy,mygc,mod(phasepos,dpixels[0]),dash,dsegs[0]); ^~~ fmod pgx.c: At top level: pgx.c:448:1: warning: return type defaults to 'int' [-Wimplicit-int] pgtext(x,y,text) ^~~~~~ pgx.c: In function 'pgtext': pgx.c:458:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ pgx.c:458:5: note: include '' or provide a declaration of 'exit' pgx.c:462:12: warning: incompatible implicit declaration of built-in function 'strlen' nbytes = strlen(text); ^~~~~~ pgx.c:462:12: note: include '' or provide a declaration of 'strlen' pgx.c:466:3: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration] strncpy(buffer,text,100); ^~~~~~~ pgx.c:466:3: warning: incompatible implicit declaration of built-in function 'strncpy' pgx.c:466:3: note: include '' or provide a declaration of 'strncpy' pgx.c: At top level: pgx.c:482:1: warning: return type defaults to 'int' [-Wimplicit-int] pginfo(dcx,dcy) ^~~~~~ pgx.c: In function 'pginfo': pgx.c:489:5: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ pgx.c:489:5: note: include '' or provide a declaration of 'exit' --- pgps.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/X11R7/include -I../../include -I/usr/X11R7/include -c pgps.c pgps.c:147:1: warning: return type defaults to 'int' [-Wimplicit-int] pgtext(x,y,text) ^~~~~~ pgps.c: In function 'pgtext': pgps.c:166:7: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ pgps.c:166:7: warning: incompatible implicit declaration of built-in function 'exit' pgps.c:166:7: note: include '' or provide a declaration of 'exit' pgps.c:175:16: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] for (k=1; k<=strlen(text); k++) { ^~~~~~ pgps.c:175:16: warning: incompatible implicit declaration of built-in function 'strlen' pgps.c:175:16: note: include '' or provide a declaration of 'strlen' --- pgeps.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/X11R7/include -I../../include -I/usr/X11R7/include -c pgeps.c --- pgsps.o --- gcc -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/X11R7/include -I../../include -I/usr/X11R7/include -I/usr/X11R7/include -c pgsps.c --- pgeps.o --- pgeps.c:145:1: warning: return type defaults to 'int' [-Wimplicit-int] pgtext(x,y,text) ^~~~~~ pgeps.c: In function 'pgtext': pgeps.c:163:7: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ pgeps.c:163:7: warning: incompatible implicit declaration of built-in function 'exit' pgeps.c:163:7: note: include '' or provide a declaration of 'exit' pgeps.c:172:16: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] for (k=1; k<=strlen(text); k++) { ^~~~~~ pgeps.c:172:16: warning: incompatible implicit declaration of built-in function 'strlen' pgeps.c:172:16: note: include '' or provide a declaration of 'strlen' --- pgsps.o --- pgsps.c:145:1: warning: return type defaults to 'int' [-Wimplicit-int] pgtext(x,y,text) ^~~~~~ pgsps.c: In function 'pgtext': pgsps.c:164:7: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ pgsps.c:164:7: warning: incompatible implicit declaration of built-in function 'exit' pgsps.c:164:7: note: include '' or provide a declaration of 'exit' pgsps.c:173:16: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] for (k=1; k<=strlen(text); k++) { ^~~~~~ pgsps.c:173:16: warning: incompatible implicit declaration of built-in function 'strlen' pgsps.c:173:16: note: include '' or provide a declaration of 'strlen' --- pghp --- --- pgtek --- --- pgx --- --- pgps --- --- pghp --- gcc -o pghp pg.o pghp.o -lm --- pgtek --- gcc -o pgtek pg.o pgtek.o -lm --- pgps --- gcc -o pgps pg.o pgps.o -lm --- pgx --- gcc -Wl,-R/usr/X11R7/lib -L/usr/X11R7/lib -o pgx pg.o pgx.o -lX11 -lm --- pgsps --- gcc -o pgsps pg.o pgsps.o -lm --- pgeps --- --- pgfig --- --- pgeps --- gcc -o pgeps pg.o pgeps.o -lm --- pgfig --- gcc -o pgfig pg.o pgfig.o -lm --- system --- touch system