WARNING: [license.mk] Every package should define a LICENSE. ===> Building for mpeg_encode-1.5bnb7 gcc -Iheaders -O -Wall -Wmissing-prototypes -I/opt/pkg/include -c -o mfwddct.o mfwddct.c mfwddct.c:145:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mp_fwd_dct_block2(data, dest) ^ mfwddct.c:170:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mp_fwd_dct_fast(data2d, dest2d) ^ mfwddct.c:343:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void reference_fwd_dct(block, dest) ^ 3 warnings generated. gcc -Iheaders -O -Wall -Wmissing-prototypes -I/opt/pkg/include -c -o postdct.o postdct.c postdct.c:193:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Mpost_UnQuantZigBlock(in, out, qscale, iblock) ^ postdct.c:278:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Mpost_QuantZigBlock(in, out, qscale, iblock) ^ postdct.c:390:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Mpost_RLEHuffIBlock(in, out) ^ postdct.c:475:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Mpost_RLEHuffPBlock(in, out) ^ postdct.c:580:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] CalcRLEHuffLength(in) ^ 5 warnings generated. gcc -Iheaders -O -Wall -Wmissing-prototypes -I/opt/pkg/include -c -o huff.o huff.c gcc -Iheaders -O -Wall -Wmissing-prototypes -I/opt/pkg/include -c -o bitio.o bitio.c bitio.c:134:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bitio_New(filePtr) ^ bitio.c:172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bitio_Free(bbPtr) ^ bitio.c:200:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bitio_Write(bbPtr, bits, nbits) ^ bitio.c:297:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bitio_Flush(bbPtr) ^ bitio.c:311:5: warning: call to undeclared function 'time'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] time(&tempTimeStart); ^ bitio.c:304:13: warning: variable 'bitsWritten' set but not used [-Wunused-but-set-variable] int bitsWritten = 0; ^ bitio.c:389:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bitio_WriteToSocket(bbPtr, socket) ^ bitio.c:422:15: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] nitems = write(socket, buffer, numWords * sizeof(uint32)); ^ bitio.c:444:8: warning: call to undeclared function 'write'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] if ( write(socket, charBuf, 1) != 1 ) { ^ bitio.c:397:13: warning: variable 'bitsWritten' set but not used [-Wunused-but-set-variable] int bitsWritten = 0; ^ bitio.c:475:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Bitio_BytePad(bbPtr) ^ bitio.c:504:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Dump(bbPtr) ^ bitio.c:513:5: warning: call to undeclared function 'time'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] time(&tempTimeStart); ^ 13 warnings generated. gcc -Iheaders -O -Wall -Wmissing-prototypes -I/opt/pkg/include -c -o mheaders.o mheaders.c mheaders.c:318:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetGOPStartTime(index) ^ mheaders.c:339:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Mhead_GenPictureHeader(bbPtr, frameType, pictCount, f_code) ^ mheaders.c:378:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Mhead_GenSequenceHeader(bbPtr, hsize, vsize, pratio, pict_rate, bit_rate, ^ mheaders.c:537:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Mhead_GenSequenceEnder(bbPtr) ^ mheaders.c:557:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Mhead_GenGOPHeader(bbPtr, drop_frame_flag, tc_hrs, tc_min, tc_sec, tc_pict, ^ mheaders.c:655:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Mhead_GenSliceHeader(bbPtr, verticalPos, qscale, extra_info, extra_info_size) ^ mheaders.c:698:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Mhead_GenSliceEnder(bbPtr) ^ mheaders.c:718:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Mhead_GenMBHeader(bbPtr, pict_code_type, addr_incr, q_scale, ^ mheaders.c:849:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GenMBType(bbPtr, pict_code_type, mb_quant, motion_forw, motion_back, ^ mheaders.c:996:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GenMotionCode(bbPtr, vector) ^ mheaders.c:1027:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GenBlockPattern(bbPtr, mb_pattern) ^ mheaders.c:1053:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GenMBAddrIncr(bbPtr, addr_incr) ^ mheaders.c:1080:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GenPictHead(bbPtr, temp_ref, code_type, vbv_delay, full_pel_forw_flag, ^ 13 warnings generated. gcc -Iheaders -O -Wall -Wmissing-prototypes -I/opt/pkg/include -c -o mpeg.o mpeg.c mpeg.c:248:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetReferenceFrameType(type) ^ mpeg.c:263:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetBitRateFileName(fileName) ^ mpeg.c:287:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GenMPEGStream(whichGOP, frameStart, frameEnd, qtable, niqtable, numFrames, ^ mpeg.c:604:17: warning: passing 'unsigned char[]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (strlen(userDataFileName) != 0) { ^~~~~~~~~~~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/string.h:82:28: note: passing argument to parameter '__s' here size_t strlen(const char *__s); ^ mpeg.c:608:13: warning: passing 'unsigned char[]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stat(userDataFileName,&statbuf); ^~~~~~~~~~~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/sys/stat.h:387:26: note: passing argument to parameter here int stat(const char *, struct stat *) __DARWIN_INODE64(stat); ^ mpeg.c:611:24: warning: passing 'unsigned char[]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((fp = fopen(userDataFileName,"rb")) == NULL) { ^~~~~~~~~~~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/stdio.h:145:37: note: passing argument to parameter '__filename' here FILE *fopen(const char * __restrict __filename, const char * __restrict __mode) __DARWIN_ALIAS_STARTING(__MAC_10_6, __IPHONE_2_0, __DARWIN_ALIAS(fopen)); ^ mpeg.c:641:53: warning: passing 'char *' to parameter of type 'uint8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] /* user_data */ userData, /* user_data_size */ userDataSize); ^~~~~~~~ headers/mheaders.h:72:41: note: passing argument to parameter 'user_data' here int32 ext_data_size, uint8 *user_data, int32 user_data_size)); ^ mpeg.c:310:26: warning: variable 'res' set but not used [-Wunused-but-set-variable] int32 bitstreamMode, res; ^ mpeg.c:778:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetStatFileName(fileName) ^ mpeg.c:797:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetGOPSize(size) ^ mpeg.c:818:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PrintStartStats(firstFrame, lastFrame) ^ mpeg.c:926:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] NonLocalRefFrame(id) ^ mpeg.c:1031:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ComputeDHMSTime(someTime, timeText) ^ mpeg.c:1068:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ComputeGOPFrames(whichGOP, firstFrame, lastFrame, numFrames) ^ mpeg.c:1146:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PrintEndStats(inputFrameBits, totalBits) ^ mpeg.c:1226:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ProcessRefFrame(frame, bb, lastFrame, outputFileName) ^ mpeg.c:1589:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReadDecodedRefFrame(frame, frameNumber) ^ 17 warnings generated. gcc -Iheaders -O -Wall -Wmissing-prototypes -I/opt/pkg/include -c -o subsample.o subsample.c subsample.c:93:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LumMotionErrorA(currentBlock, prevFrame, by, bx, my, mx, bestSoFar) ^ subsample.c:270:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LumMotionErrorB(currentBlock, prevFrame, by, bx, my, mx, bestSoFar) ^ subsample.c:447:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LumMotionErrorC(currentBlock, prevFrame, by, bx, my, mx, bestSoFar) ^ subsample.c:624:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] LumMotionErrorD(currentBlock, prevFrame, by, bx, my, mx, bestSoFar) ^ 4 warnings generated. gcc -Iheaders -O -Wall -Wmissing-prototypes -I/opt/pkg/include -c -o param.o param.c param.c:314:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReadParamFile(fileName, function) ^ param.c:556:9: warning: ignoring return value of function declared with const attribute [-Wunused-value] log(10.0); ^~~ ~~~~ param.c:711:16: warning: passing 'unsigned char[256]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy(userDataFileName, charPtr); ^~~~~~~~~~~~~~~~ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/secure/_string.h:84:27: note: expanded from macro 'strcpy' __builtin___strcpy_chk (dest, __VA_ARGS__, __darwin_obsz (dest)) ^~~~ param.c:821:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetNthInputFileName(fileName, n) ^ param.c:910:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReadMachineNames(fpointer) ^ param.c:953:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReadInputFileNames(fpointer, endInput) ^ param.c:1234:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SkipSpacesTabs(start) ^ param.c:1258:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetFrameRate(p) ^ param.c:1295:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetAspectRatio(p) ^ 9 warnings generated. gcc -Iheaders -O -Wall -Wmissing-prototypes -I/opt/pkg/include -c -o rgbtoycc.o rgbtoycc.c rgbtoycc.c:84:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PNMtoYUV(frame) ^ rgbtoycc.c:252:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] PPMtoYUV(frame) ^ 2 warnings generated. gcc -Iheaders -O -Wall -Wmissing-prototypes -I/opt/pkg/include -c -o readframe.o readframe.c readframe.c:209:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void SetResize(set) ^ readframe.c:238:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] _ReadFrame(frame, fileName, fileHook, conversion, addPath) ^ readframe.c:433:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetFileType(conversion) ^ readframe.c:456:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetFileFormat(format) ^ readframe.c:492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReadPNM(fp, mf) ^ readframe.c:541:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReadIOConvert(fileName) ^ readframe.c:618:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReadPPM(mf, fpointer) ^ readframe.c:736:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReadEYUV(mf, fpointer, width, height) ^ readframe.c:802:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReadAYUV(mf, fpointer, width, height) ^ readframe.c:828:8: warning: assigning to 'int8 *' (aka 'char *') from 'uint8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] cbptr = &(mf->orig_cb[y>>1][0]); ^ ~~~~~~~~~~~~~~~~~~~~~~~ readframe.c:829:8: warning: assigning to 'int8 *' (aka 'char *') from 'uint8 *' (aka 'unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] crptr = &(mf->orig_cr[y>>1][0]); ^ ~~~~~~~~~~~~~~~~~~~~~~~ readframe.c:860:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SeparateLine(fpointer, lineptr, width) ^ readframe.c:946:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReadY(mf, fpointer, width, height) ^ readframe.c:993:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ReadSub4(mf, fpointer, width, height) ^ readframe.c:1058:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ScanNextString(inputLine, string) ^ readframe.c:1094:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DoGamma(mf, w, h) ^ readframe.c:1149:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] DoKillDim(mf, w, h) ^ 17 warnings generated. gcc -Iheaders -O -Wall -Wmissing-prototypes -I/opt/pkg/include -c -o combine.o combine.c combine.c:127:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GOPStoMPEG(numGOPS, outputFileName, outputFilePtr) ^ combine.c:228:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FramesToMPEG(numFrames, outputFileName, outputFile, parallel) ^ combine.c:492:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] AppendFile(outputFile, inputFile) ^ 3 warnings generated. gcc -Iheaders -O -Wall -Wmissing-prototypes -I/opt/pkg/include -c -o jrevdct.o jrevdct.c jrevdct.c:172:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mpeg_jrevdct(data) ^ jrevdct.c:184:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] mpeg_jrevdct_quick(data) ^ jrevdct.c:1246:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void reference_rev_dct(block) ^ 3 warnings generated. gcc -Iheaders -O -Wall -Wmissing-prototypes -I/opt/pkg/include -c -o frame.o frame.c frame.c:104:2: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Frame_Resize(omf,mf,insize_x,insize_y,outsize_x,outsize_y) ^ frame.c:133:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Resize_Width(omfrw,mfrw,in_x,in_y, out_x) ^ frame.c:201:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Resize_Height(omfrh,mfrh,in_x,in_y,out_y) ^ frame.c:271:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Resize_Array_Width(inarray,in_x,in_y,outarray,out_x) ^ frame.c:283:7: warning: variable 'pointA' set but not used [-Wunused-but-set-variable] uint8 pointA,pointB; ^ frame.c:283:14: warning: variable 'pointB' set but not used [-Wunused-but-set-variable] uint8 pointA,pointB; ^ frame.c:343:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Resize_Array_Height(inarray,in_x,in_y,outarray,out_y) ^ frame.c:354:8: warning: variable 'slope' set but not used [-Wunused-but-set-variable] double slope,diff; ^ frame.c:354:14: warning: variable 'diff' set but not used [-Wunused-but-set-variable] double slope,diff; ^ frame.c:482:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Frame_Free(frame) ^ frame.c:501:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Frame_New(id, type) ^ frame.c:526:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Frame_AllocPPM(frame) ^ frame.c:557:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Frame_AllocBlocks(frame) ^ frame.c:602:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Frame_AllocYCC(frame) ^ frame.c:657:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Frame_AllocHalf(frame) ^ frame.c:700:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Frame_AllocDecoded(frame, makeReference) ^ frame.c:794:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] GetNumOfFrames(numOfFrames) ^ frame.c:844:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ResetFrame(id, type, frame) ^ frame.c:882:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FreeFrame(frame) ^ 19 warnings generated. gcc -Iheaders -O -Wall -Wmissing-prototypes -I/opt/pkg/include -c -o fsize.o fsize.c fsize.c:89:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Fsize_Validate(x, y) ^ fsize.c:110:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] Fsize_Note(id, width, height) ^ 2 warnings generated. gcc -Iheaders -O -Wall -Wmissing-prototypes -I/opt/pkg/include -c -o frametype.o frametype.c frametype.c:80:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FType_Type(frameNum) ^ frametype.c:127:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FType_FutureRef(currFrameNum) ^ frametype.c:164:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] FType_PastRef(currFrameNum) ^ frametype.c:195:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] SetFramePattern(pattern) ^ frametype.c:269:17: warning: variable 'lastI' set but not used [-Wunused-but-set-variable] FrameTable *lastI, *lastIP, *firstB, *secondIP; ^ 5 warnings generated. gcc -Iheaders -O -Wall -Wmissing-prototypes -I/opt/pkg/include -c -o libpnmrw.o libpnmrw.c libpnmrw.c:63:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pm_allocrow( cols, size ) ^ libpnmrw.c:80:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pm_freerow( itrow ) ^ libpnmrw.c:87:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pm_allocarray( cols, rows, size ) ^ libpnmrw.c:115:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pm_freearray( its, rows ) ^ libpnmrw.c:131:16: error: redeclaration of 'sys_errlist' with a different type: 'char *[]' vs 'const char *const[]' extern char* sys_errlist[]; ^ /Applications/Xcode-15.4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk/usr/include/stdio.h:371:30: note: previous declaration is here extern __const char *__const sys_errlist[]; ^ libpnmrw.c:127:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pm_perror( reason ) ^ libpnmrw.c:148:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pm_openr( name ) ^ libpnmrw.c:168:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pm_openw( name ) ^ libpnmrw.c:182:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pm_closer( f ) ^ libpnmrw.c:202:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pm_closew( f ) ^ libpnmrw.c:223:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pbm_getc( file ) ^ libpnmrw.c:253:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pbm_getbit( file ) ^ libpnmrw.c:277:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pbm_readmagicnumber( file ) ^ libpnmrw.c:300:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pbm_getint( file ) ^ libpnmrw.c:335:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pbm_readpbminitrest( file, colsP, rowsP ) ^ libpnmrw.c:349:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pbm_getrawbyte( file ) ^ libpnmrw.c:364:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pbm_readpbmrow( file, bitrow, cols, format ) ^ libpnmrw.c:409:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pbm_writepbminit( file, cols, rows, forceplain ) ^ libpnmrw.c:423:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pbm_writepbmrowraw( file, bitrow, cols ) ^ libpnmrw.c:451:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pbm_writepbmrowplain( file, bitrow, cols ) ^ libpnmrw.c:474:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pbm_writepbmrow( file, bitrow, cols, forceplain ) ^ libpnmrw.c:487:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pgm_readpgminitrest( file, colsP, rowsP, maxvalP ) ^ libpnmrw.c:584:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] putus( n, file ) ^ libpnmrw.c:594:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pgm_writepgmrowraw( file, grayrow, cols, maxval ) ^ libpnmrw.c:609:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pgm_writepgmrowplain( file, grayrow, cols, maxval ) ^ libpnmrw.c:659:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ppm_readppminitrest( file, colsP, rowsP, maxvalP ) ^ libpnmrw.c:771:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ppm_writeppmrowraw( file, pixelrow, cols, maxval ) ^ libpnmrw.c:801:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ppm_writeppmrowplain( file, pixelrow, cols, maxval ) ^ libpnmrw.c:860:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pnm_init2( pn ) ^ libpnmrw.c:870:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pnm_readpnminit( file, colsP, rowsP, maxvalP, formatP ) ^ libpnmrw.c:970:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] pnm_readpnm( file, colsP, rowsP, maxvalP, formatP ) ^ libpnmrw.c:1120:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ppm_computecolorhist( pixels, cols, rows, maxcolors, colorsP ) ^ libpnmrw.c:1137:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ppm_addtocolorhist( chv, colorsP, maxcolors, colorP, value, position ) ^ libpnmrw.c:1176:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ppm_computecolorhash( pixels, cols, rows, maxcolors, colorsP ) ^ libpnmrw.c:1248:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ppm_addtocolorhash( cht, colorP, value ) ^ libpnmrw.c:1268:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ppm_colorhashtocolorhist( cht, maxcolors ) ^ libpnmrw.c:1301:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ppm_colorhisttocolorhash( chv, colors ) ^ libpnmrw.c:1344:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ppm_lookupcolor( cht, colorP ) ^ libpnmrw.c:1360:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ppm_freecolorhist( chv ) ^ libpnmrw.c:1367:3: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ppm_freecolorhash( cht ) ^ 39 warnings and 1 error generated. gmake: *** [: libpnmrw.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/multimedia/mpeg_encode *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/multimedia/mpeg_encode