=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Building for cambevao-2.2nb7 --- main.o --- --- font.o --- --- server.o --- --- main.o --- clang -Wall -O2 -I/usr/pkg/include -DPROGRAM=\"cambevao\" -DMAX_CONN=3 -I/usr/pkg/include -c main.c --- font.o --- clang -Wall -O2 -I/usr/pkg/include -DPROGRAM=\"cambevao\" -DMAX_CONN=3 -I/usr/pkg/include -c font.c --- server.o --- clang -Wall -O2 -I/usr/pkg/include -DPROGRAM=\"cambevao\" -DMAX_CONN=3 -I/usr/pkg/include -c server.c --- log.o --- clang -Wall -O2 -I/usr/pkg/include -DPROGRAM=\"cambevao\" -DMAX_CONN=3 -I/usr/pkg/include -c log.c --- main.o --- main.c:170:43: warning: passing 'char [65533]' to parameter of type 'const JOCTET *' (aka 'const unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign] jpeg_write_marker(&cam->cinfo, JPEG_COM, marker, strlen(marker)); --- server.o --- server.c:448:55: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] --- main.o --- ^~~~~~ --- prefs.o --- --- main.o --- /var/pkgsrc/work/graphics/cambevao/work/.buildlink/include/jpeglib.h:1029:22: note: passing argument to parameter 'dataptr' here const JOCTET * dataptr, unsigned int datalen)); ^ main.c:179:20: warning: initializing 'unsigned char *' with an expression of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] unsigned char *p = cam->copybuf; ^ ~~~~~~~~~~~~ main.c:206:8: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] p = cam->copybuf + ts * cam->fontwidth * 3; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:221:8: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] --- server.o --- nsock = accept(isock, (struct sockaddr *) &cli_addr, &clen); ^~~~~ /usr/include/sys/socket.h:615:69: note: passing argument to parameter here int accept(int, struct sockaddr * __restrict, socklen_t * __restrict); ^ server.c:644:9: warning: format specifies type 'size_t' (aka 'unsigned long') but the argument has type 'int' [-Wformat] get_filesize(cam->prefs->filename)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- main.o --- p = cam->copybuf + OFFSET * cam->fontwidth * 3; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:241:18: warning: assigning to 'JSAMPROW' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign] row_pointer[0] = cam->copybuf; ^ ~~~~~~~~~~~~ main.c:402:29: warning: implicit declaration of function 'ntohs' is invalid in C99 [-Wimplicit-function-declaration] cam->prefs->server_port = ntohs(serv->s_port); ^ --- prefs.o --- clang -Wall -O2 -I/usr/pkg/include -DPROGRAM=\"cambevao\" -DMAX_CONN=3 -I/usr/pkg/include -c prefs.c --- server.o --- server.c:660:9: warning: format specifies type 'size_t' (aka 'unsigned long') but the argument has type 'int' [-Wformat] get_filesize(cam->prefs->filename)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- prefs.o --- In file included from prefs.c:34: /usr/include/sys/syslimits.h:41:2: warning: "No user-serviceable parts inside." [-W#warnings] #warning "No user-serviceable parts inside." ^ --- main.o --- 6 warnings generated. --- cams.o --- clang -Wall -O2 -I/usr/pkg/include -DPROGRAM=\"cambevao\" -DMAX_CONN=3 -I/usr/pkg/include -c cams.c --- prefs.o --- 1 warning generated. --- cam_bktr.o --- clang -Wall -O2 -I/usr/pkg/include -DPROGRAM=\"cambevao\" -DMAX_CONN=3 -I/usr/pkg/include -c cam_bktr.c --- cam_ov511.o --- clang -Wall -O2 -I/usr/pkg/include -DPROGRAM=\"cambevao\" -DMAX_CONN=3 -I/usr/pkg/include -c cam_ov511.c --- cam_bktr.o --- cam_bktr.c:54:10: fatal error: 'machine/ioctl_meteor.h' file not found #include ^~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. *** [cam_bktr.o] Error code 1 bmake: stopped in /var/pkgsrc/work/graphics/cambevao/work/cambevao-2.2 --- server.o --- 3 warnings generated. --- cam_ov511.o --- cam_ov511.c:300:27: error: variable has incomplete type 'struct usb_alt_interface' struct usb_alt_interface alt; ^ cam_ov511.c:300:9: note: forward declaration of 'struct usb_alt_interface' struct usb_alt_interface alt; ^ cam_ov511.c:565:22: error: use of undeclared identifier 'USB_SET_ALTINTERFACE' if(ioctl(cam->ctrl, USB_SET_ALTINTERFACE, &alt) < 0) ^ cam_ov511.c:695:25: error: variable has incomplete type 'struct usb_device_info' struct usb_device_info devinfo; ^ cam_ov511.c:695:9: note: forward declaration of 'struct usb_device_info' struct usb_device_info devinfo; ^ cam_ov511.c:697:22: error: use of undeclared identifier 'USB_GET_DEVICEINFO' if(ioctl(cam->ctrl, USB_GET_DEVICEINFO, &devinfo) < 0) ^ cam_ov511.c:717:25: error: variable has incomplete type 'struct usb_ctl_request' struct usb_ctl_request req; ^ cam_ov511.c:717:9: note: forward declaration of 'struct usb_ctl_request' struct usb_ctl_request req; ^ cam_ov511.c:731:22: error: use of undeclared identifier 'USB_DO_REQUEST' if(ioctl(cam->ctrl, USB_DO_REQUEST, &req) < 0) ^ cam_ov511.c:758:8: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] while(!usb_read(cam, OV511_SCCB_CTRL) & SCCBR_IDLE) ^ ~ cam_ov511.c:758:8: note: add parentheses after the '!' to evaluate the bitwise operator first while(!usb_read(cam, OV511_SCCB_CTRL) & SCCBR_IDLE) ^ ( ) cam_ov511.c:758:8: note: add parentheses around left hand side expression to silence this warning while(!usb_read(cam, OV511_SCCB_CTRL) & SCCBR_IDLE) ^ ( ) cam_ov511.c:776:8: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] while(!usb_read(cam, OV511_SCCB_CTRL) & SCCBR_IDLE) ^ ~ cam_ov511.c:776:8: note: add parentheses after the '!' to evaluate the bitwise operator first while(!usb_read(cam, OV511_SCCB_CTRL) & SCCBR_IDLE) ^ ( ) cam_ov511.c:776:8: note: add parentheses around left hand side expression to silence this warning while(!usb_read(cam, OV511_SCCB_CTRL) & SCCBR_IDLE) ^ ( ) cam_ov511.c:793:9: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] while(!(status = usb_read(cam, OV511_SCCB_CTRL)) & SCCBR_IDLE) ^ ~ cam_ov511.c:793:9: note: add parentheses after the '!' to evaluate the bitwise operator first while(!(status = usb_read(cam, OV511_SCCB_CTRL)) & SCCBR_IDLE) ^ ( ) cam_ov511.c:793:9: note: add parentheses around left hand side expression to silence this warning while(!(status = usb_read(cam, OV511_SCCB_CTRL)) & SCCBR_IDLE) ^ ( ) 3 warnings and 6 errors generated. *** [cam_ov511.o] Error code 1 bmake: stopped in /var/pkgsrc/work/graphics/cambevao/work/cambevao-2.2 2 errors bmake: stopped in /var/pkgsrc/work/graphics/cambevao/work/cambevao-2.2 *** Error code 2 Stop. bmake[1]: stopped in /usr/pkgsrc/graphics/cambevao *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/graphics/cambevao