=> 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 mgl-0.2.0anb13 (cd lib; /usr/pkg/bin/gmake depend) gmake[1]: Entering directory '/pbulk/work/graphics/mgl/work/mgl2-alpha-020/lib' echo "#define MGLDIR \"/usr/pkg/lib/mgl2\"" > ./config.h echo "#define MAX_COLOR 4096" >> ./config.h echo "#define DULLY_DISPLAY " >> ./config.h echo "#define SUPPORT_GENERIC_4COLOR" >> ./config.h echo "#define SUPPORT_GENERIC_192COLOR" >> ./config.h echo "#define SUPPORT_GENERIC_FULLCOLOR" >> ./config.h echo "#define SUPPORT_CLIENT" >> ./config.h echo "#define FONT_ENGINE_INITIATOR ferom_init" >>./config.h echo "#define EVENT_MANAGER_INITIATOR emx11_init" >> ./config.h echo "#include \"mgl_opt.h\"" >> ./config.h echo "#define OPTIMIZE_FOR" OPTTYPE_ANY >> ./config.h echo "#define SUPPORT_X_KEYMOUSE" >> ./config.h echo "#define IM_DYNAMIC" >> ./config.h echo "#define GP_DYNAMIC" >> ./config.h echo "#define MGL_MACHINE MGL_MACHINE_NONE" >> ./config.h echo "#define MGL_NO_MOUSE" >> ./config.h ( export CC="gcc"; sh ../conf/mkdep.sh -I/usr/X11R7/include -I/usr/pkg/include mgl2.c recpoint.c event_man.c mglcol.c imgopt.c draw_engine.c decol4.c font_engine.c ferom.c textscreen.c memory.c keymap.c emcli.c dec3k.c dec192.c emx11.c ) gmake[1]: Leaving directory '/pbulk/work/graphics/mgl/work/mgl2-alpha-020/lib' (cd lib; /usr/pkg/bin/gmake ) gmake[1]: Entering directory '/pbulk/work/graphics/mgl/work/mgl2-alpha-020/lib' gcc -g -O -I/usr/pkg/include -I/usr/X11R7/include -fPIC -DPIC -o mgl2.xo -c mgl2.c mgl2.c:161:1: warning: return type defaults to 'int' [-Wimplicit-int] 161 | mgl_ignore_auto_close() { | ^~~~~~~~~~~~~~~~~~~~~ mgl2.c: In function 'mgl_set_keymode': mgl2.c:657:5: warning: type of 'mode' defaults to 'int' [-Wimplicit-int] 657 | int mgl_set_keymode(mode) { | ^~~~~~~~~~~~~~~ mgl2.c: At top level: mgl2.c:725:1: warning: return type defaults to 'int' [-Wimplicit-int] 725 | base76_init() { | ^~~~~~~~~~~ gcc -g -O -I/usr/pkg/include -I/usr/X11R7/include -fPIC -DPIC -o recpoint.xo -c recpoint.c In file included from recpoint.c:31: event_man.h:33:18: warning: return type defaults to 'int' [-Wimplicit-int] 33 | #define rp_wrap em_rp_wrap | ^~~~~~~~~~ recpoint.c:184:1: note: in expansion of macro 'rp_wrap' 184 | rp_wrap(struct screen *s) { | ^~~~~~~ gcc -g -O -I/usr/pkg/include -I/usr/X11R7/include -fPIC -DPIC -o event_man.xo -c event_man.c In file included from event_man.c:41: event_man.c: In function 'mgl_create_virtual_key': mgl2.h:35:30: warning: type of 'x' defaults to 'int' [-Wimplicit-int] 35 | #define create_virtual_key mgl_create_virtual_key | ^~~~~~~~~~~~~~~~~~~~~~ event_man.c:146:1: note: in expansion of macro 'create_virtual_key' 146 | create_virtual_key(x,y,xs,ys,keycode) { | ^~~~~~~~~~~~~~~~~~ mgl2.h:35:30: warning: type of 'y' defaults to 'int' [-Wimplicit-int] 35 | #define create_virtual_key mgl_create_virtual_key | ^~~~~~~~~~~~~~~~~~~~~~ event_man.c:146:1: note: in expansion of macro 'create_virtual_key' 146 | create_virtual_key(x,y,xs,ys,keycode) { | ^~~~~~~~~~~~~~~~~~ mgl2.h:35:30: warning: type of 'xs' defaults to 'int' [-Wimplicit-int] 35 | #define create_virtual_key mgl_create_virtual_key | ^~~~~~~~~~~~~~~~~~~~~~ event_man.c:146:1: note: in expansion of macro 'create_virtual_key' 146 | create_virtual_key(x,y,xs,ys,keycode) { | ^~~~~~~~~~~~~~~~~~ mgl2.h:35:30: warning: type of 'ys' defaults to 'int' [-Wimplicit-int] 35 | #define create_virtual_key mgl_create_virtual_key | ^~~~~~~~~~~~~~~~~~~~~~ event_man.c:146:1: note: in expansion of macro 'create_virtual_key' 146 | create_virtual_key(x,y,xs,ys,keycode) { | ^~~~~~~~~~~~~~~~~~ mgl2.h:35:30: warning: type of 'keycode' defaults to 'int' [-Wimplicit-int] 35 | #define create_virtual_key mgl_create_virtual_key | ^~~~~~~~~~~~~~~~~~~~~~ event_man.c:146:1: note: in expansion of macro 'create_virtual_key' 146 | create_virtual_key(x,y,xs,ys,keycode) { | ^~~~~~~~~~~~~~~~~~ event_man.c: In function 'mgl_create_virtual_key3': mgl2.h:36:31: warning: type of 'x' defaults to 'int' [-Wimplicit-int] 36 | #define create_virtual_key3 mgl_create_virtual_key3 | ^~~~~~~~~~~~~~~~~~~~~~~ event_man.c:151:1: note: in expansion of macro 'create_virtual_key3' 151 | create_virtual_key3(x,y,xs,ys,down,move,up) { | ^~~~~~~~~~~~~~~~~~~ mgl2.h:36:31: warning: type of 'y' defaults to 'int' [-Wimplicit-int] 36 | #define create_virtual_key3 mgl_create_virtual_key3 | ^~~~~~~~~~~~~~~~~~~~~~~ event_man.c:151:1: note: in expansion of macro 'create_virtual_key3' 151 | create_virtual_key3(x,y,xs,ys,down,move,up) { | ^~~~~~~~~~~~~~~~~~~ mgl2.h:36:31: warning: type of 'xs' defaults to 'int' [-Wimplicit-int] 36 | #define create_virtual_key3 mgl_create_virtual_key3 | ^~~~~~~~~~~~~~~~~~~~~~~ event_man.c:151:1: note: in expansion of macro 'create_virtual_key3' 151 | create_virtual_key3(x,y,xs,ys,down,move,up) { | ^~~~~~~~~~~~~~~~~~~ mgl2.h:36:31: warning: type of 'ys' defaults to 'int' [-Wimplicit-int] 36 | #define create_virtual_key3 mgl_create_virtual_key3 | ^~~~~~~~~~~~~~~~~~~~~~~ event_man.c:151:1: note: in expansion of macro 'create_virtual_key3' 151 | create_virtual_key3(x,y,xs,ys,down,move,up) { | ^~~~~~~~~~~~~~~~~~~ mgl2.h:36:31: warning: type of 'down' defaults to 'int' [-Wimplicit-int] 36 | #define create_virtual_key3 mgl_create_virtual_key3 | ^~~~~~~~~~~~~~~~~~~~~~~ event_man.c:151:1: note: in expansion of macro 'create_virtual_key3' 151 | create_virtual_key3(x,y,xs,ys,down,move,up) { | ^~~~~~~~~~~~~~~~~~~ mgl2.h:36:31: warning: type of 'move' defaults to 'int' [-Wimplicit-int] 36 | #define create_virtual_key3 mgl_create_virtual_key3 | ^~~~~~~~~~~~~~~~~~~~~~~ event_man.c:151:1: note: in expansion of macro 'create_virtual_key3' 151 | create_virtual_key3(x,y,xs,ys,down,move,up) { | ^~~~~~~~~~~~~~~~~~~ mgl2.h:36:31: warning: type of 'up' defaults to 'int' [-Wimplicit-int] 36 | #define create_virtual_key3 mgl_create_virtual_key3 | ^~~~~~~~~~~~~~~~~~~~~~~ event_man.c:151:1: note: in expansion of macro 'create_virtual_key3' 151 | create_virtual_key3(x,y,xs,ys,down,move,up) { | ^~~~~~~~~~~~~~~~~~~ event_man.c: In function 'mgl_vk_detach': mgl2.h:39:21: warning: type of 'clean_mode' defaults to 'int' [-Wimplicit-int] 39 | #define vk_detach mgl_vk_detach | ^~~~~~~~~~~~~ event_man.c:180:6: note: in expansion of macro 'vk_detach' 180 | void vk_detach(vk,clean_mode) struct virtual_key *vk; { | ^~~~~~~~~ event_man.c: In function 'vk_search': event_man.c:215:5: warning: type of 'x' defaults to 'int' [-Wimplicit-int] 215 | int vk_search(p,x,y) struct virtual_key *p; { | ^~~~~~~~~ event_man.c:215:5: warning: type of 'y' defaults to 'int' [-Wimplicit-int] event_man.c: In function 'vk_match': event_man.c:230:5: warning: type of 'x' defaults to 'int' [-Wimplicit-int] 230 | int vk_match(p,x,y) struct virtual_key *p; { | ^~~~~~~~ event_man.c:230:5: warning: type of 'y' defaults to 'int' [-Wimplicit-int] event_man.c: In function 'vk_reverse': event_man.c:253:6: warning: type of 'mode' defaults to 'int' [-Wimplicit-int] 253 | void vk_reverse(p,mode) struct virtual_key *p; { | ^~~~~~~~~~ In file included from event_man.c:42: event_man.c: In function 'em_screen_switch': event_man.h:30:23: warning: type of 'mode' defaults to 'int' [-Wimplicit-int] 30 | #define screen_switch em_screen_switch | ^~~~~~~~~~~~~~~~ event_man.c:437:5: note: in expansion of macro 'screen_switch' 437 | int screen_switch(mode) { | ^~~~~~~~~~~~~ gcc -g -O -I/usr/pkg/include -I/usr/X11R7/include -fPIC -DPIC -o mglcol.xo -c mglcol.c gcc -g -O -I/usr/pkg/include -I/usr/X11R7/include -fPIC -DPIC -o imgopt.xo -c imgopt.c gcc -g -O -I/usr/pkg/include -I/usr/X11R7/include -fPIC -DPIC -o draw_engine.xo -c draw_engine.c draw_engine.c:478:1: warning: return type defaults to 'int' [-Wimplicit-int] 478 | setup_draw_engine(struct draw_engine *self, int hint) { | ^~~~~~~~~~~~~~~~~ gcc -g -O -I/usr/pkg/include -I/usr/X11R7/include -fPIC -DPIC -o decol4.xo -c decol4.c decol4.c: In function 'dec4_create_memscreen': decol4.c:115:4: warning: implicit declaration of function 'perror' [-Wimplicit-function-declaration] 115 | perror("malloc"); | ^~~~~~ decol4.c:119:3: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] 119 | memset(bitmap,0,ys * wb); | ^~~~~~ decol4.c:119:3: warning: incompatible implicit declaration of built-in function 'memset' decol4.c:34:1: note: include '' or provide a declaration of 'memset' 33 | #include +++ |+#include 34 | decol4.c: In function 'dec4_draw_line_horizontal': decol4.c:546:3: warning: implicit declaration of function 'mgl_memxor' [-Wimplicit-function-declaration] 546 | mgl_memxor(p, 0xff, wb); | ^~~~~~~~~~ decol4.c:564:3: warning: incompatible implicit declaration of built-in function 'memset' 564 | memset(p, lp_mask & 0xff, wb); | ^~~~~~ decol4.c:564:3: note: include '' or provide a declaration of 'memset' decol4.c: In function 'dec4_clear_screen': decol4.c:639:7: warning: incompatible implicit declaration of built-in function 'memset' 639 | memset(p, lp_mask & 0xff, wb); | ^~~~~~ decol4.c:639:7: note: include '' or provide a declaration of 'memset' decol4.c: In function 'dec4_bitblt_copy': decol4.c:701:3: warning: implicit declaration of function 'memmove' [-Wimplicit-function-declaration] 701 | memmove(dp,sp,len); | ^~~~~~~ decol4.c:701:3: warning: incompatible implicit declaration of built-in function 'memmove' decol4.c:701:3: note: include '' or provide a declaration of 'memmove' decol4.c:710:2: warning: implicit declaration of function 'bitblt_generic' [-Wimplicit-function-declaration] 710 | bitblt_generic(dst,dx,dy,src,sx,sy,xsize,ysize,op); | ^~~~~~~~~~~~~~ decol4.c: In function 'dec4_bitblt_scroll_forward': decol4.c:757:3: warning: incompatible implicit declaration of built-in function 'memmove' 757 | memmove(dp,sp,len); | ^~~~~~~ decol4.c:757:3: note: include '' or provide a declaration of 'memmove' decol4.c: In function 'dec4_bitblt_scroll_backward': decol4.c:815:3: warning: incompatible implicit declaration of built-in function 'memmove' 815 | memmove(dp,sp,len); | ^~~~~~~ decol4.c:815:3: note: include '' or provide a declaration of 'memmove' decol4.c: In function 'dec4_init': decol4.c:854:2: warning: implicit declaration of function 'setup_draw_engine' [-Wimplicit-function-declaration] 854 | setup_draw_engine(&dec4,0); | ^~~~~~~~~~~~~~~~~ gcc -g -O -I/usr/pkg/include -I/usr/X11R7/include -fPIC -DPIC -o font_engine.xo -c font_engine.c gcc -g -O -I/usr/pkg/include -I/usr/X11R7/include -fPIC -DPIC -o ferom.xo -c ferom.c ferom.c: In function 'ferom_load_font': ferom.c:404:7: warning: implicit declaration of function 'open'; did you mean 'popen'? [-Wimplicit-function-declaration] 404 | fd = open(fpath,0); | ^~~~ | popen ferom.c:425:17: warning: passing argument 1 of 'fclose' makes pointer from integer without a cast [-Wint-conversion] 425 | fclose(fd); | ^~ | | | int In file included from ferom.c:34: /usr/include/stdio.h:225:13: note: expected 'FILE *' but argument is of type 'int' 225 | int fclose(FILE *); | ^~~~~~ ferom.c: In function 'ferom_init': ferom.c:456:14: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 456 | if (fd > 0) close(fd); | ^~~~~ | pclose gcc -g -O -I/usr/pkg/include -I/usr/X11R7/include -fPIC -DPIC -o textscreen.xo -c textscreen.c textscreen.c: In function 'mgl_create_textscreen': textscreen.c:64:3: warning: implicit declaration of function 'perror' [-Wimplicit-function-declaration] 64 | perror("malloc"); | ^~~~~~ gcc -g -O -I/usr/pkg/include -I/usr/X11R7/include -fPIC -DPIC -o memory.xo -c memory.c gcc -g -O -I/usr/pkg/include -I/usr/X11R7/include -fPIC -DPIC -o keymap.xo -c keymap.c keymap.c:383:1: warning: return type defaults to 'int' [-Wimplicit-int] 383 | sym_trans_tab_init() { | ^~~~~~~~~~~~~~~~~~ keymap.c: In function 'mgl_get_keysym': keymap.c:419:8: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 419 | if (!strcmp(sv_tab[i].sym,name)) { | ^~~~~~ keymap.c: In function 'find_sym': keymap.c:467:6: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 467 | if (strlen(name) == 1) { | ^~~~~~ keymap.c:467:6: warning: incompatible implicit declaration of built-in function 'strlen' keymap.c:36:1: note: include '' or provide a declaration of 'strlen' 35 | #include "event_man.h" +++ |+#include 36 | keymap.c: In function 'mgl_get_keymap': keymap.c:480:2: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 480 | strcpy(sym1,""); | ^~~~~~ keymap.c:480:2: warning: incompatible implicit declaration of built-in function 'strcpy' keymap.c:480:2: note: include '' or provide a declaration of 'strcpy' keymap.c: In function 'mk_load_keymap': keymap.c:613:8: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] 613 | if (!strncmp("localtranslate",p,strlen("localtranslate"))) { | ^~~~~~~ keymap.c:613:35: warning: incompatible implicit declaration of built-in function 'strlen' 613 | if (!strncmp("localtranslate",p,strlen("localtranslate"))) { | ^~~~~~ keymap.c:613:35: note: include '' or provide a declaration of 'strlen' keymap.c:630:16: warning: incompatible implicit declaration of built-in function 'strcpy' 630 | if (n == 2) strcpy(sym2,sym1); | ^~~~~~ keymap.c:630:16: note: include '' or provide a declaration of 'strcpy' keymap.c:631:16: warning: incompatible implicit declaration of built-in function 'strcpy' 631 | if (n == 3) strcpy(sym3,"none"); | ^~~~~~ keymap.c:631:16: note: include '' or provide a declaration of 'strcpy' keymap.c: In function 'mk_init_keymap': keymap.c:687:6: warning: incompatible implicit declaration of built-in function 'strcpy' 687 | strcpy(fname,MGLDIR); | ^~~~~~ keymap.c:687:6: note: include '' or provide a declaration of 'strcpy' keymap.c:688:6: warning: implicit declaration of function 'strcat' [-Wimplicit-function-declaration] 688 | strcat(fname,"/keymap"); | ^~~~~~ keymap.c:688:6: warning: incompatible implicit declaration of built-in function 'strcat' keymap.c:688:6: note: include '' or provide a declaration of 'strcat' keymap.c:697:6: warning: incompatible implicit declaration of built-in function 'strcpy' 697 | strcpy(fname,MGLDIR); | ^~~~~~ keymap.c:697:6: note: include '' or provide a declaration of 'strcpy' keymap.c:698:6: warning: incompatible implicit declaration of built-in function 'strcat' 698 | strcat(fname,"/keymap"); | ^~~~~~ keymap.c:698:6: note: include '' or provide a declaration of 'strcat' keymap.c: At top level: keymap.c:1047:1: warning: return type defaults to 'int' [-Wimplicit-int] 1047 | mk_dump_keymap(char *s) { | ^~~~~~~~~~~~~~ keymap.c: In function 'mk_init': keymap.c:528:23: warning: iteration 28 invokes undefined behavior [-Waggressive-loop-optimizations] 528 | mgl_keymap[ec_ext[i].kc][0] = ec_ext[i].tc[0]; | ~~~~~~~~~^~~ keymap.c:527:2: note: within this loop 527 | for (i=0; i< sizeof(ec_base)/sizeof(ec_ext[0]);i++) { | ^~~ gcc -g -O -I/usr/pkg/include -I/usr/X11R7/include -fPIC -DPIC -o emcli.xo -c emcli.c In file included from emcli.c:45: em_comm.h:99:15: warning: return type defaults to 'int' [-Wimplicit-int] 99 | static inline emc_packet_print(char *s,struct emc_packet *p) { | ^~~~~~~~~~~~~~~~ emcli.c: In function 'emc_execute_event': emcli.c:151:3: warning: implicit declaration of function 'vk_mouse_move' [-Wimplicit-function-declaration] 151 | vk_mouse_move(x,y); | ^~~~~~~~~~~~~ emcli.c:155:3: warning: implicit declaration of function 'vk_mouse_up' [-Wimplicit-function-declaration] 155 | vk_mouse_up(x,y); | ^~~~~~~~~~~ emcli.c:160:3: warning: implicit declaration of function 'vk_mouse_down' [-Wimplicit-function-declaration] 160 | vk_mouse_down(x,y); | ^~~~~~~~~~~~~ In file included from emcli.c:43: event_man.h:30:23: warning: implicit declaration of function 'em_screen_switch'; did you mean 'screen_switch'? [-Wimplicit-function-declaration] 30 | #define screen_switch em_screen_switch | ^~~~~~~~~~~~~~~~ emcli.c:165:4: note: in expansion of macro 'screen_switch' 165 | screen_switch(1); | ^~~~~~~~~~~~~ emcli.c: In function 'emc_get_key_common': event_man.h:29:25: warning: implicit declaration of function 'em_get_key_nodelay'; did you mean 'get_key_nodelay'? [-Wimplicit-function-declaration] 29 | #define get_key_nodelay em_get_key_nodelay | ^~~~~~~~~~~~~~~~~~ emcli.c:287:13: note: in expansion of macro 'get_key_nodelay' 287 | int ret = get_key_nodelay(); | ^~~~~~~~~~~~~~~ emcli.c: In function 'emc_init': event_man.h:50:32: warning: implicit declaration of function 'em_create_physical_screen'; did you mean 'create_physical_screen'? [-Wimplicit-function-declaration] 50 | #define create_physical_screen em_create_physical_screen | ^~~~~~~~~~~~~~~~~~~~~~~~~ emcli.c:681:2: note: in expansion of macro 'create_physical_screen' 681 | create_physical_screen(STK_NATIVE,SCREEN_WIDTH,SCREEN_HEIGHT,NULL); | ^~~~~~~~~~~~~~~~~~~~~~ event_man.h:33:18: warning: implicit declaration of function 'em_rp_wrap'; did you mean 'rp_wrap'? [-Wimplicit-function-declaration] 33 | #define rp_wrap em_rp_wrap | ^~~~~~~~~~ emcli.c:682:2: note: in expansion of macro 'rp_wrap' 682 | rp_wrap(physical_screen); | ^~~~~~~ gcc -g -O -I/usr/pkg/include -I/usr/X11R7/include -fPIC -DPIC -o dec3k.xo -c dec3k.c dec3k.c: In function 'dec3k_create_memscreen': dec3k.c:59:4: warning: implicit declaration of function 'perror' [-Wimplicit-function-declaration] 59 | perror("malloc"); | ^~~~~~ dec3k.c:63:3: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] 63 | memset(bitmap,0,ys * wb); | ^~~~~~ dec3k.c:63:3: warning: incompatible implicit declaration of built-in function 'memset' dec3k.c:34:1: note: include '' or provide a declaration of 'memset' 33 | #include +++ |+#include 34 | dec3k.c: In function 'dec3k_draw_line_horizontal': dec3k.c:389:3: warning: implicit declaration of function 'mgl_memxor2' [-Wimplicit-function-declaration] 389 | mgl_memxor2(p, 0x0f, wp); | ^~~~~~~~~~~ dec3k.c:397:3: warning: implicit declaration of function 'mgl_memset2' [-Wimplicit-function-declaration] 397 | mgl_memset2(p, pen_color, wp); | ^~~~~~~~~~~ dec3k.c: In function 'dec3k_bitblt_copy': dec3k.c:491:3: warning: implicit declaration of function 'memmove' [-Wimplicit-function-declaration] 491 | memmove(dp,sp,len); | ^~~~~~~ dec3k.c:491:3: warning: incompatible implicit declaration of built-in function 'memmove' dec3k.c:491:3: note: include '' or provide a declaration of 'memmove' dec3k.c: In function 'dec3k_bitblt_scroll_forward': dec3k.c:519:3: warning: incompatible implicit declaration of built-in function 'memmove' 519 | memmove(dp,sp,len); | ^~~~~~~ dec3k.c:519:3: note: include '' or provide a declaration of 'memmove' dec3k.c: In function 'dec3k_bitblt_scroll_backward': dec3k.c:549:3: warning: incompatible implicit declaration of built-in function 'memmove' 549 | memmove(dp,sp,len); | ^~~~~~~ dec3k.c:549:3: note: include '' or provide a declaration of 'memmove' dec3k.c: In function 'dec3k_init': dec3k.c:582:2: warning: implicit declaration of function 'setup_draw_engine' [-Wimplicit-function-declaration] 582 | setup_draw_engine(&dec3k,0); | ^~~~~~~~~~~~~~~~~ gcc -g -O -I/usr/pkg/include -I/usr/X11R7/include -fPIC -DPIC -o dec192.xo -c dec192.c dec192.c: In function 'dec192_create_memscreen': dec192.c:84:4: warning: implicit declaration of function 'perror' [-Wimplicit-function-declaration] 84 | perror("malloc"); | ^~~~~~ dec192.c:88:3: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] 88 | memset(bitmap,0,ys * wb); | ^~~~~~ dec192.c:88:3: warning: incompatible implicit declaration of built-in function 'memset' dec192.c:34:1: note: include '' or provide a declaration of 'memset' 33 | #include +++ |+#include 34 | dec192.c: In function 'dec192_draw_line_horizontal': dec192.c:540:3: warning: implicit declaration of function 'mgl_memxor' [-Wimplicit-function-declaration] 540 | mgl_memxor(p, 0x3, wb); | ^~~~~~~~~~ dec192.c:551:3: warning: incompatible implicit declaration of built-in function 'memset' 551 | memset(p, lp_color, wb); | ^~~~~~ dec192.c:551:3: note: include '' or provide a declaration of 'memset' dec192.c: In function 'dec192_clear_screen': dec192.c:609:7: warning: incompatible implicit declaration of built-in function 'memset' 609 | memset(p, lp_color, wb); | ^~~~~~ dec192.c:609:7: note: include '' or provide a declaration of 'memset' dec192.c: In function 'dec192_bitblt_copy': dec192.c:646:3: warning: implicit declaration of function 'memmove' [-Wimplicit-function-declaration] 646 | memmove(dp,sp,len); | ^~~~~~~ dec192.c:646:3: warning: incompatible implicit declaration of built-in function 'memmove' dec192.c:646:3: note: include '' or provide a declaration of 'memmove' dec192.c: In function 'dec192_bitblt_scroll_forward': dec192.c:674:3: warning: incompatible implicit declaration of built-in function 'memmove' 674 | memmove(dp,sp,len); | ^~~~~~~ dec192.c:674:3: note: include '' or provide a declaration of 'memmove' dec192.c: In function 'dec192_bitblt_scroll_backward': dec192.c:704:3: warning: incompatible implicit declaration of built-in function 'memmove' 704 | memmove(dp,sp,len); | ^~~~~~~ dec192.c:704:3: note: include '' or provide a declaration of 'memmove' dec192.c: In function 'dec192_init': dec192.c:737:2: warning: implicit declaration of function 'setup_draw_engine' [-Wimplicit-function-declaration] 737 | setup_draw_engine(&dec192,0); | ^~~~~~~~~~~~~~~~~ gcc -g -O -I/usr/pkg/include -I/usr/X11R7/include -fPIC -DPIC -o emx11.xo -c emx11.c emx11.c:56:10: fatal error: X11/Xlib.h: No such file or directory 56 | #include | ^~~~~~~~~~~~ compilation terminated. gmake[1]: *** [Makefile:130: emx11.xo] Error 1 gmake[1]: Leaving directory '/pbulk/work/graphics/mgl/work/mgl2-alpha-020/lib' gmake: *** [Makefile:3: all] Error 2 *** Error code 2 Stop. make[1]: stopped in /usr/pkgsrc/graphics/mgl *** Error code 1 Stop. make: stopped in /usr/pkgsrc/graphics/mgl