=> 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] mgl_ignore_auto_close() { ^~~~~~~~~~~~~~~~~~~~~ mgl2.c: In function 'mgl_set_keymode': mgl2.c:657:5: warning: type of 'mode' defaults to 'int' [-Wimplicit-int] int mgl_set_keymode(mode) { ^~~~~~~~~~~~~~~ mgl2.c: At top level: mgl2.c:725:1: warning: return type defaults to 'int' [-Wimplicit-int] 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:0: event_man.h:33:18: warning: return type defaults to 'int' [-Wimplicit-int] #define rp_wrap em_rp_wrap ^ recpoint.c:184:1: note: in expansion of macro 'rp_wrap' 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:0: event_man.c: In function 'mgl_create_virtual_key': mgl2.h:35:30: warning: type of 'x' defaults to 'int' [-Wimplicit-int] #define create_virtual_key mgl_create_virtual_key ^ event_man.c:146:1: note: in expansion of macro 'create_virtual_key' create_virtual_key(x,y,xs,ys,keycode) { ^~~~~~~~~~~~~~~~~~ mgl2.h:35:30: warning: type of 'y' defaults to 'int' [-Wimplicit-int] #define create_virtual_key mgl_create_virtual_key ^ event_man.c:146:1: note: in expansion of macro 'create_virtual_key' create_virtual_key(x,y,xs,ys,keycode) { ^~~~~~~~~~~~~~~~~~ mgl2.h:35:30: warning: type of 'xs' defaults to 'int' [-Wimplicit-int] #define create_virtual_key mgl_create_virtual_key ^ event_man.c:146:1: note: in expansion of macro 'create_virtual_key' create_virtual_key(x,y,xs,ys,keycode) { ^~~~~~~~~~~~~~~~~~ mgl2.h:35:30: warning: type of 'ys' defaults to 'int' [-Wimplicit-int] #define create_virtual_key mgl_create_virtual_key ^ event_man.c:146:1: note: in expansion of macro 'create_virtual_key' create_virtual_key(x,y,xs,ys,keycode) { ^~~~~~~~~~~~~~~~~~ mgl2.h:35:30: warning: type of 'keycode' defaults to 'int' [-Wimplicit-int] #define create_virtual_key mgl_create_virtual_key ^ event_man.c:146:1: note: in expansion of macro 'create_virtual_key' 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] #define create_virtual_key3 mgl_create_virtual_key3 ^ event_man.c:151:1: note: in expansion of macro 'create_virtual_key3' create_virtual_key3(x,y,xs,ys,down,move,up) { ^~~~~~~~~~~~~~~~~~~ mgl2.h:36:31: warning: type of 'y' defaults to 'int' [-Wimplicit-int] #define create_virtual_key3 mgl_create_virtual_key3 ^ event_man.c:151:1: note: in expansion of macro 'create_virtual_key3' create_virtual_key3(x,y,xs,ys,down,move,up) { ^~~~~~~~~~~~~~~~~~~ mgl2.h:36:31: warning: type of 'xs' defaults to 'int' [-Wimplicit-int] #define create_virtual_key3 mgl_create_virtual_key3 ^ event_man.c:151:1: note: in expansion of macro 'create_virtual_key3' create_virtual_key3(x,y,xs,ys,down,move,up) { ^~~~~~~~~~~~~~~~~~~ mgl2.h:36:31: warning: type of 'ys' defaults to 'int' [-Wimplicit-int] #define create_virtual_key3 mgl_create_virtual_key3 ^ event_man.c:151:1: note: in expansion of macro 'create_virtual_key3' create_virtual_key3(x,y,xs,ys,down,move,up) { ^~~~~~~~~~~~~~~~~~~ mgl2.h:36:31: warning: type of 'down' defaults to 'int' [-Wimplicit-int] #define create_virtual_key3 mgl_create_virtual_key3 ^ event_man.c:151:1: note: in expansion of macro 'create_virtual_key3' create_virtual_key3(x,y,xs,ys,down,move,up) { ^~~~~~~~~~~~~~~~~~~ mgl2.h:36:31: warning: type of 'move' defaults to 'int' [-Wimplicit-int] #define create_virtual_key3 mgl_create_virtual_key3 ^ event_man.c:151:1: note: in expansion of macro 'create_virtual_key3' create_virtual_key3(x,y,xs,ys,down,move,up) { ^~~~~~~~~~~~~~~~~~~ mgl2.h:36:31: warning: type of 'up' defaults to 'int' [-Wimplicit-int] #define create_virtual_key3 mgl_create_virtual_key3 ^ event_man.c:151:1: note: in expansion of macro 'create_virtual_key3' 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] #define vk_detach mgl_vk_detach ^ event_man.c:180:6: note: in expansion of macro 'vk_detach' 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] 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] 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] void vk_reverse(p,mode) struct virtual_key *p; { ^~~~~~~~~~ In file included from event_man.c:42:0: event_man.c: In function 'em_screen_switch': event_man.h:30:23: warning: type of 'mode' defaults to 'int' [-Wimplicit-int] #define screen_switch em_screen_switch ^ event_man.c:437:5: note: in expansion of macro 'screen_switch' 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] 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] perror("malloc"); ^~~~~~ decol4.c:119:3: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] memset(bitmap,0,ys * wb); ^~~~~~ decol4.c:119:3: warning: incompatible implicit declaration of built-in function 'memset' decol4.c:119:3: note: include '' or provide a declaration of 'memset' decol4.c: In function 'dec4_draw_line_horizontal': decol4.c:546:3: warning: implicit declaration of function 'mgl_memxor'; did you mean 'mgl_getenv'? [-Wimplicit-function-declaration] mgl_memxor(p, 0xff, wb); ^~~~~~~~~~ mgl_getenv decol4.c:564:3: warning: incompatible implicit declaration of built-in function 'memset' 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' 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] 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'; did you mean 'bitblt_copy'? [-Wimplicit-function-declaration] bitblt_generic(dst,dx,dy,src,sx,sy,xsize,ysize,op); ^~~~~~~~~~~~~~ bitblt_copy decol4.c: In function 'dec4_bitblt_scroll_forward': decol4.c:757:3: warning: incompatible implicit declaration of built-in function 'memmove' 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' 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'; did you mean 'mgl2_draw_line'? [-Wimplicit-function-declaration] setup_draw_engine(&dec4,0); ^~~~~~~~~~~~~~~~~ mgl2_draw_line 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] fd = open(fpath,0); ^~~~ popen ferom.c:425:17: warning: passing argument 1 of 'fclose' makes pointer from integer without a cast [-Wint-conversion] fclose(fd); ^~ In file included from ferom.c:34:0: /usr/include/stdio.h:224:6: note: expected 'FILE * {aka struct __sFILE *}' but argument is of type 'int' 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] 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] 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] sym_trans_tab_init() { ^~~~~~~~~~~~~~~~~~ keymap.c: In function 'mgl_get_keysym': keymap.c:419:8: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 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] if (strlen(name) == 1) { ^~~~~~ keymap.c:467:6: warning: incompatible implicit declaration of built-in function 'strlen' keymap.c:467:6: note: include '' or provide a declaration of 'strlen' keymap.c: In function 'mgl_get_keymap': keymap.c:480:2: warning: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 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] if (!strncmp("localtranslate",p,strlen("localtranslate"))) { ^~~~~~~ keymap.c:613:35: warning: incompatible implicit declaration of built-in function 'strlen' 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' 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' 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' 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] 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' 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' 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] mk_dump_keymap(char *s) { ^~~~~~~~~~~~~~ keymap.c: In function 'mk_init': keymap.c:528:23: warning: iteration 28 invokes undefined behavior [-Waggressive-loop-optimizations] mgl_keymap[ec_ext[i].kc][0] = ec_ext[i].tc[0]; ~~~~~~~~~^~~ keymap.c:527:2: note: within this loop 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:0: em_comm.h:99:15: warning: return type defaults to 'int' [-Wimplicit-int] 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'; did you mean 'mgl_mouse_proc'? [-Wimplicit-function-declaration] vk_mouse_move(x,y); ^~~~~~~~~~~~~ mgl_mouse_proc emcli.c:155:3: warning: implicit declaration of function 'vk_mouse_up'; did you mean 'mgl_mouse_proc'? [-Wimplicit-function-declaration] vk_mouse_up(x,y); ^~~~~~~~~~~ mgl_mouse_proc emcli.c:160:3: warning: implicit declaration of function 'vk_mouse_down'; did you mean 'mgl_mouse_proc'? [-Wimplicit-function-declaration] vk_mouse_down(x,y); ^~~~~~~~~~~~~ mgl_mouse_proc In file included from emcli.c:43:0: event_man.h:30:23: warning: implicit declaration of function 'em_screen_switch'; did you mean 'screen_switch'? [-Wimplicit-function-declaration] #define screen_switch em_screen_switch ^ emcli.c:165:4: note: in expansion of macro 'screen_switch' 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] #define get_key_nodelay em_get_key_nodelay ^ emcli.c:287:13: note: in expansion of macro 'get_key_nodelay' 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] #define create_physical_screen em_create_physical_screen ^ emcli.c:681:2: note: in expansion of macro 'create_physical_screen' 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] #define rp_wrap em_rp_wrap ^ emcli.c:682:2: note: in expansion of macro 'rp_wrap' 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] perror("malloc"); ^~~~~~ dec3k.c:63:3: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] memset(bitmap,0,ys * wb); ^~~~~~ dec3k.c:63:3: warning: incompatible implicit declaration of built-in function 'memset' dec3k.c:63:3: note: include '' or provide a declaration of 'memset' dec3k.c: In function 'dec3k_draw_line_horizontal': dec3k.c:389:3: warning: implicit declaration of function 'mgl_memxor2' [-Wimplicit-function-declaration] mgl_memxor2(p, 0x0f, wp); ^~~~~~~~~~~ dec3k.c:397:3: warning: implicit declaration of function 'mgl_memset2'; did you mean 'mgl_getenv'? [-Wimplicit-function-declaration] mgl_memset2(p, pen_color, wp); ^~~~~~~~~~~ mgl_getenv dec3k.c: In function 'dec3k_bitblt_copy': dec3k.c:491:3: warning: implicit declaration of function 'memmove' [-Wimplicit-function-declaration] 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' 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' 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'; did you mean 'mgl2_draw_line'? [-Wimplicit-function-declaration] setup_draw_engine(&dec3k,0); ^~~~~~~~~~~~~~~~~ mgl2_draw_line 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] perror("malloc"); ^~~~~~ dec192.c:88:3: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] memset(bitmap,0,ys * wb); ^~~~~~ dec192.c:88:3: warning: incompatible implicit declaration of built-in function 'memset' dec192.c:88:3: note: include '' or provide a declaration of 'memset' dec192.c: In function 'dec192_draw_line_horizontal': dec192.c:540:3: warning: implicit declaration of function 'mgl_memxor'; did you mean 'mgl_getenv'? [-Wimplicit-function-declaration] mgl_memxor(p, 0x3, wb); ^~~~~~~~~~ mgl_getenv dec192.c:551:3: warning: incompatible implicit declaration of built-in function 'memset' 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' 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] 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' 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' 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'; did you mean 'mgl2_draw_line'? [-Wimplicit-function-declaration] setup_draw_engine(&dec192,0); ^~~~~~~~~~~~~~~~~ mgl2_draw_line gcc -g -O -I/usr/pkg/include -I/usr/X11R7/include -fPIC -DPIC -o emx11.xo -c emx11.c In file included from emx11.c:104:0: emx11.c: In function 'emx11_get_key': event_man.h:29:25: warning: implicit declaration of function 'em_get_key_nodelay'; did you mean 'get_key_nodelay'? [-Wimplicit-function-declaration] #define get_key_nodelay em_get_key_nodelay ^ emx11.c:493:10: note: in expansion of macro 'get_key_nodelay' return get_key_nodelay(); ^~~~~~~~~~~~~~~ emx11.c: In function 'xevent_check': emx11.c:837:3: warning: implicit declaration of function 'vk_mouse_move'; did you mean 'mgl_mouse_proc'? [-Wimplicit-function-declaration] vk_mouse_move(x,y); ^~~~~~~~~~~~~ mgl_mouse_proc emx11.c:848:5: warning: implicit declaration of function 'vk_mouse_up'; did you mean 'mgl_mouse_proc'? [-Wimplicit-function-declaration] vk_mouse_up(x,y); ^~~~~~~~~~~ mgl_mouse_proc emx11.c:861:5: warning: implicit declaration of function 'vk_mouse_down'; did you mean 'mgl_mouse_proc'? [-Wimplicit-function-declaration] vk_mouse_down(x,y); ^~~~~~~~~~~~~ mgl_mouse_proc gcc -shared -Wl,-soname,libmgl2.so.2.0 -o libmgl2.so.2.0.19.3 mgl2.xo recpoint.xo event_man.xo mglcol.xo imgopt.xo draw_engine.xo decol4.xo font_engine.xo ferom.xo textscreen.xo memory.xo keymap.xo emcli.xo dec3k.xo dec192.xo emx11.xo -L/usr/X11R7/lib -Wl,-rpath,/usr/X11R7/lib -lX11 -lXtst -lXext ln -sf libmgl2.so.2.0.19.3 libmgl2.so.2.0 ln -sf libmgl2.so.2.0 libmgl2.so ln -sf libmgl2.so.2.0 libmgl2.so.2 gmake[1]: Leaving directory '/pbulk/work/graphics/mgl/work/mgl2-alpha-020/lib' (cd bin; /usr/pkg/bin/gmake ) gmake[1]: Entering directory '/pbulk/work/graphics/mgl/work/mgl2-alpha-020/bin' gcc -g -o mglsvrcons -g -O -I../lib -I../lib -I/usr/X11R7/include ../lib/emsvr.c ../lib/taskbar.c \ -DSVR_EVENT_MANAGER_INITIATOR=emx11_init \ -L../lib -rdynamic -Wl,-rpath,/usr/X11R7/lib -L/usr/X11R7/lib -Wl,-rpath,/usr/pkg/lib -L/usr/pkg/lib -lmgl2 -L/usr/X11R7/lib -Wl,-rpath,/usr/X11R7/lib -lX11 -lXtst -lXext In file included from ../lib/emsvr.c:50:0: ../lib/em_comm.h:99:15: warning: return type defaults to 'int' [-Wimplicit-int] static inline emc_packet_print(char *s,struct emc_packet *p) { ^~~~~~~~~~~~~~~~ ../lib/emsvr.c: In function 'draw_gp_status': ../lib/emsvr.c:199:2: warning: implicit declaration of function 'tb_show' [-Wimplicit-function-declaration] tb_show(); ^~~~~~~ ../lib/emsvr.c: At top level: ../lib/emsvr.c:481:1: warning: return type defaults to 'int' [-Wimplicit-int] screen_map_print(int i) { ^~~~~~~~~~~~~~~~ ../lib/emsvr.c:498:1: warning: return type defaults to 'int' [-Wimplicit-int] screen_map_init(int type) { ^~~~~~~~~~~~~~~ ../lib/emsvr.c:652:1: warning: return type defaults to 'int' [-Wimplicit-int] screen_map_focus(int id) { ^~~~~~~~~~~~~~~~ ../lib/emsvr.c: In function 'screen_map_focus': ../lib/emsvr.c:657:19: warning: 'return' with no value, in function returning non-void if (sm_cur->sw) return; ^~~~~~ ../lib/emsvr.c:652:1: note: declared here screen_map_focus(int id) { ^~~~~~~~~~~~~~~~ ../lib/emsvr.c:669:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ../lib/emsvr.c:652:1: note: declared here screen_map_focus(int id) { ^~~~~~~~~~~~~~~~ ../lib/emsvr.c: In function 'screen_map_disp': ../lib/emsvr.c:720:7: warning: implicit declaration of function 'screen_map_forground'; did you mean 'screen_map_focus'? [-Wimplicit-function-declaration] screen_map_forground(m); ^~~~~~~~~~~~~~~~~~~~ screen_map_focus ../lib/emsvr.c: At top level: ../lib/emsvr.c:735:1: warning: return type defaults to 'int' [-Wimplicit-int] sw_add_top(struct screen_window *sw) { ^~~~~~~~~~ ../lib/emsvr.c:740:1: warning: return type defaults to 'int' [-Wimplicit-int] sw_add(struct screen_window *sw) { ^~~~~~ ../lib/emsvr.c:755:1: warning: return type defaults to 'int' [-Wimplicit-int] sw_remove(struct screen_window *sw) { ^~~~~~~~~ ../lib/emsvr.c: In function 'sw_remove': ../lib/emsvr.c:758:16: warning: 'return' with no value, in function returning non-void if (!sw_list) return; ^~~~~~ ../lib/emsvr.c:755:1: note: declared here sw_remove(struct screen_window *sw) { ^~~~~~~~~ ../lib/emsvr.c: At top level: ../lib/emsvr.c:775:1: warning: return type defaults to 'int' [-Wimplicit-int] sw_free(struct screen_window *sw) { ^~~~~~~ ../lib/emsvr.c: In function 'sw_free': ../lib/emsvr.c:788:3: warning: implicit declaration of function 'tb_detach'; did you mean 'vk_detach'? [-Wimplicit-function-declaration] tb_detach(sw->icon); ^~~~~~~~~ vk_detach ../lib/emsvr.c:792:2: warning: implicit declaration of function 'tb_disp'; did you mean 'sw_disp'? [-Wimplicit-function-declaration] tb_disp(); ^~~~~~~ sw_disp ../lib/emsvr.c: At top level: ../lib/emsvr.c:795:1: warning: return type defaults to 'int' [-Wimplicit-int] sw_alloc(int fd) { ^~~~~~~~ ../lib/emsvr.c:810:1: warning: return type defaults to 'int' [-Wimplicit-int] sw_set_icon(struct screen_window *sw,char *icon) { ^~~~~~~~~~~ ../lib/emsvr.c: In function 'sw_set_icon': ../lib/emsvr.c:838:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ../lib/emsvr.c:810:1: note: declared here sw_set_icon(struct screen_window *sw,char *icon) { ^~~~~~~~~~~ ../lib/emsvr.c:842:3: warning: implicit declaration of function 'tb_change' [-Wimplicit-function-declaration] tb_change(sw->icon,old); ^~~~~~~~~ ../lib/emsvr.c:845:3: warning: implicit declaration of function 'tb_attach'; did you mean 'vk_attach'? [-Wimplicit-function-declaration] tb_attach(sw->icon,MK_ICON(sw->fd),0); ^~~~~~~~~ vk_attach ../lib/emsvr.c: At top level: ../lib/emsvr.c:850:1: warning: return type defaults to 'int' [-Wimplicit-int] tb_forground(int fd) { ^~~~~~~~~~~~ ../lib/emsvr.c: In function 'tb_forground': ../lib/emsvr.c:861:5: warning: implicit declaration of function 'set_focus'; did you mean 'set_font'? [-Wimplicit-function-declaration] set_focus(i); ^~~~~~~~~ set_font ../lib/emsvr.c:863:5: warning: implicit declaration of function 'sw_forground'; did you mean 'tb_forground'? [-Wimplicit-function-declaration] sw_forground(sw,1); ^~~~~~~~~~~~ tb_forground ../lib/emsvr.c: At top level: ../lib/emsvr.c:871:1: warning: return type defaults to 'int' [-Wimplicit-int] tb_disp() { ^~~~~~~ ../lib/emsvr.c: In function 'tb_disp': ../lib/emsvr.c:873:3: warning: implicit declaration of function 'tb_set_focus'; did you mean 'sw_set_icon'? [-Wimplicit-function-declaration] tb_set_focus(sm_cur->sw->icon, sm_cur->sw->type == AT_MAIN); ^~~~~~~~~~~~ sw_set_icon ../lib/emsvr.c: In function 'sw_recv': ../lib/emsvr.c:919:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ../lib/emsvr.c:893:5: note: declared here int sw_recv(struct screen_window *sw,struct emc_packet *es,int n) { ^~~~~~~ ../lib/emsvr.c: At top level: ../lib/emsvr.c:947:1: warning: return type defaults to 'int' [-Wimplicit-int] screen_map_forground(struct screen_map *m) { ^~~~~~~~~~~~~~~~~~~~ ../lib/emsvr.c: In function 'screen_map_forground': ../lib/emsvr.c:952:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ../lib/emsvr.c:947:1: note: declared here screen_map_forground(struct screen_map *m) { ^~~~~~~~~~~~~~~~~~~~ ../lib/emsvr.c: At top level: ../lib/emsvr.c:968:1: warning: return type defaults to 'int' [-Wimplicit-int] screen_map_background(struct screen_map *m) { ^~~~~~~~~~~~~~~~~~~~~ ../lib/emsvr.c: In function 'screen_map_background': ../lib/emsvr.c:979:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ../lib/emsvr.c:968:1: note: declared here screen_map_background(struct screen_map *m) { ^~~~~~~~~~~~~~~~~~~~~ ../lib/emsvr.c: At top level: ../lib/emsvr.c:989:1: warning: return type defaults to 'int' [-Wimplicit-int] sw_forground(struct screen_window *sw,int force) { ^~~~~~~~~~~~ ../lib/emsvr.c: In function 'sw_forground': ../lib/emsvr.c:994:34: warning: 'return' with no value, in function returning non-void if (sw->stat != SWS_BACKGROUND) return; ^~~~~~ ../lib/emsvr.c:989:1: note: declared here sw_forground(struct screen_window *sw,int force) { ^~~~~~~~~~~~ ../lib/emsvr.c:1007:5: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ../lib/emsvr.c:989:1: note: declared here sw_forground(struct screen_window *sw,int force) { ^~~~~~~~~~~~ ../lib/emsvr.c:1016:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ../lib/emsvr.c:989:1: note: declared here sw_forground(struct screen_window *sw,int force) { ^~~~~~~~~~~~ ../lib/emsvr.c:1019:14: warning: 'return' with no value, in function returning non-void if (!force) return; ^~~~~~ ../lib/emsvr.c:989:1: note: declared here sw_forground(struct screen_window *sw,int force) { ^~~~~~~~~~~~ ../lib/emsvr.c:1026:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ../lib/emsvr.c:989:1: note: declared here sw_forground(struct screen_window *sw,int force) { ^~~~~~~~~~~~ ../lib/emsvr.c: At top level: ../lib/emsvr.c:1031:1: warning: return type defaults to 'int' [-Wimplicit-int] execute_client_req(struct screen_window *sw) { ^~~~~~~~~~~~~~~~~~ ../lib/emsvr.c: In function 'execute_client_req': ../lib/emsvr.c:1038:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ../lib/emsvr.c:1031:1: note: declared here execute_client_req(struct screen_window *sw) { ^~~~~~~~~~~~~~~~~~ ../lib/emsvr.c:1046:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ../lib/emsvr.c:1031:1: note: declared here execute_client_req(struct screen_window *sw) { ^~~~~~~~~~~~~~~~~~ ../lib/emsvr.c:1057:6: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ../lib/emsvr.c:1031:1: note: declared here execute_client_req(struct screen_window *sw) { ^~~~~~~~~~~~~~~~~~ ../lib/emsvr.c:1103:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ../lib/emsvr.c:1031:1: note: declared here execute_client_req(struct screen_window *sw) { ^~~~~~~~~~~~~~~~~~ ../lib/emsvr.c:1113:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ../lib/emsvr.c:1031:1: note: declared here execute_client_req(struct screen_window *sw) { ^~~~~~~~~~~~~~~~~~ ../lib/emsvr.c:1123:4: warning: implicit declaration of function 'em_rec_point'; did you mean 'rec_point'? [-Wimplicit-function-declaration] em_rec_point(current_screen ^~~~~~~~~~~~ rec_point ../lib/emsvr.c: At top level: ../lib/emsvr.c:1286:1: warning: return type defaults to 'int' [-Wimplicit-int] execute_send_event() { ^~~~~~~~~~~~~~~~~~ ../lib/emsvr.c: In function 'execute_send_event': ../lib/emsvr.c:1319:4: warning: implicit declaration of function 'draw_clock'; did you mean 'draw_font'? [-Wimplicit-function-declaration] draw_clock(clock_image); ^~~~~~~~~~ draw_font ../lib/emsvr.c:1358:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ../lib/emsvr.c:1286:1: note: declared here execute_send_event() { ^~~~~~~~~~~~~~~~~~ ../lib/emsvr.c:1363:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ../lib/emsvr.c:1286:1: note: declared here execute_send_event() { ^~~~~~~~~~~~~~~~~~ ../lib/emsvr.c:1371:4: warning: implicit declaration of function 'tb_mouse'; did you mean 'tb_disp'? [-Wimplicit-function-declaration] tb_mouse(x,y); ^~~~~~~~ tb_disp ../lib/emsvr.c:1372:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ../lib/emsvr.c:1286:1: note: declared here execute_send_event() { ^~~~~~~~~~~~~~~~~~ ../lib/emsvr.c: At top level: ../lib/emsvr.c:1424:1: warning: return type defaults to 'int' [-Wimplicit-int] set_focus(int i) { ^~~~~~~~~ ../lib/emsvr.c:1654:1: warning: return type defaults to 'int' [-Wimplicit-int] ems_term() { ^~~~~~~~ ../lib/emsvr.c:1689:1: warning: return type defaults to 'int' [-Wimplicit-int] ems_init() { ^~~~~~~~ ../lib/emsvr.c: In function 'ems_init': ../lib/emsvr.c:1718:3: warning: implicit declaration of function 'mkdir'; did you mean 'rmdir'? [-Wimplicit-function-declaration] mkdir(cs_workdir,0700); ^~~~~ rmdir ../lib/emsvr.c:1744:2: warning: implicit declaration of function 'chmod' [-Wimplicit-function-declaration] chmod(cs_sock_name,0777); ^~~~~ ../lib/emsvr.c: At top level: ../lib/emsvr.c:1797:1: warning: return type defaults to 'int' [-Wimplicit-int] ems_postinit() { ^~~~~~~~~~~~ ../lib/emsvr.c:1835:1: warning: return type defaults to 'int' [-Wimplicit-int] main(int argc,char *argv[]) { ^~~~ ../lib/emsvr.c: In function 'main': ../lib/emsvr.c:1976:3: warning: implicit declaration of function 'tb_init'; did you mean 'mk_init'? [-Wimplicit-function-declaration] tb_init(m->x,m->y,m->xs,m->ys); ^~~~~~~ mk_init ../lib/emsvr.c:2037:4: warning: implicit declaration of function 'mgl_ignore_auto_close' [-Wimplicit-function-declaration] mgl_ignore_auto_close(); ^~~~~~~~~~~~~~~~~~~~~ ../lib/taskbar.c:66:1: warning: return type defaults to 'int' [-Wimplicit-int] tb_free(struct tb_cell *p) { ^~~~~~~ ../lib/taskbar.c:83:1: warning: return type defaults to 'int' [-Wimplicit-int] tb_insert(struct tb_cell *new,int space) { ^~~~~~~~~ ../lib/taskbar.c: In function 'tb_insert': ../lib/taskbar.c:96:3: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ../lib/taskbar.c:83:1: note: declared here tb_insert(struct tb_cell *new,int space) { ^~~~~~~~~ ../lib/taskbar.c:121:14: warning: 'return' with no value, in function returning non-void if (!p) return; ^~~~~~ ../lib/taskbar.c:83:1: note: declared here tb_insert(struct tb_cell *new,int space) { ^~~~~~~~~ ../lib/taskbar.c:127:6: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ../lib/taskbar.c:83:1: note: declared here tb_insert(struct tb_cell *new,int space) { ^~~~~~~~~ ../lib/taskbar.c: At top level: ../lib/taskbar.c:222:1: warning: return type defaults to 'int' [-Wimplicit-int] tb_detach(struct screen *s) { ^~~~~~~~~ ../lib/taskbar.c: In function 'tb_detach': ../lib/taskbar.c:225:10: warning: 'return' with no value, in function returning non-void if (!s) return; ^~~~~~ ../lib/taskbar.c:222:1: note: declared here tb_detach(struct screen *s) { ^~~~~~~~~ ../lib/taskbar.c:233:10: warning: 'return' with no value, in function returning non-void if (!p) return; ^~~~~~ ../lib/taskbar.c:222:1: note: declared here tb_detach(struct screen *s) { ^~~~~~~~~ ../lib/taskbar.c: At top level: ../lib/taskbar.c:245:1: warning: return type defaults to 'int' [-Wimplicit-int] tb_change(struct screen *new,struct screen *old) { ^~~~~~~~~ ../lib/taskbar.c: In function 'tb_change': ../lib/taskbar.c:248:20: warning: 'return' with no value, in function returning non-void if (!old || !new) return; ^~~~~~ ../lib/taskbar.c:245:1: note: declared here tb_change(struct screen *new,struct screen *old) { ^~~~~~~~~ ../lib/taskbar.c:255:10: warning: 'return' with no value, in function returning non-void if (!p) return; ^~~~~~ ../lib/taskbar.c:245:1: note: declared here tb_change(struct screen *new,struct screen *old) { ^~~~~~~~~ ../lib/taskbar.c: At top level: ../lib/taskbar.c:259:1: warning: return type defaults to 'int' [-Wimplicit-int] tb_set_focus(struct screen *s,int mode) { ^~~~~~~~~~~~ ../lib/taskbar.c: In function 'tb_set_focus': ../lib/taskbar.c:262:10: warning: 'return' with no value, in function returning non-void if (!s) return; ^~~~~~ ../lib/taskbar.c:259:1: note: declared here tb_set_focus(struct screen *s,int mode) { ^~~~~~~~~~~~ ../lib/taskbar.c: At top level: ../lib/taskbar.c:274:1: warning: return type defaults to 'int' [-Wimplicit-int] tb_mouse(int x,int y) { ^~~~~~~~ ../lib/taskbar.c:291:1: warning: return type defaults to 'int' [-Wimplicit-int] tb_attach(struct screen *s,int key,int where) { ^~~~~~~~~ ../lib/taskbar.c: In function 'tb_attach': ../lib/taskbar.c:294:10: warning: 'return' with no value, in function returning non-void if (!s) return; ^~~~~~ ../lib/taskbar.c:291:1: note: declared here tb_attach(struct screen *s,int key,int where) { ^~~~~~~~~ ../lib/taskbar.c:298:4: warning: 'return' with no value, in function returning non-void return; ^~~~~~ ../lib/taskbar.c:291:1: note: declared here tb_attach(struct screen *s,int key,int where) { ^~~~~~~~~ ../lib/taskbar.c:305:10: warning: 'return' with no value, in function returning non-void if (!p) return; ^~~~~~ ../lib/taskbar.c:291:1: note: declared here tb_attach(struct screen *s,int key,int where) { ^~~~~~~~~ ../lib/taskbar.c: At top level: ../lib/taskbar.c:311:1: warning: return type defaults to 'int' [-Wimplicit-int] tb_show() { ^~~~~~~ ../lib/taskbar.c:346:1: warning: return type defaults to 'int' [-Wimplicit-int] tb_init(int x,int y,int xs,int ys) { ^~~~~~~ ld: /tmp//ccQFAoDr.o: in function `execute_client_req': /pbulk/work/graphics/mgl/work/mgl2-alpha-020/bin/../lib/emsvr.c:1123: undefined reference to `em_rec_point' ld: /pbulk/work/graphics/mgl/work/mgl2-alpha-020/bin/../lib/emsvr.c:1126: undefined reference to `em_rec_point' gmake[1]: *** [Makefile:21: mglsvrcons] Error 1 gmake[1]: Leaving directory '/pbulk/work/graphics/mgl/work/mgl2-alpha-020/bin' gmake: *** [Makefile:4: 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