===> 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 vic-devel-2.8.1.4.0beta.4337nb22 (cd codec/tmndec; /usr/bin/make CC=gcc CCOPT="-O2 -g -W -Wall -Wno-return-type" -f Makefile.lib) gcc -O2 -g -W -Wall -Wno-return-type -DVIC -g -I/usr/pkg/include -I/usr/include -c tmndec.c -o tmndec.o In file included from /usr/include/ctype.h:100, from tmndec.c:65: tmndec.c: In function 'getval': tmndec.c:657:26: warning: array subscript has type 'char' [-Wchar-subscripts] 657 | while (isdigit (argv[1][2])) | ^ tmndec.c: At top level: tmndec.c:93:13: warning: 'options' declared 'static' but never defined [-Wunused-function] 93 | static void options _ANSI_ARGS_ ((int *argcp, char **argvp[])); | ^~~~~~~ tmndec.c:775:6: warning: 'flushdisplaybuffer' defined but not used [-Wunused-function] 775 | void flushdisplaybuffer (int framenum) | ^~~~~~~~~~~~~~~~~~ tmndec.c:650:12: warning: 'getval' defined but not used [-Wunused-function] 650 | static int getval (char *argv[]) | ^~~~~~ tmndec.c:97:12: warning: 'loopflag' defined but not used [-Wunused-variable] 97 | static int loopflag; | ^~~~~~~~ gcc -O2 -g -W -Wall -Wno-return-type -DVIC -g -I/usr/pkg/include -I/usr/include -c getpic.c -o getpic.o getpic.c: In function 'get_B_MBs': getpic.c:1217:32: warning: variable 'pCOD' set but not used [-Wunused-but-set-variable] 1217 | int last_done = 0, pCBP = 0, pCOD = 0; | ^~~~ getpic.c:1214:16: warning: unused variable 'mvy' [-Wunused-variable] 1214 | int mvx = 0, mvy = 0, xpos, ypos, gob, i; | ^~~ getpic.c:1214:7: warning: unused variable 'mvx' [-Wunused-variable] 1214 | int mvx = 0, mvy = 0, xpos, ypos, gob, i; | ^~~ getpic.c: In function 'get_EI_EP_MBs': getpic.c:1892:32: warning: variable 'pCOD' set but not used [-Wunused-but-set-variable] 1892 | int last_done = 0, pCBP = 0, pCOD = 0; | ^~~~ getpic.c:1890:37: warning: unused variable 'mvby' [-Wunused-variable] 1890 | int mvfx = 0, mvfy = 0, mvbx = 0, mvby = 0, pmvf0, pmvf1; | ^~~~ getpic.c:1890:27: warning: unused variable 'mvbx' [-Wunused-variable] 1890 | int mvfx = 0, mvfy = 0, mvbx = 0, mvby = 0, pmvf0, pmvf1; | ^~~~ getpic.c:1889:16: warning: unused variable 'mvy' [-Wunused-variable] 1889 | int mvx = 0, mvy = 0, xpos, ypos, gob, i; | ^~~ getpic.c:1889:7: warning: unused variable 'mvx' [-Wunused-variable] 1889 | int mvx = 0, mvy = 0, xpos, ypos, gob, i; | ^~~ getpic.c: In function 'Intra_AC_DC_Decode': getpic.c:3032:68: warning: unused parameter 'MBA' [-Wunused-parameter] 3032 | void Intra_AC_DC_Decode (short *store_qcoeff, int INTRA_AC_DC, int MBA, int xpos, int ypos, int comp, int newgob) | ~~~~^~~ getpic.c: In function 'UpsampleComponent': getpic.c:3667:46: warning: variable 'enhanced_origin' set but not used [-Wunused-but-set-variable] 3667 | unsigned char *base_next, *enhanced_next, *enhanced_origin; | ^~~~~~~~~~~~~~~ getpic.c: In function 'PictureDisplay': getpic.c:3811:47: warning: variable 'display_framenum' set but not used [-Wunused-but-set-variable] 3811 | static int buffered_frame_temp_ref = 0, display_framenum = 0; | ^~~~~~~~~~~~~~~~ getpic.c:3810:18: warning: unused variable 'last_frame_disposable' [-Wunused-variable] 3810 | static int last_frame_disposable = 0, display_buffer_empty = 1; | ^~~~~~~~~~~~~~~~~~~~~ getpic.c: In function 'get_I_P_MBs': getpic.c:1073:15: warning: 'pmvdby' may be used uninitialized [-Wmaybe-uninitialized] 1073 | reconblock_b (comp - 6, bx, by, Mode, pmvdbx, pmvdby); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ getpic.c:292:37: note: 'pmvdby' was declared here 292 | int mvdbx = 0, mvdby = 0, pmvdbx, pmvdby, gfid, YCBPB, UVCBPB, gobheader_read; | ^~~~~~ getpic.c:1073:15: warning: 'pmvdbx' may be used uninitialized [-Wmaybe-uninitialized] 1073 | reconblock_b (comp - 6, bx, by, Mode, pmvdbx, pmvdby); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ getpic.c:292:29: note: 'pmvdbx' was declared here 292 | int mvdbx = 0, mvdby = 0, pmvdbx, pmvdby, gfid, YCBPB, UVCBPB, gobheader_read; | ^~~~~~ getpic.c:302:10: warning: 'store_qcoeff' may be used uninitialized [-Wmaybe-uninitialized] 302 | short *store_qcoeff; | ^~~~~~~~~~~~ getpic.c: In function 'get_reference_picture': getpic.c:3973:19: warning: 'd' may be used uninitialized [-Wmaybe-uninitialized] 3973 | ring_qu[i]+d >= ring_qu[ring_ptr]) { | ~~~~~~~~~~^~ getpic.c:3959:11: note: 'd' was declared here 3959 | int i,d; | ^ getpic.c: In function 'getpicture': getpic.c:1900:10: warning: 'store_qcoeff' may be used uninitialized [-Wmaybe-uninitialized] 1900 | short *store_qcoeff; | ^~~~~~~~~~~~ getpic.c:1225:10: warning: 'store_qcoeff' may be used uninitialized [-Wmaybe-uninitialized] 1225 | short *store_qcoeff; | ^~~~~~~~~~~~ gcc -O2 -g -W -Wall -Wno-return-type -DVIC -g -I/usr/pkg/include -I/usr/include -c getvlc.c -o getvlc.o gcc -O2 -g -W -Wall -Wno-return-type -DVIC -g -I/usr/pkg/include -I/usr/include -c gethdr.c -o gethdr.o gethdr.c: In function 'getpicturehdr': gethdr.c:123:7: warning: variable 'pos' set but not used [-Wunused-but-set-variable] 123 | int pos, pei, tmp; | ^~~ gcc -O2 -g -W -Wall -Wno-return-type -DVIC -g -I/usr/pkg/include -I/usr/include -c getblk.c -o getblk.o getblk.c:106:8: warning: type defaults to 'int' in declaration of 'MQ_chroma_QP_table' [-Wimplicit-int] 106 | extern MQ_chroma_QP_table[]; | ^~~~~~~~~~~~~~~~~~ gcc -O2 -g -W -Wall -Wno-return-type -DVIC -g -I/usr/pkg/include -I/usr/include -c getbits.c -o getbits.o gcc -O2 -g -W -Wall -Wno-return-type -DVIC -g -I/usr/pkg/include -I/usr/include -c store.c -o store.o store.c: In function 'save_frame': store.c:491:44: warning: unused parameter 'framenum' [-Wunused-parameter] 491 | void save_frame (unsigned char *src[], int framenum, FILE *file) | ~~~~^~~~~~~~ gcc -O2 -g -W -Wall -Wno-return-type -DVIC -g -I/usr/pkg/include -I/usr/include -c recon.c -o recon.o recon.c: In function 'reconstruct_true_B': recon.c:335:13: warning: variable 'mode' set but not used [-Wunused-but-set-variable] 335 | int x, y, mode; | ^~~~ recon.c: In function 'reconstruct_ei_ep': recon.c:512:13: warning: variable 'mode' set but not used [-Wunused-but-set-variable] 512 | int x, y, mode; | ^~~~ recon.c: In function 'recon_comp': recon.c:640:52: warning: unused parameter 'chroma' [-Wunused-parameter] 640 | int y, int dx, int dy, int chroma) | ~~~~^~~~~~ recon.c: In function 'recon_comp_obmc': recon.c:1155:61: warning: unused parameter 'w' [-Wunused-parameter] 1155 | int lx, int lx2, int comp, int w, int h, | ~~~~^ recon.c:1155:68: warning: unused parameter 'h' [-Wunused-parameter] 1155 | int lx, int lx2, int comp, int w, int h, | ~~~~^ gcc -O2 -g -W -Wall -Wno-return-type -DVIC -g -I/usr/pkg/include -I/usr/include -c idct.c -o idct.o gcc -O2 -g -W -Wall -Wno-return-type -DVIC -g -I/usr/pkg/include -I/usr/include -c idctref.c -o idctref.o gcc -O2 -g -W -Wall -Wno-return-type -DVIC -g -I/usr/pkg/include -I/usr/include -c sac.c -o sac.o rm -f libh263.a ar rc libh263.a tmndec.o getpic.o getvlc.o gethdr.o getblk.o getbits.o store.o recon.o idct.o idctref.o sac.o ranlib libh263.a (cd codec/tmn-x; /usr/bin/make CC=gcc CCOPT="-O2 -g -W -Wall -Wno-return-type" ) gcc -O2 -g -W -Wall -Wno-return-type -DVIC -g -I/usr/pkg/include -I/usr/include -c main.c -o main.o main.c: In function 'sed_UpsampleComponent': main.c:1557:49: warning: variable 'enhanced_origin' set but not used [-Wunused-but-set-variable] 1557 | unsigned char *base_next, *enhanced_next, *enhanced_origin; | ^~~~~~~~~~~~~~~ gcc -O2 -g -W -Wall -Wno-return-type -DVIC -g -I/usr/pkg/include -I/usr/include -c io.c -o io.o gcc -O2 -g -W -Wall -Wno-return-type -DVIC -g -I/usr/pkg/include -I/usr/include -c dct.c -o dct.o gcc -O2 -g -W -Wall -Wno-return-type -DVIC -g -I/usr/pkg/include -I/usr/include -c coder.c -o coder.o coder.c: In function 'CodeOneOrTwo': coder.c:112:23: warning: variable 'QuantChangePostponed' set but not used [-Wunused-but-set-variable] 112 | int abs_mb_num = 0, QuantChangePostponed = 0; | ^~~~~~~~~~~~~~~~~~~~ gcc -O2 -g -W -Wall -Wno-return-type -DVIC -g -I/usr/pkg/include -I/usr/include -c quant.c -o quant.o gcc -O2 -g -W -Wall -Wno-return-type -DVIC -g -I/usr/pkg/include -I/usr/include -c mot_est.c -o mot_est.o gcc -O2 -g -W -Wall -Wno-return-type -DVIC -g -I/usr/pkg/include -I/usr/include -c pred.c -o pred.o pred.c: In function 'Predict_B': pred.c:185:7: warning: variable 'bidir_pred' set but not used [-Wunused-but-set-variable] 185 | int bidir_pred = 0; | ^~~~~~~~~~ pred.c: At top level: pred.c:1155:43: warning: argument 6 of type 'MotionVector *[5][73][90]' {aka 'struct motionvector *[5][73][90]'} with mismatched bound [-Warray-parameter=] 1155 | MotionVector * MV[5][MBR + 1][MBC + 2], | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from pred.c:54: sim.h:594:24: note: previously declared as 'MotionVector *[7][73][90]' {aka 'struct motionvector *[7][73][90]'} 594 | MotionVector *MV[7][MBR+1][MBC+2], | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ pred.c:2206:49: warning: argument 3 of type 'MotionVector *[6][73][90]' {aka 'struct motionvector *[6][73][90]'} with mismatched bound [-Warray-parameter=] 2206 | void FindPredOBMC (int x, int y, MotionVector * MV[6][MBR + 1][MBC + 2], | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ sim.h:587:47: note: previously declared as 'MotionVector *[5][73][90]' {aka 'struct motionvector *[5][73][90]'} 587 | void FindPredOBMC(int x, int y, MotionVector *MV[5][MBR+1][MBC+2], | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ pred.c:2479:42: warning: argument 6 of type 'MotionVector *[6][73][90]' {aka 'struct motionvector *[6][73][90]'} with mismatched bound [-Warray-parameter=] 2479 | MotionVector * MV[6][MBR + 1][MBC + 2], int PB) | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ sim.h:591:24: note: previously declared as 'MotionVector *[7][73][90]' {aka 'struct motionvector *[7][73][90]'} 591 | MotionVector *MV[7][MBR+1][MBC+2], int PB); | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ gcc -O2 -g -W -Wall -Wno-return-type -DVIC -g -I/usr/pkg/include -I/usr/include -c snr.c -o snr.o gcc -O2 -g -W -Wall -Wno-return-type -DVIC -g -I/usr/pkg/include -I/usr/include -c countbit.c -o countbit.o countbit.c: In function 'CountBitsScalMB': countbit.c:294:7: warning: variable 'cbpy' set but not used [-Wunused-but-set-variable] 294 | int cbpy, cbpcm=0, length=0, code=0; //SV-XXX: init'ed to 0 to shut up gcc4 | ^~~~ countbit.c: In function 'CodeCoeff': countbit.c:1101:64: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context] 1101 | putbits (11, (prev_level >> 5 & 0x003F) || (prev_level << 6)); | ~~~~~~~~~~~~^~~~~ gcc -O2 -g -W -Wall -Wno-return-type -DVIC -g -I/usr/pkg/include -I/usr/include -c putbits.c -o putbits.o gcc -O2 -g -W -Wall -Wno-return-type -DVIC -g -I/usr/pkg/include -I/usr/include -c ratectrl.c -o ratectrl.o gcc -O2 -g -W -Wall -Wno-return-type -DVIC -g -I/usr/pkg/include -I/usr/include -c sac.c -o sac.o gcc -O2 -g -W -Wall -Wno-return-type -DVIC -g -I/usr/pkg/include -I/usr/include -c putvlc.c -o putvlc.o gcc -O2 -g -W -Wall -Wno-return-type -DVIC -g -I/usr/pkg/include -I/usr/include -c intra_pred.c -o intra_pred.o gcc -O2 -g -W -Wall -Wno-return-type -DVIC -g -I/usr/pkg/include -I/usr/include -c filter.c -o filter.o gcc -O2 -g -W -Wall -Wno-return-type -DVIC -g -I/usr/pkg/include -I/usr/include -c malloc_debug.c -o malloc_debug.o rm -f libh263coder.a ar rc libh263coder.a main.o io.o dct.o coder.o quant.o mot_est.o pred.o snr.o countbit.o putbits.o ratectrl.o sac.o putvlc.o intra_pred.o filter.o malloc_debug.o ranlib libh263coder.a rm -f net/inet.o; gcc -o net/inet.o -c -O2 -g -W -Wall -Wno-return-type -DHAVE_LIBV4L -DUSE_SHM -DUSE_H261AS -DARCH_X86_64 -fsigned-char -DED_YBITS=4 -DSIGRET=void -DNLAYER=8 -D_GNU_SOURCE -DUSE_INTERP_RESULT -I. -Icodec/tmndec -Icodec/tmn-x -Icodec/h263 -Irtp -Irender -Inet -Ivideo -Icodec -I../common/src -I/usr/pkg/include/common-mml -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include -Icodec/jpeg -Icodec/p64 -I. net/inet.c In file included from /usr/include/ctype.h:100, from net/inet.c:23: net/inet.c: In function 'LookupHostAddr': net/inet.c:41:16: warning: array subscript has type 'char' [-Wchar-subscripts] 41 | if (isdigit(*s)) { | ^ net/inet.c: At top level: net/inet.c:18:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 18 | static const char rcsid[] = | ^~~~~ rm -f net/inet6.o; gcc -o net/inet6.o -c -O2 -g -W -Wall -Wno-return-type -DHAVE_LIBV4L -DUSE_SHM -DUSE_H261AS -DARCH_X86_64 -fsigned-char -DED_YBITS=4 -DSIGRET=void -DNLAYER=8 -D_GNU_SOURCE -DUSE_INTERP_RESULT -I. -Icodec/tmndec -Icodec/tmn-x -Icodec/h263 -Irtp -Irender -Inet -Ivideo -Icodec -I../common/src -I/usr/pkg/include/common-mml -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include -Icodec/jpeg -Icodec/p64 -I. net/inet6.c net/inet6.c:23:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 23 | static const char rcsid[] = | ^~~~~ rm -f codec/cellb_tables.o; gcc -o codec/cellb_tables.o -c -O2 -g -W -Wall -Wno-return-type -DHAVE_LIBV4L -DUSE_SHM -DUSE_H261AS -DARCH_X86_64 -fsigned-char -DED_YBITS=4 -DSIGRET=void -DNLAYER=8 -D_GNU_SOURCE -DUSE_INTERP_RESULT -I. -Icodec/tmndec -Icodec/tmn-x -Icodec/h263 -Irtp -Irender -Inet -Ivideo -Icodec -I../common/src -I/usr/pkg/include/common-mml -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include -Icodec/jpeg -Icodec/p64 -I. codec/cellb_tables.c rm -f tkStripchart.o; gcc -o tkStripchart.o -c -O2 -g -W -Wall -Wno-return-type -DHAVE_LIBV4L -DUSE_SHM -DUSE_H261AS -DARCH_X86_64 -fsigned-char -DED_YBITS=4 -DSIGRET=void -DNLAYER=8 -D_GNU_SOURCE -DUSE_INTERP_RESULT -I. -Icodec/tmndec -Icodec/tmn-x -Icodec/h263 -Irtp -Irender -Inet -Ivideo -Icodec -I../common/src -I/usr/pkg/include/common-mml -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include -Icodec/jpeg -Icodec/p64 -I. tkStripchart.c tkStripchart.c:172:9: error: unknown type name 'Tk_TimerToken' 172 | Tk_TimerToken timer; /* tk timer used by callback */ | ^~~~~~~~~~~~~ tkStripchart.c:222:35: warning: implicit declaration of function 'Tk_Offset' [-Wimplicit-function-declaration] 222 | ALT_STRIPCHART_BG_COLOR, Tk_Offset(Stripchart, altborder), | ^~~~~~~~~ tkStripchart.c:222:45: error: expected expression before 'Stripchart' 222 | ALT_STRIPCHART_BG_COLOR, Tk_Offset(Stripchart, altborder), | ^~~~~~~~~~ tkStripchart.c:225:44: error: expected expression before 'Stripchart' 225 | ALT_STRIPCHART_BG_MONO, Tk_Offset(Stripchart, altborder), | ^~~~~~~~~~ tkStripchart.c:229:20: error: expected expression before 'Stripchart' 229 | Tk_Offset(Stripchart, altstripBorder), TK_CONFIG_COLOR_ONLY, NULL}, | ^~~~~~~~~~ tkStripchart.c:232:20: error: expected expression before 'Stripchart' 232 | Tk_Offset(Stripchart, altstripBorder), TK_CONFIG_MONO_ONLY, NULL}, | ^~~~~~~~~~ tkStripchart.c:234:47: error: expected expression before 'Stripchart' 234 | ALT_STRIPCHART_TEXT_COLOR, Tk_Offset(Stripchart, a_textColor), | ^~~~~~~~~~ tkStripchart.c:237:46: error: expected expression before 'Stripchart' 237 | ALT_STRIPCHART_TEXT_MONO, Tk_Offset(Stripchart, a_textColor), | ^~~~~~~~~~ tkStripchart.c:240:47: error: expected expression before 'Stripchart' 240 | ALT_STRIPCHART_TICK_COLOR, Tk_Offset(Stripchart, a_tickColor), | ^~~~~~~~~~ tkStripchart.c:243:46: error: expected expression before 'Stripchart' 243 | ALT_STRIPCHART_TICK_MONO, Tk_Offset(Stripchart, a_tickColor), | ^~~~~~~~~~ tkStripchart.c:247:45: error: expected expression before 'Stripchart' 247 | DEF_STRIPCHART_BG_COLOR, Tk_Offset(Stripchart, border), | ^~~~~~~~~~ tkStripchart.c:250:44: error: expected expression before 'Stripchart' 250 | DEF_STRIPCHART_BG_MONO, Tk_Offset(Stripchart, border), | ^~~~~~~~~~ tkStripchart.c:255:49: error: expected expression before 'Stripchart' 255 | DEF_STRIPCHART_BORDER_WIDTH, Tk_Offset(Stripchart, borderWidth), 0, NULL}, | ^~~~~~~~~~ tkStripchart.c:257:23: error: expected expression before 'Stripchart' 257 | 0, Tk_Offset(Stripchart, command), 0, NULL}, | ^~~~~~~~~~ tkStripchart.c:259:23: error: expected expression before 'Stripchart' 259 | 0, Tk_Offset(Stripchart, rescale_command), 0, NULL}, | ^~~~~~~~~~ tkStripchart.c:261:43: error: expected expression before 'Stripchart' 261 | DEF_STRIPCHART_CURSOR, Tk_Offset(Stripchart, cursor), | ^~~~~~~~~~ tkStripchart.c:265:34: error: expected expression before 'Stripchart' 265 | DEF_USERDATA, Tk_Offset(Stripchart, userdata), 0, NULL}, | ^~~~~~~~~~ tkStripchart.c:269:41: error: expected expression before 'Stripchart' 269 | DEF_STRIPCHART_FONT, Tk_Offset(Stripchart, tkfont), | ^~~~~~~~~~ tkStripchart.c:273:20: error: expected expression before 'Stripchart' 273 | Tk_Offset(Stripchart, guarantee_draw), 0, NULL}, | ^~~~~~~~~~ tkStripchart.c:275:20: error: expected expression before 'Stripchart' 275 | Tk_Offset(Stripchart, max_height), 0, NULL}, | ^~~~~~~~~~ tkStripchart.c:277:51: error: expected expression before 'Stripchart' 277 | DEF_STRIPCHART_CALLBACK_INTERVAL, Tk_Offset(Stripchart, interval), 0, NULL}, | ^~~~~~~~~~ tkStripchart.c:279:45: error: expected expression before 'Stripchart' 279 | DEF_STRIPCHART_MAXVALUE, Tk_Offset(Stripchart, max_value), 0, NULL}, | ^~~~~~~~~~ tkStripchart.c:281:45: error: expected expression before 'Stripchart' 281 | DEF_STRIPCHART_MINVALUE, Tk_Offset(Stripchart, min_value), 0, NULL}, | ^~~~~~~~~~ tkStripchart.c:283:46: error: expected expression before 'Stripchart' 283 | DEF_STRIPCHART_NUMSTRIPS, Tk_Offset(Stripchart, num_strips), 0, NULL}, | ^~~~~~~~~~ tkStripchart.c:285:45: error: expected expression before 'Stripchart' 285 | DEF_STRIPCHART_NUMTICKS, Tk_Offset(Stripchart, num_ticks), 0, NULL}, | ^~~~~~~~~~ tkStripchart.c:287:43: error: expected expression before 'Stripchart' 287 | DEF_STRIPCHART_RELIEF, Tk_Offset(Stripchart, relief), 0, NULL}, | ^~~~~~~~~~ tkStripchart.c:289:46: error: expected expression before 'Stripchart' 289 | DEF_STRIPCHART_SHOWTICKS, Tk_Offset(Stripchart, showticks), 0, NULL}, | ^~~~~~~~~~ tkStripchart.c:291:46: error: expected expression before 'Stripchart' 291 | DEF_STRIPCHART_AUTOSCALE, Tk_Offset(Stripchart, autoscale), 0, NULL}, | ^~~~~~~~~~ tkStripchart.c:293:43: error: expected expression before 'Stripchart' 293 | DEF_STRIPCHART_HTICKS, Tk_Offset(Stripchart, hticks), 0, NULL}, | ^~~~~~~~~~ tkStripchart.c:296:20: error: expected expression before 'Stripchart' 296 | Tk_Offset(Stripchart, stripBorderWidth), 0, NULL}, | ^~~~~~~~~~ tkStripchart.c:298:48: error: expected expression before 'Stripchart' 298 | DEF_STRIPCHART_STRIP_COLOR, Tk_Offset(Stripchart, stripBorder), | ^~~~~~~~~~ tkStripchart.c:301:47: error: expected expression before 'Stripchart' 301 | DEF_STRIPCHART_STRIP_MONO, Tk_Offset(Stripchart, stripBorder), | ^~~~~~~~~~ tkStripchart.c:304:48: error: expected expression before 'Stripchart' 304 | DEF_STRIPCHART_STRIPRELIEF, Tk_Offset(Stripchart, stripRelief), 0, NULL}, | ^~~~~~~~~~ tkStripchart.c:306:42: error: expected expression before 'Stripchart' 306 | DEF_STRIPCHART_WIDTH, Tk_Offset(Stripchart, strip_width), 0, NULL}, | ^~~~~~~~~~ tkStripchart.c:308:47: error: expected expression before 'Stripchart' 308 | DEF_STRIPCHART_TEXT_COLOR, Tk_Offset(Stripchart, textColorPtr), | ^~~~~~~~~~ tkStripchart.c:311:46: error: expected expression before 'Stripchart' 311 | DEF_STRIPCHART_TEXT_MONO, Tk_Offset(Stripchart, textColorPtr), | ^~~~~~~~~~ tkStripchart.c:314:47: error: expected expression before 'Stripchart' 314 | DEF_STRIPCHART_TICK_COLOR, Tk_Offset(Stripchart, tickColorPtr), | ^~~~~~~~~~ tkStripchart.c:317:46: error: expected expression before 'Stripchart' 317 | DEF_STRIPCHART_TICK_MONO, Tk_Offset(Stripchart, tickColorPtr), | ^~~~~~~~~~ tkStripchart.c:320:42: error: expected expression before 'Stripchart' 320 | DEF_STRIPCHART_TITLE, Tk_Offset(Stripchart, title), 0, NULL}, | ^~~~~~~~~~ tkStripchart.c:322:20: error: expected expression before 'Stripchart' 322 | Tk_Offset(Stripchart, grow_up), 0, NULL}, | ^~~~~~~~~~ tkStripchart.c:324:34: error: expected expression before 'Stripchart' 324 | DEF_USERBITS, Tk_Offset(Stripchart, userbits), 0, NULL}, | ^~~~~~~~~~ tkStripchart.c:326:20: error: expected expression before 'Stripchart' 326 | Tk_Offset(Stripchart, strip_width), 0, NULL}, | ^~~~~~~~~~ tkStripchart.c:337:43: error: unknown type name 'CONST84'; did you mean 'CONST86'? 337 | int argc, CONST84 char* argv[], int flags); //SV-XXX: FreeBSD | ^~~~~~~ | CONST86 tkStripchart.c:343:65: error: unknown type name 'CONST84'; did you mean 'CONST86'? 343 | static void ReplaceColours(Stripchart* StripchartPtr, int argc, CONST84 char* argv[]); //SV-XXX: FreeBSD | ^~~~~~~ | CONST86 tkStripchart.c:347:43: error: unknown type name 'CONST84'; did you mean 'CONST86'? 347 | int argc, CONST84 char* argv[]); //SV-XXX: FreeBSD | ^~~~~~~ | CONST86 tkStripchart.c:375:18: error: unknown type name 'CONST84'; did you mean 'CONST86'? 375 | CONST84 char *argv[]) | ^~~~~~~ | CONST86 tkStripchart.c:431:31: error: unknown type name 'CONST84'; did you mean 'CONST86'? 431 | int argc, CONST84 char *argv[]) //SV-XXX: FreeBSD | ^~~~~~~ | CONST86 tkStripchart.c: In function 'Callback': tkStripchart.c:537:36: warning: implicit declaration of function 'Tk_CreateTimerHandler'; did you mean 'Tcl_CreateTimerHandler'? [-Wimplicit-function-declaration] 537 | Tk_CreateTimerHandler( | ^~~~~~~~~~~~~~~~~~~~~ | Tcl_CreateTimerHandler tkStripchart.c: In function 'DestroyStripchart': tkStripchart.c:563:17: warning: implicit declaration of function 'Tk_DeleteTimerHandler'; did you mean 'Tcl_DeleteTimerHandler'? [-Wimplicit-function-declaration] 563 | Tk_DeleteTimerHandler(StripchartPtr->timer); | ^~~~~~~~~~~~~~~~~~~~~ | Tcl_DeleteTimerHandler tkStripchart.c: At top level: tkStripchart.c:641:31: error: unknown type name 'CONST84'; did you mean 'CONST86'? 641 | int argc, CONST84 char* argv[], int flags) //SV-XXX: FreeBSD | ^~~~~~~ | CONST86 tkStripchart.c: In function 'StripchartEventProc': tkStripchart.c:856:25: warning: implicit declaration of function 'Tk_CancelIdleCall'; did you mean 'Tcl_CancelIdleCall'? [-Wimplicit-function-declaration] 856 | Tk_CancelIdleCall(DisplayStripchart, | ^~~~~~~~~~~~~~~~~ | Tcl_CancelIdleCall tkStripchart.c:859:17: warning: implicit declaration of function 'Tk_EventuallyFree'; did you mean 'Tcl_EventuallyFree'? [-Wimplicit-function-declaration] 859 | Tk_EventuallyFree((ClientData)StripchartPtr, DestroyStripchart); | ^~~~~~~~~~~~~~~~~ | Tcl_EventuallyFree tkStripchart.c: In function 'EventuallyRedrawStripchart': tkStripchart.c:1002:17: warning: implicit declaration of function 'Tk_DoWhenIdle'; did you mean 'Tcl_DoWhenIdle'? [-Wimplicit-function-declaration] 1002 | Tk_DoWhenIdle(DisplayStripchart, (ClientData)StripchartPtr); | ^~~~~~~~~~~~~ | Tcl_DoWhenIdle tkStripchart.c: In function 'SwapColours': tkStripchart.c:1035:9: warning: implicit declaration of function 'ConfigureStripchart' [-Wimplicit-function-declaration] 1035 | ConfigureStripchart(StripchartPtr->interp, StripchartPtr, 0, NULL, | ^~~~~~~~~~~~~~~~~~~ tkStripchart.c: At top level: tkStripchart.c:1052:53: error: unknown type name 'CONST84'; did you mean 'CONST86'? 1052 | ReplaceColours(Stripchart* StripchartPtr, int argc, CONST84 char* argv[]) //SV-XXX: FreeBSD | ^~~~~~~ | CONST86 tkStripchart.c:1020:1: warning: 'SwapColours' defined but not used [-Wunused-function] 1020 | SwapColours(Stripchart * StripchartPtr) | ^~~~~~~~~~~ tkStripchart.c:835:1: warning: 'StripchartEventProc' defined but not used [-Wunused-function] 835 | StripchartEventProc(ClientData clientData, XEvent *eventPtr) | ^~~~~~~~~~~~~~~~~~~ tkStripchart.c:711:1: warning: 'ComputeStripchartGeometry' defined but not used [-Wunused-function] 711 | ComputeStripchartGeometry(Stripchart* StripchartPtr) //SV-XXX: FreeBSD | ^~~~~~~~~~~~~~~~~~~~~~~~~ tkStripchart.c:521:1: warning: 'Callback' defined but not used [-Wunused-function] 521 | Callback(Stripchart *StripchartPtr) | ^~~~~~~~ tkStripchart.c:29:19: warning: 'rcsid' defined but not used [-Wunused-const-variable=] 29 | static const char rcsid[] = | ^~~~~ *** Error code 1 Stop. make: stopped making "all" in /scratch/mbone/vic-devel/work/vic-mpeg4 *** Error code 1 Stop. make[1]: stopped making "all" in /usr/pkgsrc/mbone/vic-devel *** Error code 1 Stop. make: stopped making "all" in /usr/pkgsrc/mbone/vic-devel