=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> 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 fbm-1.2 --- flalfb.o --- --- flblue.o --- --- flbyte.o --- --- flalfb.o --- gcc -O2 -c flalfb.c --- flblue.o --- gcc -O2 -c flblue.c --- flbyte.o --- gcc -O2 -c flbyte.c --- flalfb.o --- In file included from flalfb.c:34: fbm.h:117:7: warning: conflicting types for built-in function 'malloc'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch] fbm.h:1:1: note: 'malloc' is declared in header '' flalfb.c:47:1: warning: return type defaults to 'int' [-Wimplicit-int] flalfb.c: In function 'alloc_fbm': flalfb.c:51:9: warning: implicit declaration of function 'free_fbm' [-Wimplicit-function-declaration] flalfb.c:59:27: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] flalfb.c:35:1: note: include '' or provide a declaration of 'exit' flalfb.c:59:27: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] flalfb.c:59:27: note: include '' or provide a declaration of 'exit' flalfb.c: At top level: flalfb.c:68:1: warning: return type defaults to 'int' [-Wimplicit-int] flalfb.c: In function 'free_fbm': flalfb.c:72:5: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] flalfb.c:72:5: note: include '' or provide a declaration of 'free' flalfb.c:72:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] flalfb.c:72:5: note: include '' or provide a declaration of 'free' flalfb.c:75:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] flalfb.c:35:1: note: include '' or provide a declaration of 'free' --- flcavg.o --- gcc -O2 -c flcavg.c --- flbyte.o --- In file included from flbyte.c:41: fbm.h:117:7: warning: conflicting types for built-in function 'malloc'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch] fbm.h:1:1: note: 'malloc' is declared in header '' flbyte.c:79:1: warning: return type defaults to 'int' [-Wimplicit-int] flbyte.c:102:1: warning: return type defaults to 'int' [-Wimplicit-int] flbyte.c:123:1: warning: return type defaults to 'int' [-Wimplicit-int] flbyte.c:142:1: warning: return type defaults to 'int' [-Wimplicit-int] --- flclr.o --- gcc -O2 -c flclr.c --- flblue.o --- In file included from flblue.c:36: fbm.h:117:7: warning: conflicting types for built-in function 'malloc'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch] fbm.h:1:1: note: 'malloc' is declared in header '' flblue.c:57:1: warning: return type defaults to 'int' [-Wimplicit-int] flblue.c: In function 'bluenoise_fbm': flblue.c:74:3: warning: implicit declaration of function 'free_fbm' [-Wimplicit-function-declaration] flblue.c:81:3: warning: implicit declaration of function 'alloc_fbm' [-Wimplicit-function-declaration] --- fledge.o --- gcc -O2 -c fledge.c --- flcavg.o --- In file included from flcavg.c:36: fbm.h:117:7: warning: conflicting types for built-in function 'malloc'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch] fbm.h:1:1: note: 'malloc' is declared in header '' flcavg.c:51:1: warning: return type defaults to 'int' [-Wimplicit-int] flcavg.c: In function 'constravg_fbm': flcavg.c:72:3: warning: implicit declaration of function 'alloc_fbm' [-Wimplicit-function-declaration] --- flextr.o --- gcc -O2 -c flextr.c --- flclr.o --- In file included from flclr.c:32: fbm.h:117:7: warning: conflicting types for built-in function 'malloc'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch] fbm.h:1:1: note: 'malloc' is declared in header '' flclr.c:45:1: warning: return type defaults to 'int' [-Wimplicit-int] flclr.c: In function 'clr2gray': flclr.c:77:3: warning: implicit declaration of function 'alloc_fbm' [-Wimplicit-function-declaration] flclr.c: At top level: flclr.c:143:1: warning: return type defaults to 'int' [-Wimplicit-int] flclr.c:218:1: warning: return type defaults to 'int' [-Wimplicit-int] flclr.c:289:1: warning: return type defaults to 'int' [-Wimplicit-int] flclr.c: In function 'copy_clr': flclr.c:295:33: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] flclr.c:33:1: note: include '' or provide a declaration of 'free' flclr.c:295:33: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] flclr.c:295:33: note: include '' or provide a declaration of 'free' --- flface.o --- gcc -O2 -c flface.c --- flextr.o --- In file included from flextr.c:36: fbm.h:117:7: warning: conflicting types for built-in function 'malloc'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch] fbm.h:1:1: note: 'malloc' is declared in header '' flextr.c:49:1: warning: return type defaults to 'int' [-Wimplicit-int] flextr.c: In function 'extract_fbm': flextr.c:105:51: warning: 'strncpy' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] fbm.h:114:7: note: built-in 'strncpy' declared here flextr.c:110:55: warning: 'strncpy' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] fbm.h:114:7: note: built-in 'strncpy' declared here flextr.c:115:3: warning: implicit declaration of function 'alloc_fbm' [-Wimplicit-function-declaration] flextr.c:117:3: warning: implicit declaration of function 'copy_clr' [-Wimplicit-function-declaration] flextr.c:129:11: warning: implicit declaration of function 'extract_one'; did you mean 'extract_fbm'? [-Wimplicit-function-declaration] flextr.c:134:7: warning: implicit declaration of function 'free_fbm' [-Wimplicit-function-declaration] flextr.c: At top level: flextr.c:145:1: warning: return type defaults to 'int' [-Wimplicit-int] flextr.c: In function 'extract_one': flextr.c:145:1: warning: type of 'cols' defaults to 'int' [-Wimplicit-int] flextr.c:145:1: warning: type of 'rows' defaults to 'int' [-Wimplicit-int] flextr.c:179:11: warning: type defaults to 'int' in declaration of 'cntr' [-Wimplicit-int] --- flflyd.o --- gcc -O2 -c flflyd.c --- flface.o --- In file included from flface.c:35: fbm.h:117:7: warning: conflicting types for built-in function 'malloc'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch] fbm.h:1:1: note: 'malloc' is declared in header '' flface.c:47:1: warning: return type defaults to 'int' [-Wimplicit-int] flface.c: In function 'write_face': flface.c:56:3: warning: implicit declaration of function 'put_short'; did you mean 'get_short'? [-Wimplicit-function-declaration] flface.c: At top level: flface.c:82:1: warning: return type defaults to 'int' [-Wimplicit-int] flface.c: In function 'read_face': flface.c:125:3: warning: implicit declaration of function 'alloc_fbm' [-Wimplicit-function-declaration] --- flgifc.o --- gcc -O2 -c flgifc.c --- fledge.o --- In file included from fledge.c:34: fbm.h:117:7: warning: conflicting types for built-in function 'malloc'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch] fbm.h:1:1: note: 'malloc' is declared in header '' fledge.c:47:1: warning: return type defaults to 'int' [-Wimplicit-int] fledge.c: In function 'findedge_fbm': fledge.c:52:13: warning: implicit declaration of function 'findedge_bw'; did you mean 'findedge_fbm'? [-Wimplicit-function-declaration] fledge.c: At top level: fledge.c:61:1: warning: return type defaults to 'int' [-Wimplicit-int] fledge.c: In function 'findedge_bw': fledge.c:87:3: warning: implicit declaration of function 'alloc_fbm' [-Wimplicit-function-declaration] fledge.c: At top level: fledge.c:284:1: warning: return type defaults to 'int' [-Wimplicit-int] --- flgife.o --- gcc -O2 -c flgife.c --- flflyd.o --- In file included from flflyd.c:36: fbm.h:117:7: warning: conflicting types for built-in function 'malloc'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch] fbm.h:1:1: note: 'malloc' is declared in header '' flflyd.c:55:1: warning: return type defaults to 'int' [-Wimplicit-int] flflyd.c: In function 'floyd_fbm': flflyd.c:70:3: warning: implicit declaration of function 'free_fbm' [-Wimplicit-function-declaration] flflyd.c:77:3: warning: implicit declaration of function 'alloc_fbm' [-Wimplicit-function-declaration] --- flgifr.o --- gcc -O2 -c flgifr.c --- flgife.o --- flgife.c:52:8: warning: type defaults to 'int' in declaration of 'Putword' [-Wimplicit-int] flgife.c:66:1: warning: return type defaults to 'int' [-Wimplicit-int] flgife.c:121:1: warning: return type defaults to 'int' [-Wimplicit-int] flgife.c:140:1: warning: return type defaults to 'int' [-Wimplicit-int] flgife.c:310:1: warning: return type defaults to 'int' [-Wimplicit-int] --- flgifw.o --- gcc -O2 -c flgifw.c --- flgifc.o --- flgifc.c:162:8: warning: type defaults to 'int' in declaration of 'output' [-Wimplicit-int] flgifc.c:162:18: warning: type defaults to 'int' in declaration of 'cl_block' [-Wimplicit-int] flgifc.c:162:30: warning: type defaults to 'int' in declaration of 'cl_hash' [-Wimplicit-int] flgifc.c:162:41: warning: type defaults to 'int' in declaration of 'writeerr' [-Wimplicit-int] flgifc.c:162:53: warning: type defaults to 'int' in declaration of 'char_init' [-Wimplicit-int] flgifc.c:162:66: warning: type defaults to 'int' in declaration of 'char_out' [-Wimplicit-int] flgifc.c:163:2: warning: type defaults to 'int' in declaration of 'flush_char' [-Wimplicit-int] flgifc.c: In function 'compress': flgifc.c:202:11: warning: implicit declaration of function 'GIFNextPixel' [-Wimplicit-function-declaration] flgifc.c: At top level: flgifc.c:294:1: warning: return type defaults to 'int' [-Wimplicit-int] flgifc.c:356:1: warning: return type defaults to 'int' [-Wimplicit-int] flgifc.c:367:1: warning: return type defaults to 'int' [-Wimplicit-int] flgifc.c:402:1: warning: return type defaults to 'int' [-Wimplicit-int] flgifc.c: In function 'writeerr': flgifc.c:405:2: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] flgifc.c:96:1: note: include '' or provide a declaration of 'exit' flgifc.c:405:2: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] flgifc.c:405:2: note: include '' or provide a declaration of 'exit' flgifc.c: At top level: flgifc.c:423:1: warning: return type defaults to 'int' [-Wimplicit-int] flgifc.c:438:1: warning: return type defaults to 'int' [-Wimplicit-int] flgifc.c:450:1: warning: return type defaults to 'int' [-Wimplicit-int] --- fliff.o --- gcc -O2 -c fliff.c --- flgifw.o --- In file included from flgifw.c:43: fbm.h:117:7: warning: conflicting types for built-in function 'malloc'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch] fbm.h:1:1: note: 'malloc' is declared in header '' flgifw.c:56:1: warning: return type defaults to 'int' [-Wimplicit-int] flgifw.c: In function 'write_gif': flgifw.c:117:11: warning: implicit declaration of function 'GIFEncode' [-Wimplicit-function-declaration] flgifw.c: At top level: flgifw.c:132:1: warning: return type defaults to 'int' [-Wimplicit-int] --- flklnr.o --- gcc -O2 -c flklnr.c In file included from flklnr.c:33: fbm.h:117:7: warning: conflicting types for built-in function 'malloc'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch] fbm.h:1:1: note: 'malloc' is declared in header '' flklnr.c:46:1: warning: return type defaults to 'int' [-Wimplicit-int] flklnr.c: In function 'clean_fbm': flklnr.c:51:13: warning: implicit declaration of function 'clean_bw'; did you mean 'clean_fbm'? [-Wimplicit-function-declaration] flklnr.c: At top level: flklnr.c:60:1: warning: return type defaults to 'int' [-Wimplicit-int] flklnr.c: In function 'clean_bw': flklnr.c:81:3: warning: implicit declaration of function 'alloc_fbm' [-Wimplicit-function-declaration] flklnr.c:142:9: warning: implicit declaration of function 'abort' [-Wimplicit-function-declaration] flklnr.c:34:1: note: include '' or provide a declaration of 'abort' flklnr.c:142:9: warning: incompatible implicit declaration of built-in function 'abort' [-Wbuiltin-declaration-mismatch] flklnr.c:142:9: note: include '' or provide a declaration of 'abort' --- fliff.o --- In file included from fliff.c:34: fbm.h:117:7: warning: conflicting types for built-in function 'malloc'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch] fbm.h:1:1: note: 'malloc' is declared in header '' fliff.c:242:8: warning: return type defaults to 'int' [-Wimplicit-int] fliff.c:304:1: warning: return type defaults to 'int' [-Wimplicit-int] fliff.c: In function 'read_iff': fliff.c:322:7: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] fliff.c:35:1: note: include '' or provide a declaration of 'strcmp' fliff.c:323:9: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] fliff.c:323:9: note: include '' or provide a declaration of 'strncmp' fliff.c:323:32: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] : note: built-in 'strncmp' declared here fliff.c:324:25: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] : note: built-in 'strncmp' declared here fliff.c:325:25: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] : note: built-in 'strncmp' declared here fliff.c:352:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] fliff.c:35:1: note: include '' or provide a declaration of 'exit' fliff.c:352:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] fliff.c:352:5: note: include '' or provide a declaration of 'exit' fliff.c:356:12: warning: implicit declaration of function 'parse_form' [-Wimplicit-function-declaration] fliff.c:359:3: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] fliff.c:359:3: note: include '' or provide a declaration of 'free' fliff.c:359:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] fliff.c:359:3: note: include '' or provide a declaration of 'free' fliff.c: At top level: fliff.c:372:1: warning: return type defaults to 'int' [-Wimplicit-int] fliff.c: In function 'parse_form': fliff.c:397:20: warning: implicit declaration of function 'machine_byte_order' [-Wimplicit-function-declaration] fliff.c:440:7: warning: implicit declaration of function 'alloc_fbm' [-Wimplicit-function-declaration] fliff.c:493:15: warning: implicit declaration of function 'read_iff_body'; did you mean 'read_iff'? [-Wimplicit-function-declaration] fliff.c: At top level: fliff.c:504:1: warning: return type defaults to 'int' [-Wimplicit-int] fliff.c:591:1: warning: return type defaults to 'int' [-Wimplicit-int] fliff.c: In function 'write_iff': fliff.c:623:13: warning: implicit declaration of function 'build_bmhd' [-Wimplicit-function-declaration] fliff.c:624:13: warning: implicit declaration of function 'build_cmap' [-Wimplicit-function-declaration] fliff.c:625:13: warning: implicit declaration of function 'build_body' [-Wimplicit-function-declaration] fliff.c:632:3: warning: implicit declaration of function 'put_long'; did you mean 'get_long'? [-Wimplicit-function-declaration] fliff.c:661:13: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] fliff.c:35:1: note: include '' or provide a declaration of 'free' fliff.c:662:13: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] fliff.c:662:13: note: include '' or provide a declaration of 'free' fliff.c: At top level: fliff.c:671:1: warning: return type defaults to 'int' [-Wimplicit-int] fliff.c:708:1: warning: return type defaults to 'int' [-Wimplicit-int] fliff.c:740:1: warning: return type defaults to 'int' [-Wimplicit-int] --- flpbm.o --- --- flpcx.o --- --- flpbm.o --- gcc -O2 -c flpbm.c --- flpcx.o --- gcc -O2 -c flpcx.c --- flgifr.o --- In file included from flgifr.c:46: fbm.h:117:7: warning: conflicting types for built-in function 'malloc'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch] fbm.h:1:1: note: 'malloc' is declared in header '' flgifr.c:80:1: warning: return type defaults to 'int' [-Wimplicit-int] flgifr.c: In function 'read_gif': flgifr.c:102:7: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] flgifr.c:47:1: note: include '' or provide a declaration of 'strcmp' flgifr.c:154:3: warning: implicit declaration of function 'alloc_fbm' [-Wimplicit-function-declaration] flgifr.c:158:9: warning: implicit declaration of function 'ReadColorMap' [-Wimplicit-function-declaration] flgifr.c:172:11: warning: implicit declaration of function 'IgnoreExtention' [-Wimplicit-function-declaration] flgifr.c:182:7: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] flgifr.c:47:1: note: include '' or provide a declaration of 'exit' flgifr.c:182:7: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] flgifr.c:182:7: note: include '' or provide a declaration of 'exit' flgifr.c:202:7: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] flgifr.c:47:1: note: include '' or provide a declaration of 'exit' flgifr.c:230:11: warning: implicit declaration of function 'ReadInterlaced' [-Wimplicit-function-declaration] flgifr.c:238:11: warning: implicit declaration of function 'ReadRaster' [-Wimplicit-function-declaration] flgifr.c: At top level: flgifr.c:250:1: warning: return type defaults to 'int' [-Wimplicit-int] flgifr.c:274:1: warning: return type defaults to 'int' [-Wimplicit-int] flgifr.c: In function 'IgnoreExtention': flgifr.c:288:9: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] flgifr.c: At top level: flgifr.c:293:1: warning: return type defaults to 'int' [-Wimplicit-int] flgifr.c:343:1: warning: return type defaults to 'int' [-Wimplicit-int] flgifr.c:466:1: warning: return type defaults to 'int' [-Wimplicit-int] flgifr.c:529:1: warning: return type defaults to 'int' [-Wimplicit-int] --- flrdfb.o --- gcc -O2 -c flrdfb.c In file included from flrdfb.c:34: fbm.h:117:7: warning: conflicting types for built-in function 'malloc'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch] fbm.h:1:1: note: 'malloc' is declared in header '' flrdfb.c:46:1: warning: return type defaults to 'int' [-Wimplicit-int] flrdfb.c: In function 'read_fbm': flrdfb.c:54:8: warning: implicit declaration of function 'read_hdr_fbm'; did you mean 'read_fbm'? [-Wimplicit-function-declaration] flrdfb.c:57:3: warning: implicit declaration of function 'alloc_fbm' [-Wimplicit-function-declaration] flrdfb.c: At top level: flrdfb.c:87:1: warning: return type defaults to 'int' [-Wimplicit-int] flrdfb.c: In function 'read_hdr_fbm': flrdfb.c:97:36: warning: 'strncpy' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] fbm.h:114:7: note: built-in 'strncpy' declared here flrdfb.c:102:7: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] flrdfb.c:35:1: note: include '' or provide a declaration of 'strncmp' flrdfb.c:102:43: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] : note: built-in 'strncmp' declared here flrdfb.c:107:21: warning: implicit declaration of function 'atoi'; did you mean 'atof'? [-Wimplicit-function-declaration] flrdfb.c:116:46: warning: 'strncpy' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] fbm.h:114:7: note: built-in 'strncpy' declared here flrdfb.c:117:50: warning: 'strncpy' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] fbm.h:114:7: note: built-in 'strncpy' declared here --- flread.o --- gcc -O2 -c flread.c --- flpbm.o --- In file included from flpbm.c:34: fbm.h:117:7: warning: conflicting types for built-in function 'malloc'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch] fbm.h:1:1: note: 'malloc' is declared in header '' flpbm.c:46:1: warning: return type defaults to 'int' [-Wimplicit-int] flpbm.c: In function 'read_pbm': flpbm.c:61:21: warning: implicit declaration of function 'pbm_getint' [-Wimplicit-function-declaration] flpbm.c:83:3: warning: implicit declaration of function 'alloc_fbm' [-Wimplicit-function-declaration] flpbm.c:99:9: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] flpbm.c:35:1: note: include '' or provide a declaration of 'strncmp' flpbm.c:99:32: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] : note: built-in 'strncmp' declared here flpbm.c: At top level: flpbm.c:124:1: warning: return type defaults to 'int' [-Wimplicit-int] flpbm.c: In function 'pbm_getint': flpbm.c:156:15: warning: implicit declaration of function 'atoi'; did you mean 'atof'? [-Wimplicit-function-declaration] flpbm.c: At top level: flpbm.c:171:1: warning: return type defaults to 'int' [-Wimplicit-int] --- flrot.o --- gcc -O2 -c flrot.c --- flpcx.o --- In file included from flpcx.c:35: fbm.h:117:7: warning: conflicting types for built-in function 'malloc'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch] fbm.h:1:1: note: 'malloc' is declared in header '' flpcx.c:93:1: warning: return type defaults to 'int' [-Wimplicit-int] flpcx.c: In function 'write_pcx': flpcx.c:143:7: warning: implicit declaration of function 'machine_byte_order' [-Wimplicit-function-declaration] flpcx.c:173:5: warning: implicit declaration of function 'writepcxrow'; did you mean 'write_pcx'? [-Wimplicit-function-declaration] flpcx.c:176:3: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] flpcx.c:36:1: note: include '' or provide a declaration of 'free' flpcx.c:176:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] flpcx.c:176:3: note: include '' or provide a declaration of 'free' flpcx.c: At top level: flpcx.c:188:1: warning: return type defaults to 'int' [-Wimplicit-int] flpcx.c: In function 'writepcxrow': flpcx.c:188:1: warning: type of 'len' defaults to 'int' [-Wimplicit-int] flpcx.c: At top level: flpcx.c:220:1: warning: return type defaults to 'int' [-Wimplicit-int] flpcx.c: In function 'read_pcx': flpcx.c:235:36: warning: 'strncpy' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] fbm.h:114:7: note: built-in 'strncpy' declared here flpcx.c:317:3: warning: implicit declaration of function 'alloc_fbm' [-Wimplicit-function-declaration] flpcx.c:345:9: warning: implicit declaration of function 'pcxline_read' [-Wimplicit-function-declaration] flpcx.c:348:7: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] flpcx.c:36:1: note: include '' or provide a declaration of 'free' flpcx.c:409:3: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] flpcx.c:36:1: note: include '' or provide a declaration of 'free' flpcx.c: At top level: flpcx.c:418:1: warning: return type defaults to 'int' [-Wimplicit-int] flpcx.c:437:1: warning: return type defaults to 'int' [-Wimplicit-int] flpcx.c: In function 'pcxline_read': flpcx.c:437:1: warning: type of 'enc' defaults to 'int' [-Wimplicit-int] --- flshrp.o --- gcc -O2 -c flshrp.c --- flread.o --- In file included from flread.c:32: fbm.h:117:7: warning: conflicting types for built-in function 'malloc'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch] fbm.h:1:1: note: 'malloc' is declared in header '' flread.c:56:1: warning: return type defaults to 'int' [-Wimplicit-int] flread.c: In function 'read_bitmap': flread.c:64:42: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] flread.c:33:1: note: include '' or provide a declaration of 'strcmp' flread.c:77:11: warning: implicit declaration of function 'lseek'; did you mean 'fseek'? [-Wimplicit-function-declaration] flread.c:95:24: warning: implicit declaration of function 'read_face' [-Wimplicit-function-declaration] flread.c:96:24: warning: implicit declaration of function 'read_fbm' [-Wimplicit-function-declaration] flread.c:97:25: warning: implicit declaration of function 'read_sun' [-Wimplicit-function-declaration] flread.c:98:24: warning: implicit declaration of function 'read_pbm' [-Wimplicit-function-declaration] flread.c:99:24: warning: implicit declaration of function 'read_pcx' [-Wimplicit-function-declaration] flread.c:100:24: warning: implicit declaration of function 'read_gif' [-Wimplicit-function-declaration] flread.c:101:24: warning: implicit declaration of function 'read_iff' [-Wimplicit-function-declaration] flread.c:105:25: warning: implicit declaration of function 'read_rle' [-Wimplicit-function-declaration] flread.c:108:13: warning: implicit declaration of function 'read_jpeg' [-Wimplicit-function-declaration] flread.c: At top level: flread.c:126:1: warning: return type defaults to 'int' [-Wimplicit-int] flread.c: In function 'write_bitmap': flread.c:133:19: warning: implicit declaration of function 'write_pbm' [-Wimplicit-function-declaration] flread.c:134:19: warning: implicit declaration of function 'write_fbm' [-Wimplicit-function-declaration] flread.c:135:19: warning: implicit declaration of function 'write_face' [-Wimplicit-function-declaration] flread.c:136:20: warning: implicit declaration of function 'write_sun' [-Wimplicit-function-declaration] flread.c:137:19: warning: implicit declaration of function 'write_gif' [-Wimplicit-function-declaration] flread.c:138:19: warning: implicit declaration of function 'write_iff' [-Wimplicit-function-declaration] flread.c:139:20: warning: implicit declaration of function 'write_jpeg' [-Wimplicit-function-declaration] flread.c:140:20: warning: implicit declaration of function 'write_rle' [-Wimplicit-function-declaration] flread.c:141:19: warning: implicit declaration of function 'write_pcx' [-Wimplicit-function-declaration] --- flsun.o --- gcc -O2 -c flsun.c --- flshrp.o --- In file included from flshrp.c:33: fbm.h:117:7: warning: conflicting types for built-in function 'malloc'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch] fbm.h:1:1: note: 'malloc' is declared in header '' flshrp.c:46:1: warning: return type defaults to 'int' [-Wimplicit-int] flshrp.c: In function 'sharpen_fbm': flshrp.c:51:13: warning: implicit declaration of function 'sharpen_bw'; did you mean 'sharpen_fbm'? [-Wimplicit-function-declaration] flshrp.c:53:13: warning: implicit declaration of function 'sharpen_clr'; did you mean 'sharpen_fbm'? [-Wimplicit-function-declaration] flshrp.c: At top level: flshrp.c:60:1: warning: return type defaults to 'int' [-Wimplicit-int] flshrp.c: In function 'sharpen_bw': flshrp.c:74:3: warning: implicit declaration of function 'alloc_fbm' [-Wimplicit-function-declaration] flshrp.c: At top level: flshrp.c:121:1: warning: return type defaults to 'int' [-Wimplicit-int] --- flthre.o --- gcc -O2 -c flthre.c --- flrot.o --- In file included from flrot.c:33: fbm.h:117:7: warning: conflicting types for built-in function 'malloc'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch] fbm.h:1:1: note: 'malloc' is declared in header '' flrot.c:45:1: warning: return type defaults to 'int' [-Wimplicit-int] flrot.c: In function 'rotate_fbm': flrot.c:50:22: warning: implicit declaration of function 'rot90_fbm'; did you mean 'rotate_fbm'? [-Wimplicit-function-declaration] flrot.c:51:23: warning: implicit declaration of function 'rot180_fbm'; did you mean 'rotate_fbm'? [-Wimplicit-function-declaration] flrot.c:52:23: warning: implicit declaration of function 'rot270_fbm'; did you mean 'rotate_fbm'? [-Wimplicit-function-declaration] flrot.c: At top level: flrot.c:63:1: warning: return type defaults to 'int' [-Wimplicit-int] flrot.c: In function 'rot90_fbm': flrot.c:72:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] flrot.c:34:1: note: include '' or provide a declaration of 'exit' flrot.c:72:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] flrot.c:72:5: note: include '' or provide a declaration of 'exit' flrot.c:98:3: warning: implicit declaration of function 'alloc_fbm' [-Wimplicit-function-declaration] flrot.c:100:3: warning: implicit declaration of function 'copy_clr' [-Wimplicit-function-declaration] flrot.c: At top level: flrot.c:118:1: warning: return type defaults to 'int' [-Wimplicit-int] flrot.c: In function 'rot180_fbm': flrot.c:127:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] flrot.c:34:1: note: include '' or provide a declaration of 'exit' flrot.c: At top level: flrot.c:158:1: warning: return type defaults to 'int' [-Wimplicit-int] flrot.c: In function 'rot270_fbm': flrot.c:167:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] flrot.c:34:1: note: include '' or provide a declaration of 'exit' --- flwrfb.o --- gcc -O2 -c flwrfb.c --- flthre.o --- In file included from flthre.c:37: fbm.h:117:7: warning: conflicting types for built-in function 'malloc'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch] fbm.h:1:1: note: 'malloc' is declared in header '' flthre.c:51:1: warning: return type defaults to 'int' [-Wimplicit-int] flthre.c: In function 'thesh_fbm': flthre.c:65:3: warning: implicit declaration of function 'free_fbm' [-Wimplicit-function-declaration] flthre.c:72:3: warning: implicit declaration of function 'alloc_fbm' [-Wimplicit-function-declaration] --- flpic.o --- gcc -O2 -c flpic.c In file included from flpic.c:25: fbm.h:117:7: warning: conflicting types for built-in function 'malloc'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch] fbm.h:1:1: note: 'malloc' is declared in header '' flpic.c:38:1: warning: return type defaults to 'int' [-Wimplicit-int] flpic.c: In function 'read_pic': flpic.c:66:2: warning: implicit declaration of function 'alloc_fbm' [-Wimplicit-function-declaration] --- fltga.o --- --- flsun.o --- In file included from flsun.c:37: fbm.h:117:7: warning: conflicting types for built-in function 'malloc'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch] fbm.h:1:1: note: 'malloc' is declared in header '' flsun.c:69:1: warning: return type defaults to 'int' [-Wimplicit-int] flsun.c: In function 'write_sun': flsun.c:132:3: warning: implicit declaration of function 'put_long'; did you mean 'get_long'? [-Wimplicit-function-declaration] flsun.c: At top level: flsun.c:193:1: warning: return type defaults to 'int' [-Wimplicit-int] flsun.c: In function 'read_sun': flsun.c:297:3: warning: implicit declaration of function 'alloc_fbm' [-Wimplicit-function-declaration] flsun.c:308:5: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] flsun.c:38:1: note: include '' or provide a declaration of 'free' flsun.c:308:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] flsun.c:308:5: note: include '' or provide a declaration of 'free' --- fluun.o --- --- fltga.o --- gcc -O2 -c fltga.c --- fluun.o --- gcc -O2 -c fluun.c --- flwrfb.o --- In file included from flwrfb.c:34: fbm.h:117:7: warning: conflicting types for built-in function 'malloc'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch] fbm.h:1:1: note: 'malloc' is declared in header '' flwrfb.c:46:1: warning: return type defaults to 'int' [-Wimplicit-int] flwrfb.c: In function 'write_fbm': flwrfb.c:52:9: warning: implicit declaration of function 'write_hdr_fbm'; did you mean 'write_fbm'? [-Wimplicit-function-declaration] flwrfb.c: At top level: flwrfb.c:78:1: warning: return type defaults to 'int' [-Wimplicit-int] flwrfb.c: In function 'write_hdr_fbm': flwrfb.c:83:39: warning: 'strncpy' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] fbm.h:114:7: note: built-in 'strncpy' declared here flwrfb.c:93:46: warning: 'strncpy' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] fbm.h:114:7: note: built-in 'strncpy' declared here flwrfb.c:94:50: warning: 'strncpy' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] fbm.h:114:7: note: built-in 'strncpy' declared here --- flrle.o --- gcc -O2 -c flrle.c --- fluun.o --- In file included from fluun.c:25: fbm.h:117:7: warning: conflicting types for built-in function 'malloc'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch] fbm.h:1:1: note: 'malloc' is declared in header '' fluun.c:39:1: warning: return type defaults to 'int' [-Wimplicit-int] fluun.c: In function 'read_uunet': fluun.c:57:8: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] fluun.c:26:1: note: include '' or provide a declaration of 'strncmp' fluun.c:57:33: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] : note: built-in 'strncmp' declared here fluun.c:59:31: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] : note: built-in 'strncmp' declared here fluun.c:61:35: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] : note: built-in 'strncmp' declared here fluun.c:63:4: warning: implicit declaration of function 'strcat' [-Wimplicit-function-declaration] fluun.c:63:4: note: include '' or provide a declaration of 'strcat' fluun.c:63:4: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch] fluun.c:63:4: note: include '' or provide a declaration of 'strcat' fluun.c:65:34: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] : note: built-in 'strncmp' declared here fluun.c:66:32: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] fluun.c:66:32: note: include '' or provide a declaration of 'strlen' fluun.c:66:32: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] fluun.c:66:32: note: include '' or provide a declaration of 'strlen' fluun.c:67:32: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] : note: built-in 'strncmp' declared here fluun.c:70:10: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] fluun.c:70:10: note: include '' or provide a declaration of 'strlen' fluun.c:88:2: warning: implicit declaration of function 'alloc_fbm' [-Wimplicit-function-declaration] --- flmedn.o --- gcc -O2 -c flmedn.c --- flrle.o --- In file included from flrle.c:24: fbm.h:117:7: warning: conflicting types for built-in function 'malloc'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch] fbm.h:1:1: note: 'malloc' is declared in header '' flrle.c:325:1: warning: return type defaults to 'int' [-Wimplicit-int] flrle.c:333:1: warning: return type defaults to 'int' [-Wimplicit-int] --- fljpeg.o --- gcc -O2 -c fljpeg.c --- fltga.o --- In file included from fltga.c:33: fbm.h:117:7: warning: conflicting types for built-in function 'malloc'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch] fbm.h:1:1: note: 'malloc' is declared in header '' fltga.c:106:1: warning: return type defaults to 'int' [-Wimplicit-int] fltga.c: In function 'read_tga': fltga.c:125:17: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] fltga.c:34:1: note: include '' or provide a declaration of 'exit' fltga.c:125:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] fltga.c:125:17: note: include '' or provide a declaration of 'exit' fltga.c:131:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] fltga.c:34:1: note: include '' or provide a declaration of 'exit' fltga.c:145:25: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] fltga.c:34:1: note: include '' or provide a declaration of 'exit' fltga.c:180:9: warning: implicit declaration of function 'alloc_fbm' [-Wimplicit-function-declaration] fltga.c:194:25: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] fltga.c:34:1: note: include '' or provide a declaration of 'exit' fltga.c:197:25: warning: implicit declaration of function 'get_map_entry' [-Wimplicit-function-declaration] fltga.c:280:25: warning: implicit declaration of function 'get_pixel' [-Wimplicit-function-declaration] fltga.c:288:9: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] fltga.c:288:9: note: include '' or provide a declaration of 'free' fltga.c:288:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] fltga.c:288:9: note: include '' or provide a declaration of 'free' fltga.c: At top level: fltga.c:292:1: warning: return type defaults to 'int' [-Wimplicit-int] fltga.c: In function 'get_map_entry': fltga.c:326:64: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] fltga.c:34:1: note: include '' or provide a declaration of 'exit' fltga.c: At top level: fltga.c:331:1: warning: return type defaults to 'int' [-Wimplicit-int] fltga.c: In function 'get_pixel': fltga.c:393:56: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] fltga.c:34:1: note: include '' or provide a declaration of 'exit' fltga.c: At top level: fltga.c:415:1: warning: return type defaults to 'int' [-Wimplicit-int] fltga.c: In function 'write_tga': fltga.c:431:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] fltga.c:34:1: note: include '' or provide a declaration of 'exit' fltga.c:437:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] fltga.c:34:1: note: include '' or provide a declaration of 'exit' fltga.c:446:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] fltga.c:34:1: note: include '' or provide a declaration of 'exit' fltga.c:547:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] fltga.c:547:9: note: include '' or provide a declaration of 'free' --- flconv.o --- gcc -O2 -c flconv.c --- fljpeg.o --- In file included from fljpeg.c:29: fbm.h:117:7: warning: conflicting types for built-in function 'malloc'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch] fbm.h:1:1: note: 'malloc' is declared in header '' fljpeg.c:376:1: warning: return type defaults to 'int' [-Wimplicit-int] fljpeg.c: In function 'write_jpeg': fljpeg.c:382:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] fljpeg.c:30:1: note: include '' or provide a declaration of 'exit' fljpeg.c:382:3: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] fljpeg.c:382:3: note: include '' or provide a declaration of 'exit' fljpeg.c: At top level: fljpeg.c:385:1: warning: return type defaults to 'int' [-Wimplicit-int] fljpeg.c: In function 'read_jpeg': fljpeg.c:390:3: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] fljpeg.c:30:1: note: include '' or provide a declaration of 'exit' --- flthin.o --- gcc -O2 -c flthin.c --- flmedn.o --- In file included from flmedn.c:27: fbm.h:117:7: warning: conflicting types for built-in function 'malloc'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch] fbm.h:1:1: note: 'malloc' is declared in header '' flmedn.c:45:1: warning: return type defaults to 'int' [-Wimplicit-int] flmedn.c: In function 'median_fbm': flmedn.c:69:3: warning: implicit declaration of function 'alloc_fbm' [-Wimplicit-function-declaration] flmedn.c:110:11: warning: implicit declaration of function 'median'; did you mean 'median_fbm'? [-Wimplicit-function-declaration] flmedn.c: At top level: flmedn.c:123:1: warning: return type defaults to 'int' [-Wimplicit-int] --- flcmps.o --- gcc -O2 -c flcmps.c --- flthin.o --- In file included from flthin.c:30: fbm.h:117:7: warning: conflicting types for built-in function 'malloc'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch] fbm.h:1:1: note: 'malloc' is declared in header '' flthin.c:42:1: warning: return type defaults to 'int' [-Wimplicit-int] flthin.c: In function 'thin_fbm': flthin.c:61:3: warning: implicit declaration of function 'alloc_fbm' [-Wimplicit-function-declaration] flthin.c:224:3: warning: implicit declaration of function 'free_fbm' [-Wimplicit-function-declaration] --- idiff --- gcc -O2 -o idiff idiff.c -lm idiff.c:41:1: warning: return type defaults to 'int' [-Wimplicit-int] 41 | main (argc, argv) | ^~~~ idiff.c: In function 'main': idiff.c:41:1: warning: type of 'argc' defaults to 'int' [-Wimplicit-int] idiff.c:45:20: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 45 | if (argc > 1 || !strcmp (argv[0] + strlen (argv[0]) - 5, "udiff")) | ^~~~~~ idiff.c:31:1: note: include '' or provide a declaration of 'strcmp' 30 | # include +++ |+#include 31 | idiff.c:45:38: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 45 | if (argc > 1 || !strcmp (argv[0] + strlen (argv[0]) - 5, "udiff")) | ^~~~~~ idiff.c:45:38: note: include '' or provide a declaration of 'strlen' idiff.c:45:38: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] idiff.c:45:38: note: include '' or provide a declaration of 'strlen' --- flconv.o --- In file included from flconv.c:46: fbm.h:117:7: warning: conflicting types for built-in function 'malloc'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch] fbm.h:1:1: note: 'malloc' is declared in header '' flconv.c:58:1: warning: return type defaults to 'int' [-Wimplicit-int] flconv.c: In function 'convolve_fbm': flconv.c:85:3: warning: implicit declaration of function 'alloc_fbm' [-Wimplicit-function-declaration] flconv.c: At top level: flconv.c:160:1: warning: return type defaults to 'int' [-Wimplicit-int] flconv.c:222:1: warning: return type defaults to 'int' [-Wimplicit-int] --- pbm2ps --- gcc -O2 -o pbm2ps pbm2ps.c -lm pbm2ps.c:55:1: warning: return type defaults to 'int' [-Wimplicit-int] 55 | main (argc, argv) | ^~~~ pbm2ps.c: In function 'main': pbm2ps.c:55:1: warning: type of 'argc' defaults to 'int' [-Wimplicit-int] pbm2ps.c:65:25: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 65 | exit (1); | ^~~~ pbm2ps.c:36:1: note: include '' or provide a declaration of 'exit' 35 | # include +++ |+#include 36 | pbm2ps.c:65:25: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 65 | exit (1); | ^~~~ pbm2ps.c:65:25: note: include '' or provide a declaration of 'exit' pbm2ps.c:70:28: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 70 | if (argc > 0 && (scale = atoi (argv[0])) < 1) | ^~~~ pbm2ps.c:71:30: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 71 | { fprintf (stderr, USAGE); exit (1); } | ^~~~ pbm2ps.c:71:30: note: include '' or provide a declaration of 'exit' pbm2ps.c:73:7: warning: implicit declaration of function 'read_pbm' [-Wimplicit-function-declaration] 73 | if (read_pbm (stdin) && write_ps (scale, scribe)) exit (0); | ^~~~~~~~ pbm2ps.c:73:27: warning: implicit declaration of function 'write_ps' [-Wimplicit-function-declaration] 73 | if (read_pbm (stdin) && write_ps (scale, scribe)) exit (0); | ^~~~~~~~ pbm2ps.c:73:53: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 73 | if (read_pbm (stdin) && write_ps (scale, scribe)) exit (0); | ^~~~ pbm2ps.c:73:53: note: include '' or provide a declaration of 'exit' pbm2ps.c:75:3: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 75 | exit (1); | ^~~~ pbm2ps.c:75:3: note: include '' or provide a declaration of 'exit' pbm2ps.c: At top level: pbm2ps.c:83:1: warning: return type defaults to 'int' [-Wimplicit-int] 83 | read_pbm (rfile) | ^~~~~~~~ pbm2ps.c: In function 'read_pbm': pbm2ps.c:96:12: warning: implicit declaration of function 'pbm_getint' [-Wimplicit-function-declaration] 96 | if ((w = pbm_getint (stdin)) < 0 || (h = pbm_getint (stdin)) < 0) | ^~~~~~~~~~ pbm2ps.c:99:28: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 99 | bits = (unsigned char *) malloc (w*h); | ^~~~~~ pbm2ps.c:99:28: note: include '' or provide a declaration of 'malloc' pbm2ps.c:99:28: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] pbm2ps.c:99:28: note: include '' or provide a declaration of 'malloc' pbm2ps.c:108:25: warning: implicit declaration of function 'eatcomment' [-Wimplicit-function-declaration] 108 | else if (ch == '#') eatcomment (); | ^~~~~~~~~~ pbm2ps.c:113:61: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 113 | { fprintf (stderr, "Too many junk characters, bye!\n"); exit (1); } | ^~~~ pbm2ps.c:113:61: note: include '' or provide a declaration of 'exit' pbm2ps.c: At top level: pbm2ps.c:129:1: warning: return type defaults to 'int' [-Wimplicit-int] 129 | pbm_getint (rfile) | ^~~~~~~~~~ pbm2ps.c:156:1: warning: return type defaults to 'int' [-Wimplicit-int] 156 | eatcomment () | ^~~~~~~~~~ pbm2ps.c: In function 'eatcomment': pbm2ps.c:162:10: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 162 | cmtbuf[strlen (cmtbuf) - 1] = '\0'; | ^~~~~~ pbm2ps.c:36:1: note: include '' or provide a declaration of 'strlen' 35 | # include +++ |+#include 36 | pbm2ps.c:162:10: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 162 | cmtbuf[strlen (cmtbuf) - 1] = '\0'; | ^~~~~~ pbm2ps.c:162:10: note: include '' or provide a declaration of 'strlen' pbm2ps.c:166:8: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] 166 | if (!strncmp (s, "Title: ", 7)) strcpy (title, s+7); | ^~~~~~~ pbm2ps.c:166:8: note: include '' or provide a declaration of 'strncmp' pbm2ps.c:166:31: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 166 | if (!strncmp (s, "Title: ", 7)) strcpy (title, s+7); | ^ : note: built-in 'strncmp' declared here pbm2ps.c:166:35: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 166 | if (!strncmp (s, "Title: ", 7)) strcpy (title, s+7); | ^~~~~~ pbm2ps.c:166:35: note: include '' or provide a declaration of 'strcpy' pbm2ps.c:166:35: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] pbm2ps.c:166:35: note: include '' or provide a declaration of 'strcpy' pbm2ps.c: At top level: pbm2ps.c:192:1: warning: return type defaults to 'int' [-Wimplicit-int] 192 | write_ps (scale, scribe) | ^~~~~~~~ --- pbmtitle --- gcc -O2 -o pbmtitle pbmtitle.c -lm --- flcmps.o --- In file included from flcmps.c:26: fbm.h:117:7: warning: conflicting types for built-in function 'malloc'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch] fbm.h:1:1: note: 'malloc' is declared in header '' flcmps.c:76:1: warning: return type defaults to 'int' [-Wimplicit-int] flcmps.c: In function 'analyze_image': flcmps.c:167:5: warning: implicit declaration of function 'abort' [-Wimplicit-function-declaration] flcmps.c:27:1: note: include '' or provide a declaration of 'abort' flcmps.c:167:5: warning: incompatible implicit declaration of built-in function 'abort' [-Wbuiltin-declaration-mismatch] flcmps.c:167:5: note: include '' or provide a declaration of 'abort' flcmps.c: At top level: flcmps.c:178:1: warning: return type defaults to 'int' [-Wimplicit-int] flcmps.c: In function 'write_simple_ps': flcmps.c:201:3: warning: implicit declaration of function 'write_simple_decoder'; did you mean 'write_simple_ps'? [-Wimplicit-function-declaration] flcmps.c:205:7: warning: implicit declaration of function 'write_simple_scanline' [-Wimplicit-function-declaration] flcmps.c: At top level: flcmps.c:239:1: warning: return type defaults to 'int' [-Wimplicit-int] flcmps.c:279:1: warning: return type defaults to 'int' [-Wimplicit-int] --- udiff --- rm -rf udiff ln -sf idiff udiff --- libfbm.a --- rm -f libfbm.a ar clq libfbm.a flalfb.o flblue.o flbyte.o flcavg.o flclr.o fledge.o flextr.o flface.o flflyd.o flgifc.o flgife.o flgifr.o flgifw.o fliff.o flklnr.o flpbm.o flpcx.o flrdfb.o flread.o flrot.o flshrp.o flsun.o flthre.o flwrfb.o flpic.o fltga.o fluun.o flrle.o flmedn.o fljpeg.o flconv.o flthin.o flcmps.o --- pbmtitle --- pbmtitle.c:40:1: warning: return type defaults to 'int' [-Wimplicit-int] 40 | main (argc, argv) | ^~~~ pbmtitle.c: In function 'main': pbmtitle.c:40:1: warning: type of 'argc' defaults to 'int' [-Wimplicit-int] pbmtitle.c:47:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 47 | exit (1); | ^~~~ pbmtitle.c:31:1: note: include '' or provide a declaration of 'exit' 30 | # include +++ |+#include 31 | pbmtitle.c:47:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 47 | exit (1); | ^~~~ pbmtitle.c:47:5: note: include '' or provide a declaration of 'exit' pbmtitle.c:52:14: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] 52 | else if (strncmp (buf, "# Title: ", 9)) printf ("%s", buf); | ^~~~~~~ pbmtitle.c:31:1: note: include '' or provide a declaration of 'strncmp' 30 | # include +++ |+#include 31 | pbmtitle.c:52:41: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 52 | else if (strncmp (buf, "# Title: ", 9)) printf ("%s", buf); | ^ : note: built-in 'strncmp' declared here pbmtitle.c:57:3: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 57 | exit (0); | ^~~~ pbmtitle.c:57:3: note: include '' or provide a declaration of 'exit' --- libfbm.a --- ar: libdeps specified more than once *** [libfbm.a] Error code 1 make: stopped making "all" in /tmp/pkgbuild/graphics/fbm/work make: 1 error make: stopped making "all" in /tmp/pkgbuild/graphics/fbm/work *** Error code 2 Stop. make[1]: stopped making "all" in /usr/pkgsrc/graphics/fbm *** Error code 1 Stop. make: stopped making "all" in /usr/pkgsrc/graphics/fbm