=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for grafx2-2.5.1960 gmake: git: Command not found sh: pkg-config: not found sh: pkg-config: not found sh: pkg-config: not found sh: pkg-config: not found sh: pkg-config: not found sh: pkg-config: not found sh: pkg-config: not found sh: pkg-config: not found sh: pkg-config: not found sh: pkg-config: not found gmake: pkg-config: Command not found gmake: pkg-config: Command not found gmake: pkg-config: Command not found gmake: pkg-config: Command not found gmake: pkg-config: Command not found gmake: pkg-config: Command not found mkdir -p ../obj/unix gmake: pkg-config: Command not found gmake: pkg-config: Command not found mkdir -p ../obj/unix gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -D__ENABLE_LUA__ -O -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/SDL -I/usr/pkg/include/lua-5.2 -c main.c -o ../obj/unix/main.o gmake: pkg-config: Command not found gmake: pkg-config: Command not found mkdir -p ../obj/unix gmake: pkg-config: Command not found gmake: pkg-config: Command not found gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -D__ENABLE_LUA__ -O -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/SDL -I/usr/pkg/include/lua-5.2 -c sdlscreen.c -o ../obj/unix/sdlscreen.o gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -D__ENABLE_LUA__ -O -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/SDL -I/usr/pkg/include/lua-5.2 -c init.c -o ../obj/unix/init.o gmake: pkg-config: Command not found gmake: pkg-config: Command not found gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -D__ENABLE_LUA__ -O -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/SDL -I/usr/pkg/include/lua-5.2 -c graph.c -o ../obj/unix/graph.o main.c: In function 'Init_program': main.c:984:42: warning: passing argument 2 of 'iconv' from incompatible pointer type [-Wincompatible-pointer-types] size_t r = iconv(cd_utf16, &input, &inbytesleft, &output, &outbytesleft); ^ In file included from /tmp/graphics/grafx2/work/.buildlink/include/SDL/SDL_stdinc.h:74:0, from /tmp/graphics/grafx2/work/.buildlink/include/SDL/SDL_main.h:26, from /tmp/graphics/grafx2/work/.buildlink/include/SDL/SDL.h:30, from main.c:41: /usr/include/iconv.h:46:8: note: expected 'const char ** restrict' but argument is of type 'char **' size_t iconv(iconv_t, const char ** __restrict, ^~~~~ main.c:972:11: warning: this statement may fall through [-Wimplicit-fallthrough=] Button_Page(-1); ^~~~~~~~~~~~~~~ main.c:974:9: note: here case 1: ^~~~ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -D__ENABLE_LUA__ -O -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/SDL -I/usr/pkg/include/lua-5.2 -c misc.c -o ../obj/unix/misc.o gmake: pkg-config: Command not found gmake: pkg-config: Command not found gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -D__ENABLE_LUA__ -O -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/SDL -I/usr/pkg/include/lua-5.2 -c special.c -o ../obj/unix/special.o gmake: pkg-config: Command not found gmake: pkg-config: Command not found gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -D__ENABLE_LUA__ -O -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/SDL -I/usr/pkg/include/lua-5.2 -c buttons.c -o ../obj/unix/buttons.o gmake: pkg-config: Command not found gmake: pkg-config: Command not found gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -D__ENABLE_LUA__ -O -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/SDL -I/usr/pkg/include/lua-5.2 -c palette.c -o ../obj/unix/palette.o gmake: pkg-config: Command not found gmake: pkg-config: Command not found buttons.c: In function 'Button_Gradients': buttons.c:2727:9: warning: this statement may fall through [-Wimplicit-fallthrough=] Display_cursor(); ^~~~~~~~~~~~~~~~ buttons.c:2728:7: note: here case 8 : // Speed ^~~~ In file included from /usr/include/stdio.h:597:0, from palette.c:22: palette.c: In function 'Button_Secondary_palette': misc.h:132:34: warning: '%*lu' directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:2914:3: note: in expansion of macro 'Num2str' Num2str(Config.Palette_cells_X,str,3); ^~~~~~~ misc.h:132:34: note: directive argument in the range [0, 65535] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:2914:3: note: in expansion of macro 'Num2str' Num2str(Config.Palette_cells_X,str,3); ^~~~~~~ misc.h:132:24: note: '__builtin___sprintf_chk' output between 4 and 6 bytes into a destination of size 4 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:2914:3: note: in expansion of macro 'Num2str' Num2str(Config.Palette_cells_X,str,3); ^~~~~~~ misc.h:132:34: warning: '%*lu' directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:2918:3: note: in expansion of macro 'Num2str' Num2str(Config.Palette_cells_Y,str,3); ^~~~~~~ misc.h:132:34: note: directive argument in the range [0, 65535] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:2918:3: note: in expansion of macro 'Num2str' Num2str(Config.Palette_cells_Y,str,3); ^~~~~~~ misc.h:132:24: note: '__builtin___sprintf_chk' output between 4 and 6 bytes into a destination of size 4 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:2918:3: note: in expansion of macro 'Num2str' Num2str(Config.Palette_cells_Y,str,3); ^~~~~~~ misc.h:132:34: warning: '%*lu' directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:2997:9: note: in expansion of macro 'Num2str' Num2str(rgb_scale_slider->Position,str,3); ^~~~~~~ misc.h:132:34: note: directive argument in the range [1, 32767] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:2997:9: note: in expansion of macro 'Num2str' Num2str(rgb_scale_slider->Position,str,3); ^~~~~~~ misc.h:132:24: note: '__builtin___sprintf_chk' output between 4 and 6 bytes into a destination of size 4 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:2997:9: note: in expansion of macro 'Num2str' Num2str(rgb_scale_slider->Position,str,3); ^~~~~~~ palette.c: In function 'Button_Palette': misc.h:132:34: warning: '%*lu' directive writing between 4 and 19 bytes into a region of size 10 [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:1524:13: note: in expansion of macro 'Num2str' Num2str(-(Color_max-red_slider->Position),str,4); ^~~~~~~ misc.h:132:34: note: directive argument in the range [1, 9223372036854775807] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:1524:13: note: in expansion of macro 'Num2str' Num2str(-(Color_max-red_slider->Position),str,4); ^~~~~~~ misc.h:132:24: note: '__builtin___sprintf_chk' output between 5 and 20 bytes into a destination of size 10 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:1524:13: note: in expansion of macro 'Num2str' Num2str(-(Color_max-red_slider->Position),str,4); ^~~~~~~ misc.h:132:34: warning: '%*lu' directive writing between 4 and 19 bytes into a region of size 10 [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:1530:13: note: in expansion of macro 'Num2str' Num2str( Color_max-red_slider->Position ,str,4); ^~~~~~~ misc.h:132:34: note: directive argument in the range [1, 9223372036854775807] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:1530:13: note: in expansion of macro 'Num2str' Num2str( Color_max-red_slider->Position ,str,4); ^~~~~~~ misc.h:132:24: note: '__builtin___sprintf_chk' output between 5 and 20 bytes into a destination of size 10 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:1530:13: note: in expansion of macro 'Num2str' Num2str( Color_max-red_slider->Position ,str,4); ^~~~~~~ misc.h:132:34: warning: '%*lu' directive writing between 4 and 19 bytes into a region of size 10 [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:1605:13: note: in expansion of macro 'Num2str' Num2str(-(Color_max-green_slider->Position),str,4); ^~~~~~~ misc.h:132:34: note: directive argument in the range [1, 9223372036854775807] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:1605:13: note: in expansion of macro 'Num2str' Num2str(-(Color_max-green_slider->Position),str,4); ^~~~~~~ misc.h:132:24: note: '__builtin___sprintf_chk' output between 5 and 20 bytes into a destination of size 10 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:1605:13: note: in expansion of macro 'Num2str' Num2str(-(Color_max-green_slider->Position),str,4); ^~~~~~~ misc.h:132:34: warning: '%*lu' directive writing between 4 and 19 bytes into a region of size 10 [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:1611:13: note: in expansion of macro 'Num2str' Num2str( Color_max-green_slider->Position ,str,4); ^~~~~~~ misc.h:132:34: note: directive argument in the range [1, 9223372036854775807] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:1611:13: note: in expansion of macro 'Num2str' Num2str( Color_max-green_slider->Position ,str,4); ^~~~~~~ misc.h:132:24: note: '__builtin___sprintf_chk' output between 5 and 20 bytes into a destination of size 10 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:1611:13: note: in expansion of macro 'Num2str' Num2str( Color_max-green_slider->Position ,str,4); ^~~~~~~ misc.h:132:34: warning: '%*lu' directive writing between 4 and 19 bytes into a region of size 10 [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:1686:13: note: in expansion of macro 'Num2str' Num2str(-(Color_max-blue_slider->Position),str,4); ^~~~~~~ misc.h:132:34: note: directive argument in the range [1, 9223372036854775807] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:1686:13: note: in expansion of macro 'Num2str' Num2str(-(Color_max-blue_slider->Position),str,4); ^~~~~~~ misc.h:132:24: note: '__builtin___sprintf_chk' output between 5 and 20 bytes into a destination of size 10 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:1686:13: note: in expansion of macro 'Num2str' Num2str(-(Color_max-blue_slider->Position),str,4); ^~~~~~~ misc.h:132:34: warning: '%*lu' directive writing between 4 and 19 bytes into a region of size 10 [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:1692:13: note: in expansion of macro 'Num2str' Num2str( Color_max-blue_slider->Position ,str,4); ^~~~~~~ misc.h:132:34: note: directive argument in the range [1, 9223372036854775807] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:1692:13: note: in expansion of macro 'Num2str' Num2str( Color_max-blue_slider->Position ,str,4); ^~~~~~~ misc.h:132:24: note: '__builtin___sprintf_chk' output between 5 and 20 bytes into a destination of size 10 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:1692:13: note: in expansion of macro 'Num2str' Num2str( Color_max-blue_slider->Position ,str,4); ^~~~~~~ misc.h:132:34: warning: '%*lu' directive writing between 3 and 19 bytes into a region of size 10 [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:1839:13: note: in expansion of macro 'Num2str' Num2str(block_start,str ,3); ^~~~~~~ misc.h:132:34: note: directive argument in the range [0, 9223372036854775807] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:1839:13: note: in expansion of macro 'Num2str' Num2str(block_start,str ,3); ^~~~~~~ misc.h:132:24: note: '__builtin___sprintf_chk' output between 4 and 20 bytes into a destination of size 10 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:1839:13: note: in expansion of macro 'Num2str' Num2str(block_start,str ,3); ^~~~~~~ misc.h:132:34: warning: '%*lu' directive writing between 3 and 19 bytes into a region of size 10 [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:1894:13: note: in expansion of macro 'Num2str' Num2str(block_start,str ,3); ^~~~~~~ misc.h:132:34: note: directive argument in the range [0, 9223372036854775807] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:1894:13: note: in expansion of macro 'Num2str' Num2str(block_start,str ,3); ^~~~~~~ misc.h:132:24: note: '__builtin___sprintf_chk' output between 4 and 20 bytes into a destination of size 10 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:1894:13: note: in expansion of macro 'Num2str' Num2str(block_start,str ,3); ^~~~~~~ misc.h:132:34: warning: '%*lu' directive writing between 4 and 19 bytes into a region of size 10 [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:2102:13: note: in expansion of macro 'Num2str' Num2str(-(Color_max-red_slider->Position),str,4); ^~~~~~~ misc.h:132:34: note: directive argument in the range [1, 9223372036854775807] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:2102:13: note: in expansion of macro 'Num2str' Num2str(-(Color_max-red_slider->Position),str,4); ^~~~~~~ misc.h:132:24: note: '__builtin___sprintf_chk' output between 5 and 20 bytes into a destination of size 10 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:2102:13: note: in expansion of macro 'Num2str' Num2str(-(Color_max-red_slider->Position),str,4); ^~~~~~~ misc.h:132:34: warning: '%*lu' directive writing between 4 and 19 bytes into a region of size 10 [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:2108:13: note: in expansion of macro 'Num2str' Num2str( Color_max-red_slider->Position ,str,4); ^~~~~~~ misc.h:132:34: note: directive argument in the range [1, 9223372036854775807] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:2108:13: note: in expansion of macro 'Num2str' Num2str( Color_max-red_slider->Position ,str,4); ^~~~~~~ misc.h:132:24: note: '__builtin___sprintf_chk' output between 5 and 20 bytes into a destination of size 10 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:2108:13: note: in expansion of macro 'Num2str' Num2str( Color_max-red_slider->Position ,str,4); ^~~~~~~ misc.h:132:34: warning: '%*lu' directive writing between 4 and 19 bytes into a region of size 10 [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:2123:13: note: in expansion of macro 'Num2str' Num2str(-(Color_max-green_slider->Position),str,4); ^~~~~~~ misc.h:132:34: note: directive argument in the range [1, 9223372036854775807] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:2123:13: note: in expansion of macro 'Num2str' Num2str(-(Color_max-green_slider->Position),str,4); ^~~~~~~ misc.h:132:24: note: '__builtin___sprintf_chk' output between 5 and 20 bytes into a destination of size 10 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:2123:13: note: in expansion of macro 'Num2str' Num2str(-(Color_max-green_slider->Position),str,4); ^~~~~~~ misc.h:132:34: warning: '%*lu' directive writing between 4 and 19 bytes into a region of size 10 [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:2129:13: note: in expansion of macro 'Num2str' Num2str( Color_max-green_slider->Position ,str,4); ^~~~~~~ misc.h:132:34: note: directive argument in the range [1, 9223372036854775807] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:2129:13: note: in expansion of macro 'Num2str' Num2str( Color_max-green_slider->Position ,str,4); ^~~~~~~ misc.h:132:24: note: '__builtin___sprintf_chk' output between 5 and 20 bytes into a destination of size 10 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:2129:13: note: in expansion of macro 'Num2str' Num2str( Color_max-green_slider->Position ,str,4); ^~~~~~~ misc.h:132:34: warning: '%*lu' directive writing between 4 and 19 bytes into a region of size 10 [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:2144:13: note: in expansion of macro 'Num2str' Num2str(-(Color_max-blue_slider->Position),str,4); ^~~~~~~ misc.h:132:34: note: directive argument in the range [1, 9223372036854775807] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:2144:13: note: in expansion of macro 'Num2str' Num2str(-(Color_max-blue_slider->Position),str,4); ^~~~~~~ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -D__ENABLE_LUA__ -O -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/SDL -I/usr/pkg/include/lua-5.2 -c help.c -o ../obj/unix/help.o misc.h:132:24: note: '__builtin___sprintf_chk' output between 5 and 20 bytes into a destination of size 10 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:2144:13: note: in expansion of macro 'Num2str' Num2str(-(Color_max-blue_slider->Position),str,4); ^~~~~~~ misc.h:132:34: warning: '%*lu' directive writing between 4 and 19 bytes into a region of size 10 [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:2150:13: note: in expansion of macro 'Num2str' Num2str( Color_max-blue_slider->Position ,str,4); ^~~~~~~ misc.h:132:34: note: directive argument in the range [1, 9223372036854775807] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:2150:13: note: in expansion of macro 'Num2str' Num2str( Color_max-blue_slider->Position ,str,4); ^~~~~~~ misc.h:132:24: note: '__builtin___sprintf_chk' output between 5 and 20 bytes into a destination of size 10 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:2150:13: note: in expansion of macro 'Num2str' Num2str( Color_max-blue_slider->Position ,str,4); ^~~~~~~ misc.h:132:34: warning: '%*lu' directive writing between 4 and 19 bytes into a region of size 10 [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:2228:13: note: in expansion of macro 'Num2str' Num2str(-(Color_max-red_slider->Position),str,4); ^~~~~~~ misc.h:132:34: note: directive argument in the range [1, 9223372036854775807] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:2228:13: note: in expansion of macro 'Num2str' Num2str(-(Color_max-red_slider->Position),str,4); ^~~~~~~ misc.h:132:24: note: '__builtin___sprintf_chk' output between 5 and 20 bytes into a destination of size 10 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:2228:13: note: in expansion of macro 'Num2str' Num2str(-(Color_max-red_slider->Position),str,4); ^~~~~~~ misc.h:132:34: warning: '%*lu' directive writing between 4 and 19 bytes into a region of size 10 [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:2234:13: note: in expansion of macro 'Num2str' Num2str( Color_max-red_slider->Position ,str,4); ^~~~~~~ misc.h:132:34: note: directive argument in the range [1, 9223372036854775807] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:2234:13: note: in expansion of macro 'Num2str' Num2str( Color_max-red_slider->Position ,str,4); ^~~~~~~ misc.h:132:24: note: '__builtin___sprintf_chk' output between 5 and 20 bytes into a destination of size 10 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:2234:13: note: in expansion of macro 'Num2str' Num2str( Color_max-red_slider->Position ,str,4); ^~~~~~~ misc.h:132:34: warning: '%*lu' directive writing between 4 and 19 bytes into a region of size 10 [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:2249:13: note: in expansion of macro 'Num2str' Num2str(-(Color_max-green_slider->Position),str,4); ^~~~~~~ gmake: pkg-config: Command not found misc.h:132:34: note: directive argument in the range [1, 9223372036854775807] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:2249:13: note: in expansion of macro 'Num2str' Num2str(-(Color_max-green_slider->Position),str,4); ^~~~~~~ gmake: pkg-config: Command not found misc.h:132:24: note: '__builtin___sprintf_chk' output between 5 and 20 bytes into a destination of size 10 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:2249:13: note: in expansion of macro 'Num2str' Num2str(-(Color_max-green_slider->Position),str,4); ^~~~~~~ misc.h:132:34: warning: '%*lu' directive writing between 4 and 19 bytes into a region of size 10 [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:2255:13: note: in expansion of macro 'Num2str' Num2str( Color_max-green_slider->Position ,str,4); ^~~~~~~ misc.h:132:34: note: directive argument in the range [1, 9223372036854775807] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:2255:13: note: in expansion of macro 'Num2str' Num2str( Color_max-green_slider->Position ,str,4); ^~~~~~~ misc.h:132:24: note: '__builtin___sprintf_chk' output between 5 and 20 bytes into a destination of size 10 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:2255:13: note: in expansion of macro 'Num2str' Num2str( Color_max-green_slider->Position ,str,4); ^~~~~~~ misc.h:132:34: warning: '%*lu' directive writing between 4 and 19 bytes into a region of size 10 [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:2270:13: note: in expansion of macro 'Num2str' Num2str(-(Color_max-blue_slider->Position),str,4); ^~~~~~~ misc.h:132:34: note: directive argument in the range [1, 9223372036854775807] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:2270:13: note: in expansion of macro 'Num2str' Num2str(-(Color_max-blue_slider->Position),str,4); ^~~~~~~ misc.h:132:24: note: '__builtin___sprintf_chk' output between 5 and 20 bytes into a destination of size 10 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:2270:13: note: in expansion of macro 'Num2str' Num2str(-(Color_max-blue_slider->Position),str,4); ^~~~~~~ misc.h:132:34: warning: '%*lu' directive writing between 4 and 19 bytes into a region of size 10 [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:2276:13: note: in expansion of macro 'Num2str' Num2str( Color_max-blue_slider->Position ,str,4); ^~~~~~~ misc.h:132:34: note: directive argument in the range [1, 9223372036854775807] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:2276:13: note: in expansion of macro 'Num2str' Num2str( Color_max-blue_slider->Position ,str,4); ^~~~~~~ misc.h:132:24: note: '__builtin___sprintf_chk' output between 5 and 20 bytes into a destination of size 10 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ palette.c:2276:13: note: in expansion of macro 'Num2str' Num2str( Color_max-blue_slider->Position ,str,4); ^~~~~~~ In file included from /usr/include/stdio.h:597:0, from buttons.c:38: buttons.c: In function 'Button_Resolution': misc.h:132:34: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ buttons.c:1996:3: note: in expansion of macro 'Num2str' Num2str(chosen_width,str,4); ^~~~~~~ misc.h:132:24: note: '__builtin___sprintf_chk' output between 5 and 6 bytes into a destination of size 5 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ buttons.c:1996:3: note: in expansion of macro 'Num2str' Num2str(chosen_width,str,4); ^~~~~~~ misc.h:132:34: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ buttons.c:2000:3: note: in expansion of macro 'Num2str' Num2str(chosen_height,str,4); ^~~~~~~ misc.h:132:24: note: '__builtin___sprintf_chk' output between 5 and 6 bytes into a destination of size 5 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ buttons.c:2000:3: note: in expansion of macro 'Num2str' Num2str(chosen_height,str,4); ^~~~~~~ misc.h:132:34: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ buttons.c:2018:9: note: in expansion of macro 'Num2str' Num2str(chosen_width,str,4); ^~~~~~~ misc.h:132:24: note: '__builtin___sprintf_chk' output between 5 and 6 bytes into a destination of size 5 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ buttons.c:2018:9: note: in expansion of macro 'Num2str' Num2str(chosen_width,str,4); ^~~~~~~ misc.h:132:34: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ buttons.c:2032:9: note: in expansion of macro 'Num2str' Num2str(chosen_height,str,4); ^~~~~~~ misc.h:132:24: note: '__builtin___sprintf_chk' output between 5 and 6 bytes into a destination of size 5 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ buttons.c:2032:9: note: in expansion of macro 'Num2str' Num2str(chosen_height,str,4); ^~~~~~~ misc.h:132:34: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ buttons.c:2061:13: note: in expansion of macro 'Num2str' Num2str(chosen_width,str,4); ^~~~~~~ misc.h:132:24: note: '__builtin___sprintf_chk' output between 5 and 6 bytes into a destination of size 5 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ buttons.c:2061:13: note: in expansion of macro 'Num2str' Num2str(chosen_width,str,4); ^~~~~~~ misc.h:132:34: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ buttons.c:2065:13: note: in expansion of macro 'Num2str' Num2str(chosen_height,str,4); ^~~~~~~ misc.h:132:24: note: '__builtin___sprintf_chk' output between 5 and 6 bytes into a destination of size 5 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ buttons.c:2065:13: note: in expansion of macro 'Num2str' Num2str(chosen_height,str,4); ^~~~~~~ help.c: In function 'Button_Stats': help.c:812:6: warning: #warning "Missing code for your platform !!! Check and correct please :)" [-Wcpp] #warning "Missing code for your platform !!! Check and correct please :)" ^~~~~~~ help.c: In function 'Window_set_shortcut': help.c:229:24: warning: this statement may fall through [-Wimplicit-fallthrough=] shortcut_ptr[1]=backup_shortcut[1]; ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ help.c:230:7: note: here case 2: // OK ^~~~ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -D__ENABLE_LUA__ -O -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/SDL -I/usr/pkg/include/lua-5.2 -c operatio.c -o ../obj/unix/operatio.o gmake: pkg-config: Command not found gmake: pkg-config: Command not found buttons.c: In function 'Refresh_airbrush_settings': misc.h:132:34: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ buttons.c:4143:3: note: in expansion of macro 'Num2str' Num2str(Airbrush_multi_flow[selected_color],str,2); ^~~~~~~ misc.h:132:24: note: '__builtin___sprintf_chk' output between 3 and 4 bytes into a destination of size 3 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ buttons.c:4143:3: note: in expansion of macro 'Num2str' Num2str(Airbrush_multi_flow[selected_color],str,2); ^~~~~~~ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -D__ENABLE_LUA__ -O -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/SDL -I/usr/pkg/include/lua-5.2 -c pages.c -o ../obj/unix/pages.o gmake: pkg-config: Command not found gmake: pkg-config: Command not found gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -D__ENABLE_LUA__ -O -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/SDL -I/usr/pkg/include/lua-5.2 -c loadsave.c -o ../obj/unix/loadsave.o gmake: pkg-config: Command not found gmake: pkg-config: Command not found gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -D__ENABLE_LUA__ -O -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/SDL -I/usr/pkg/include/lua-5.2 -c readline.c -o ../obj/unix/readline.o gmake: pkg-config: Command not found gmake: pkg-config: Command not found gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -D__ENABLE_LUA__ -O -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/SDL -I/usr/pkg/include/lua-5.2 -c engine.c -o ../obj/unix/engine.o gmake: pkg-config: Command not found gmake: pkg-config: Command not found gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -D__ENABLE_LUA__ -O -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/SDL -I/usr/pkg/include/lua-5.2 -c filesel.c -o ../obj/unix/filesel.o gmake: pkg-config: Command not found gmake: pkg-config: Command not found gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -D__ENABLE_LUA__ -O -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/SDL -I/usr/pkg/include/lua-5.2 -c op_c.c -o ../obj/unix/op_c.o gmake: pkg-config: Command not found gmake: pkg-config: Command not found gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -D__ENABLE_LUA__ -O -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/SDL -I/usr/pkg/include/lua-5.2 -c readini.c -o ../obj/unix/readini.o filesel.c: In function 'Format_filename': filesel.c:309:48: warning: passing argument 2 of 'iconv' from incompatible pointer type [-Wincompatible-pointer-types] if(cd != (iconv_t)-1 && (ssize_t)iconv(cd, &input, &inbytesleft, &output, &outbytesleft) >= 0) ^ In file included from /tmp/graphics/grafx2/work/.buildlink/include/SDL/SDL_stdinc.h:74:0, from /tmp/graphics/grafx2/work/.buildlink/include/SDL/SDL_syswm.h:30, from filesel.c:28: /usr/include/iconv.h:46:8: note: expected 'const char ** restrict' but argument is of type 'char **' size_t iconv(iconv_t, const char ** __restrict, ^~~~~ filesel.c: In function 'Print_current_directory': filesel.c:1196:48: warning: passing argument 2 of 'iconv' from incompatible pointer type [-Wincompatible-pointer-types] if(cd != (iconv_t)-1 && (ssize_t)iconv(cd, &input, &inbytesleft, &output, &outbytesleft) >= 0) ^ gmake: pkg-config: Command not found In file included from /tmp/graphics/grafx2/work/.buildlink/include/SDL/SDL_stdinc.h:74:0, from /tmp/graphics/grafx2/work/.buildlink/include/SDL/SDL_syswm.h:30, from filesel.c:28: /usr/include/iconv.h:46:8: note: expected 'const char ** restrict' but argument is of type 'char **' size_t iconv(iconv_t, const char ** __restrict, ^~~~~ gmake: pkg-config: Command not found filesel.c: In function 'Print_filename_in_fileselector': filesel.c:1275:48: warning: passing argument 2 of 'iconv' from incompatible pointer type [-Wincompatible-pointer-types] if(cd != (iconv_t)-1 && (ssize_t)iconv(cd, &input, &inbytesleft, &output, &outbytesleft) >= 0) ^ In file included from /tmp/graphics/grafx2/work/.buildlink/include/SDL/SDL_stdinc.h:74:0, from /tmp/graphics/grafx2/work/.buildlink/include/SDL/SDL_syswm.h:30, from filesel.c:28: /usr/include/iconv.h:46:8: note: expected 'const char ** restrict' but argument is of type 'char **' size_t iconv(iconv_t, const char ** __restrict, ^~~~~ filesel.c: In function 'Button_Load_or_Save': filesel.c:1931:54: warning: passing argument 2 of 'iconv' from incompatible pointer type [-Wincompatible-pointer-types] if(cd != (iconv_t)-1 && (ssize_t)iconv(cd, &input, &inbytesleft, &output, &outbytesleft) >= 0) ^ In file included from /tmp/graphics/grafx2/work/.buildlink/include/SDL/SDL_stdinc.h:74:0, from /tmp/graphics/grafx2/work/.buildlink/include/SDL/SDL_syswm.h:30, from filesel.c:28: /usr/include/iconv.h:46:8: note: expected 'const char ** restrict' but argument is of type 'char **' size_t iconv(iconv_t, const char ** __restrict, ^~~~~ filesel.c:1966:74: warning: passing argument 2 of 'iconv' from incompatible pointer type [-Wincompatible-pointer-types] if(cd_utf16_inv != (iconv_t)-1 && (ssize_t)iconv(cd_utf16_inv, &input, &inbytesleft, &output, &outbytesleft) >= 0) ^ In file included from /tmp/graphics/grafx2/work/.buildlink/include/SDL/SDL_stdinc.h:74:0, from /tmp/graphics/grafx2/work/.buildlink/include/SDL/SDL_syswm.h:30, from filesel.c:28: /usr/include/iconv.h:46:8: note: expected 'const char ** restrict' but argument is of type 'char **' size_t iconv(iconv_t, const char ** __restrict, ^~~~~ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -D__ENABLE_LUA__ -O -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/SDL -I/usr/pkg/include/lua-5.2 -c saveini.c -o ../obj/unix/saveini.o gmake: pkg-config: Command not found gmake: pkg-config: Command not found gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -D__ENABLE_LUA__ -O -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/SDL -I/usr/pkg/include/lua-5.2 -c shade.c -o ../obj/unix/shade.o gmake: pkg-config: Command not found gmake: pkg-config: Command not found gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -D__ENABLE_LUA__ -O -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/SDL -I/usr/pkg/include/lua-5.2 -c keyboard.c -o ../obj/unix/keyboard.o gmake: pkg-config: Command not found gmake: pkg-config: Command not found In file included from /usr/include/stdio.h:597:0, from /tmp/graphics/grafx2/work/.buildlink/include/SDL/SDL_stdinc.h:37, from /tmp/graphics/grafx2/work/.buildlink/include/SDL/SDL_main.h:26, from /tmp/graphics/grafx2/work/.buildlink/include/SDL/SDL.h:30, from global.h:33, from shade.c:24: shade.c: In function 'Display_selected_color': misc.h:132:34: warning: '%*lu' directive writing between 3 and 19 bytes into a region of size 4 [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ shade.c:208:5: note: in expansion of macro 'Num2str' Num2str(selection_start,str,3); ^~~~~~~ misc.h:132:34: note: directive argument in the range [0, 9223372036854775807] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ shade.c:208:5: note: in expansion of macro 'Num2str' Num2str(selection_start,str,3); ^~~~~~~ misc.h:132:24: note: '__builtin___sprintf_chk' output between 4 and 20 bytes into a destination of size 4 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ shade.c:208:5: note: in expansion of macro 'Num2str' Num2str(selection_start,str,3); ^~~~~~~ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -D__ENABLE_LUA__ -O -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/SDL -I/usr/pkg/include/lua-5.2 -c io.c -o ../obj/unix/io.o echo "char SVN_revision[]=\"1960\";" > version.c gmake: pkg-config: Command not found gmake: pkg-config: Command not found gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -D__ENABLE_LUA__ -O -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/SDL -I/usr/pkg/include/lua-5.2 -c text.c -o ../obj/unix/text.o gmake: pkg-config: Command not found gmake: pkg-config: Command not found io.c: In function 'For_each_directory_entry': io.c:554:34: warning: passing argument 2 of 'iconv' from incompatible pointer type [-Wincompatible-pointer-types] size_t r = iconv(cd_utf16, &input, &inbytesleft, &output, &outbytesleft); ^ In file included from /tmp/graphics/grafx2/work/.buildlink/include/SDL/SDL_stdinc.h:74:0, from /tmp/graphics/grafx2/work/.buildlink/include/SDL/SDL_endian.h:31, from io.c:28: /usr/include/iconv.h:46:8: note: expected 'const char ** restrict' but argument is of type 'char **' size_t iconv(iconv_t, const char ** __restrict, ^~~~~ io.c: In function 'Get_current_directory': io.c:713:34: warning: passing argument 2 of 'iconv' from incompatible pointer type [-Wincompatible-pointer-types] size_t r = iconv(cd_utf16, &input, &inbytesleft, &output, &outbytesleft); ^ In file included from /tmp/graphics/grafx2/work/.buildlink/include/SDL/SDL_stdinc.h:74:0, from /tmp/graphics/grafx2/work/.buildlink/include/SDL/SDL_endian.h:31, from io.c:28: /usr/include/iconv.h:46:8: note: expected 'const char ** restrict' but argument is of type 'char **' size_t iconv(iconv_t, const char ** __restrict, ^~~~~ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -D__ENABLE_LUA__ -O -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/SDL -I/usr/pkg/include/lua-5.2 -c SFont.c -o ../obj/unix/SFont.o gmake: pkg-config: Command not found gmake: pkg-config: Command not found gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -D__ENABLE_LUA__ -O -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/SDL -I/usr/pkg/include/lua-5.2 -c setup.c -o ../obj/unix/setup.o gmake: pkg-config: Command not found gmake: pkg-config: Command not found gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -D__ENABLE_LUA__ -O -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/SDL -I/usr/pkg/include/lua-5.2 -c pxsimple.c -o ../obj/unix/pxsimple.o gmake: pkg-config: Command not found gmake: pkg-config: Command not found gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -D__ENABLE_LUA__ -O -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/SDL -I/usr/pkg/include/lua-5.2 -c pxtall.c -o ../obj/unix/pxtall.o gmake: pkg-config: Command not found gmake: pkg-config: Command not found gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -D__ENABLE_LUA__ -O -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/SDL -I/usr/pkg/include/lua-5.2 -c pxwide.c -o ../obj/unix/pxwide.o gmake: pkg-config: Command not found gmake: pkg-config: Command not found gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -D__ENABLE_LUA__ -O -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/SDL -I/usr/pkg/include/lua-5.2 -c pxdouble.c -o ../obj/unix/pxdouble.o gmake: pkg-config: Command not found gmake: pkg-config: Command not found gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -D__ENABLE_LUA__ -O -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/SDL -I/usr/pkg/include/lua-5.2 -c pxtriple.c -o ../obj/unix/pxtriple.o gmake: pkg-config: Command not found gmake: pkg-config: Command not found gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -D__ENABLE_LUA__ -O -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/SDL -I/usr/pkg/include/lua-5.2 -c pxtall2.c -o ../obj/unix/pxtall2.o gmake: pkg-config: Command not found gmake: pkg-config: Command not found gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -D__ENABLE_LUA__ -O -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/SDL -I/usr/pkg/include/lua-5.2 -c pxtall3.c -o ../obj/unix/pxtall3.o gmake: pkg-config: Command not found gmake: pkg-config: Command not found gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -D__ENABLE_LUA__ -O -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/SDL -I/usr/pkg/include/lua-5.2 -c pxwide2.c -o ../obj/unix/pxwide2.o gmake: pkg-config: Command not found gmake: pkg-config: Command not found gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -D__ENABLE_LUA__ -O -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/SDL -I/usr/pkg/include/lua-5.2 -c pxquad.c -o ../obj/unix/pxquad.o gmake: pkg-config: Command not found gmake: pkg-config: Command not found gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -D__ENABLE_LUA__ -O -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/SDL -I/usr/pkg/include/lua-5.2 -c windows.c -o ../obj/unix/windows.o gmake: pkg-config: Command not found gmake: pkg-config: Command not found gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -D__ENABLE_LUA__ -O -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/SDL -I/usr/pkg/include/lua-5.2 -c brush.c -o ../obj/unix/brush.o gmake: pkg-config: Command not found gmake: pkg-config: Command not found gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -D__ENABLE_LUA__ -O -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/SDL -I/usr/pkg/include/lua-5.2 -c realpath.c -o ../obj/unix/realpath.o gmake: pkg-config: Command not found gmake: pkg-config: Command not found windows.c: In function 'Print_filename': windows.c:1065:48: warning: passing argument 2 of 'iconv' from incompatible pointer type [-Wincompatible-pointer-types] if(cd != (iconv_t)-1 && (ssize_t)iconv(cd, &input, &inbytesleft, &output, &outbytesleft) >= 0) ^ In file included from /tmp/graphics/grafx2/work/.buildlink/include/SDL/SDL_stdinc.h:74:0, from /tmp/graphics/grafx2/work/.buildlink/include/SDL/SDL_main.h:26, from /tmp/graphics/grafx2/work/.buildlink/include/SDL/SDL.h:30, from global.h:33, from windows.c:43: /usr/include/iconv.h:46:8: note: expected 'const char ** restrict' but argument is of type 'char **' size_t iconv(iconv_t, const char ** __restrict, ^~~~~ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -D__ENABLE_LUA__ -O -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/SDL -I/usr/pkg/include/lua-5.2 -c mountlist.c -o ../obj/unix/mountlist.o gmake: pkg-config: Command not found gmake: pkg-config: Command not found windows.c: In function 'Display_cursor': windows.c:2405:10: warning: this statement may fall through [-Wimplicit-fallthrough=] if (Cursor_hidden) ^ windows.c:2408:5: note: here case CURSOR_SHAPE_ARROW : ^~~~ windows.c: In function 'Hide_cursor': windows.c:2704:10: warning: this statement may fall through [-Wimplicit-fallthrough=] if (Cursor_hidden) ^ windows.c:2707:5: note: here case CURSOR_SHAPE_ARROW : ^~~~ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -D__ENABLE_LUA__ -O -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/SDL -I/usr/pkg/include/lua-5.2 -c input.c -o ../obj/unix/input.o gmake: pkg-config: Command not found gmake: pkg-config: Command not found gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -D__ENABLE_LUA__ -O -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/SDL -I/usr/pkg/include/lua-5.2 -c hotkeys.c -o ../obj/unix/hotkeys.o gmake: pkg-config: Command not found gmake: pkg-config: Command not found gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -D__ENABLE_LUA__ -O -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/SDL -I/usr/pkg/include/lua-5.2 -c transform.c -o ../obj/unix/transform.o gmake: pkg-config: Command not found gmake: pkg-config: Command not found transform.c: In function 'Button_Transform_menu': transform.c:268:12: warning: this statement may fall through [-Wimplicit-fallthrough=] if (unit_index!=UNIT_RATIO) ^ transform.c:270:7: note: here case 10: // input new width ^~~~ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -D__ENABLE_LUA__ -O -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/SDL -I/usr/pkg/include/lua-5.2 -c pversion.c -o ../obj/unix/pversion.o gmake: pkg-config: Command not found gmake: pkg-config: Command not found gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -D__ENABLE_LUA__ -O -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/SDL -I/usr/pkg/include/lua-5.2 -c factory.c -o ../obj/unix/factory.o In file included from /usr/include/stdio.h:597:0, from /tmp/graphics/grafx2/work/.buildlink/include/SDL/SDL_stdinc.h:37, from /tmp/graphics/grafx2/work/.buildlink/include/SDL/SDL_main.h:26, from /tmp/graphics/grafx2/work/.buildlink/include/SDL/SDL.h:30, from global.h:33, from windows.c:43: windows.c: In function 'Print_coordinates.part.4': gmake: pkg-config: Command not found misc.h:132:34: warning: '%*lu' directive writing between 4 and 10 bytes into a region of size 5 [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ windows.c:1020:5: note: in expansion of macro 'Num2str' Num2str((dword)Paintbrush_X,temp,4); ^~~~~~~ gmake: pkg-config: Command not found misc.h:132:34: note: directive argument in the range [0, 4294967295] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ windows.c:1020:5: note: in expansion of macro 'Num2str' Num2str((dword)Paintbrush_X,temp,4); ^~~~~~~ misc.h:132:24: note: '__builtin___sprintf_chk' output between 5 and 11 bytes into a destination of size 5 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ windows.c:1020:5: note: in expansion of macro 'Num2str' Num2str((dword)Paintbrush_X,temp,4); ^~~~~~~ misc.h:132:34: warning: '%*lu' directive writing between 4 and 10 bytes into a region of size 5 [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ windows.c:1022:5: note: in expansion of macro 'Num2str' Num2str((dword)Paintbrush_Y,temp,4); ^~~~~~~ misc.h:132:34: note: directive argument in the range [0, 4294967295] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ windows.c:1022:5: note: in expansion of macro 'Num2str' Num2str((dword)Paintbrush_Y,temp,4); ^~~~~~~ misc.h:132:24: note: '__builtin___sprintf_chk' output between 5 and 11 bytes into a destination of size 5 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ windows.c:1022:5: note: in expansion of macro 'Num2str' Num2str((dword)Paintbrush_Y,temp,4); ^~~~~~~ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -D__ENABLE_LUA__ -O -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/SDL -I/usr/pkg/include/lua-5.2 -c fileformats.c -o ../obj/unix/fileformats.o gmake: pkg-config: Command not found gmake: pkg-config: Command not found gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -D__ENABLE_LUA__ -O -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/SDL -I/usr/pkg/include/lua-5.2 -c miscfileformats.c -o ../obj/unix/miscfileformats.o gmake: pkg-config: Command not found gmake: pkg-config: Command not found fileformats.c: In function 'Save_IFF': fileformats.c:2191:25: warning: this statement may fall through [-Wimplicit-fallthrough=] header.X_aspect = (header.X_aspect * 15) / 10; // *1.5 ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fileformats.c:2192:7: note: here case PIXEL_TALL: ^~~~ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -D__ENABLE_LUA__ -O -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/SDL -I/usr/pkg/include/lua-5.2 -c libraw2crtc.c -o ../obj/unix/libraw2crtc.o gmake: pkg-config: Command not found gmake: pkg-config: Command not found gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -D__ENABLE_LUA__ -O -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/SDL -I/usr/pkg/include/lua-5.2 -c brush_ops.c -o ../obj/unix/brush_ops.o gmake: pkg-config: Command not found gmake: pkg-config: Command not found gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -D__ENABLE_LUA__ -O -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/SDL -I/usr/pkg/include/lua-5.2 -c buttons_effects.c -o ../obj/unix/buttons_effects.o gmake: pkg-config: Command not found gmake: pkg-config: Command not found buttons_effects.c: In function 'Button_Grid_menu': buttons_effects.c:533:9: warning: this statement may fall through [-Wimplicit-fallthrough=] Display_cursor(); ^~~~~~~~~~~~~~~~ buttons_effects.c:535:7: note: here case 7: ^~~~ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -D__ENABLE_LUA__ -O -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/SDL -I/usr/pkg/include/lua-5.2 -c layers.c -o ../obj/unix/layers.o gmake: pkg-config: Command not found gmake: pkg-config: Command not found In file included from /usr/include/stdio.h:597:0, from /tmp/graphics/grafx2/work/.buildlink/include/SDL/SDL_stdinc.h:37, from /tmp/graphics/grafx2/work/.buildlink/include/SDL/SDL_main.h:26, from /tmp/graphics/grafx2/work/.buildlink/include/SDL/SDL.h:30, from buttons_effects.c:28: misc.h:132:34: warning: '%*lu' directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ buttons_effects.c:432:3: note: in expansion of macro 'Num2str' Num2str(chosen_X,str,3); ^~~~~~~ misc.h:132:34: note: directive argument in the range [0, 65535] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ buttons_effects.c:432:3: note: in expansion of macro 'Num2str' Num2str(chosen_X,str,3); ^~~~~~~ misc.h:132:24: note: '__builtin___sprintf_chk' output between 4 and 6 bytes into a destination of size 4 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ buttons_effects.c:432:3: note: in expansion of macro 'Num2str' Num2str(chosen_X,str,3); ^~~~~~~ misc.h:132:34: warning: '%*lu' directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ buttons_effects.c:437:3: note: in expansion of macro 'Num2str' Num2str(chosen_Y,str,3); ^~~~~~~ misc.h:132:34: note: directive argument in the range [0, 65535] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ buttons_effects.c:437:3: note: in expansion of macro 'Num2str' Num2str(chosen_Y,str,3); ^~~~~~~ misc.h:132:24: note: '__builtin___sprintf_chk' output between 4 and 6 bytes into a destination of size 4 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ buttons_effects.c:437:3: note: in expansion of macro 'Num2str' Num2str(chosen_Y,str,3); ^~~~~~~ misc.h:132:34: warning: '%*lu' directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ buttons_effects.c:466:9: note: in expansion of macro 'Num2str' Num2str(chosen_X,str,3); ^~~~~~~ misc.h:132:34: note: directive argument in the range [0, 65535] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ buttons_effects.c:466:9: note: in expansion of macro 'Num2str' Num2str(chosen_X,str,3); ^~~~~~~ misc.h:132:24: note: '__builtin___sprintf_chk' output between 4 and 6 bytes into a destination of size 4 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ buttons_effects.c:466:9: note: in expansion of macro 'Num2str' Num2str(chosen_X,str,3); ^~~~~~~ misc.h:132:34: warning: '%*lu' directive writing between 3 and 5 bytes into a region of size 4 [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ buttons_effects.c:488:9: note: in expansion of macro 'Num2str' Num2str(chosen_Y,str,3); ^~~~~~~ misc.h:132:34: note: directive argument in the range [0, 65535] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ buttons_effects.c:488:9: note: in expansion of macro 'Num2str' Num2str(chosen_Y,str,3); ^~~~~~~ misc.h:132:24: note: '__builtin___sprintf_chk' output between 4 and 6 bytes into a destination of size 4 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ buttons_effects.c:488:9: note: in expansion of macro 'Num2str' Num2str(chosen_Y,str,3); ^~~~~~~ buttons_effects.c: In function 'Button_Smooth_menu': misc.h:132:34: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ buttons_effects.c:637:7: note: in expansion of macro 'Num2str' Num2str(chosen_matrix[i][j], str, 2); ^~~~~~~ misc.h:132:24: note: '__builtin___sprintf_chk' output between 3 and 4 bytes into a destination of size 3 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ buttons_effects.c:637:7: note: in expansion of macro 'Num2str' Num2str(chosen_matrix[i][j], str, 2); ^~~~~~~ misc.h:132:34: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ buttons_effects.c:657:13: note: in expansion of macro 'Num2str' Num2str(chosen_matrix[i][j],str,2); ^~~~~~~ misc.h:132:24: note: '__builtin___sprintf_chk' output between 3 and 4 bytes into a destination of size 3 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ buttons_effects.c:657:13: note: in expansion of macro 'Num2str' Num2str(chosen_matrix[i][j],str,2); ^~~~~~~ misc.h:132:34: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ buttons_effects.c:665:9: note: in expansion of macro 'Num2str' Num2str(chosen_matrix[x][y],str,2); ^~~~~~~ misc.h:132:24: note: '__builtin___sprintf_chk' output between 3 and 4 bytes into a destination of size 3 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ buttons_effects.c:665:9: note: in expansion of macro 'Num2str' Num2str(chosen_matrix[x][y],str,2); ^~~~~~~ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -D__ENABLE_LUA__ -O -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/SDL -I/usr/pkg/include/lua-5.2 -c oldies.c -o ../obj/unix/oldies.o gmake: pkg-config: Command not found gmake: pkg-config: Command not found gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -D__ENABLE_LUA__ -O -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/SDL -I/usr/pkg/include/lua-5.2 -c tiles.c -o ../obj/unix/tiles.o gmake: pkg-config: Command not found gmake: pkg-config: Command not found In file included from /usr/include/stdio.h:597:0, from /tmp/graphics/grafx2/work/.buildlink/include/SDL/SDL_stdinc.h:37, from /tmp/graphics/grafx2/work/.buildlink/include/SDL/SDL_main.h:26, from /tmp/graphics/grafx2/work/.buildlink/include/SDL/SDL.h:30, from global.h:33, from tiles.c:23: tiles.c: In function 'Tilemap_update': misc.h:132:34: warning: '%*lu' directive writing between 7 and 19 bytes into a region of size 8 [-Wformat-overflow=] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ tiles.c:345:7: note: in expansion of macro 'Num2str' Num2str(count,str,7); ^~~~~~~ misc.h:132:34: note: directive argument in the range [1, 9223372036854775807] #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ tiles.c:345:7: note: in expansion of macro 'Num2str' Num2str(count,str,7); ^~~~~~~ misc.h:132:24: note: '__builtin___sprintf_chk' output between 8 and 20 bytes into a destination of size 8 #define Num2str(a,b,c) sprintf(b,"%*lu",c,(long)(a)) ^ tiles.c:345:7: note: in expansion of macro 'Num2str' Num2str(count,str,7); ^~~~~~~ gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -D__ENABLE_LUA__ -O -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/SDL -I/usr/pkg/include/lua-5.2 -c colorred.c -o ../obj/unix/colorred.o gmake: pkg-config: Command not found gmake: pkg-config: Command not found gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -D__ENABLE_LUA__ -O -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/SDL -I/usr/pkg/include/lua-5.2 -c unicode.c -o ../obj/unix/unicode.o if [ -d ../3rdparty ] ; then /usr/pkg/bin/gmake -C ../3rdparty recoil ; fi gmake: pkg-config: Command not found gmake: pkg-config: Command not found gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -D__ENABLE_LUA__ -O -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/SDL -I/usr/pkg/include/lua-5.2 -c version.c -o ../obj/unix/version.o if [ -f ../3rdparty/recoil-4.2.0/recoil.c ] ; then cp ../3rdparty/recoil-4.2.0/recoil.c recoil.c ; fi if [ -f ../3rdparty/recoil-4.2.0/recoil.h ] ; then cp ../3rdparty/recoil-4.2.0/recoil.h recoil.h ; fi gmake: pkg-config: Command not found gmake: pkg-config: Command not found gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -D__ENABLE_LUA__ -O -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/SDL -I/usr/pkg/include/lua-5.2 -c loadrecoil.c -o ../obj/unix/loadrecoil.o gmake: pkg-config: Command not found gmake: pkg-config: Command not found gcc -W -Wall -Wdeclaration-after-statement -std=c99 -g -I/usr/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -D__ENABLE_LUA__ -O -D_XOPEN_SOURCE=700 -DUSE_FC -DENABLE_FILENAMES_ICONV -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/SDL -I/usr/pkg/include/lua-5.2 -c recoil.c -o ../obj/unix/recoil.o recoil.c: In function 'MultiPalette_SetLinePalette': recoil.c:3590:75: warning: unused parameter 'recoil' [-Wunused-parameter] static void MultiPalette_SetLinePalette(MultiPalette *self, RECOIL const *recoil, int y) ^~~~~~ recoil.c:3590:87: warning: unused parameter 'y' [-Wunused-parameter] static void MultiPalette_SetLinePalette(MultiPalette *self, RECOIL const *recoil, int y) ^ recoil.c: In function 'PgrRenderer_GetPlayfieldByte': recoil.c:4144:70: warning: unused parameter 'y' [-Wunused-parameter] static int PgrRenderer_GetPlayfieldByte(PgrRenderer const *self, int y, int column) ^ recoil.c: In function 'RECOIL_ReadFile': recoil.c:16416:54: warning: unused parameter 'filename' [-Wunused-parameter] static int RECOIL_ReadFile(RECOIL *self, const char *filename, unsigned char *content, int contentLength) ^~~~~~~~ recoil.c:16416:92: warning: unused parameter 'contentLength' [-Wunused-parameter] static int RECOIL_ReadFile(RECOIL *self, const char *filename, unsigned char *content, int contentLength) ^~~~~~~~~~~~~ recoil.c: In function 'RECOIL_UnpackLz4': recoil.c:16971:46: warning: unused parameter 'self' [-Wunused-parameter] static cibool RECOIL_UnpackLz4(RECOIL const *self, unsigned char const *content, int contentLength, unsigned char *unpacked, int unpackedLength) ^~~~ recoil.c: In function 'RECOIL_UnpackPbx': recoil.c:17102:60: warning: unused parameter 'self' [-Wunused-parameter] static unsigned char const *RECOIL_UnpackPbx(RECOIL const *self, unsigned char const *content, int contentLength, unsigned char *unpacked, int bitmapOffset, int bytesPer16Pixels, int unpackedLength) ^~~~ recoil.c: In function 'RECOIL_UnpackRip': recoil.c:17128:46: warning: unused parameter 'self' [-Wunused-parameter] static cibool RECOIL_UnpackRip(RECOIL const *self, unsigned char const *content, int contentOffset, int contentLength, unsigned char *unpacked, int unpackedLength) ^~~~ gmake: pkg-config: Command not found gmake: pkg-config: Command not found gcc ../obj/unix/main.o ../obj/unix/init.o ../obj/unix/graph.o ../obj/unix/sdlscreen.o ../obj/unix/misc.o ../obj/unix/special.o ../obj/unix/buttons.o ../obj/unix/palette.o ../obj/unix/help.o ../obj/unix/operatio.o ../obj/unix/pages.o ../obj/unix/loadsave.o ../obj/unix/readline.o ../obj/unix/engine.o ../obj/unix/filesel.o ../obj/unix/op_c.o ../obj/unix/readini.o ../obj/unix/saveini.o ../obj/unix/shade.o ../obj/unix/keyboard.o ../obj/unix/io.o ../obj/unix/version.o ../obj/unix/text.o ../obj/unix/SFont.o ../obj/unix/setup.o ../obj/unix/pxsimple.o ../obj/unix/pxtall.o ../obj/unix/pxwide.o ../obj/unix/pxdouble.o ../obj/unix/pxtriple.o ../obj/unix/pxtall2.o ../obj/unix/pxtall3.o ../obj/unix/pxwide2.o ../obj/unix/pxquad.o ../obj/unix/windows.o ../obj/unix/brush.o ../obj/unix/realpath.o ../obj/unix/mountlist.o ../obj/unix/input.o ../obj/unix/hotkeys.o ../obj/unix/transform.o ../obj/unix/pversion.o ../obj/unix/factory.o ../obj/unix/fileformats.o ../obj/unix/miscfileformats.o ../obj/unix/libraw2crtc.o ../obj/unix/brush_ops.o ../obj/unix/buttons_effects.o ../obj/unix/layers.o ../obj/unix/oldies.o ../obj/unix/tiles.o ../obj/unix/colorred.o ../obj/unix/unicode.o ../obj/unix/loadrecoil.o ../obj/unix/recoil.o -o ../bin/grafx2 -L/usr/pkg/lib -Wl,-rpath,/usr/pkg/lib -lSDL -lpthread -lSDL_image -L/usr/pkg/lib -lSDL_ttf -lfontconfig -lm -liconv -Wl,-R/usr/X11R7/lib ld: ../obj/unix/factory.o: in function `L_GetBrushSize': /tmp/graphics/grafx2/work/grafx2/src/factory.c:282: undefined reference to `lua_pushinteger' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:283: undefined reference to `lua_pushinteger' ld: ../obj/unix/factory.o: in function `L_GetPictureSize': /tmp/graphics/grafx2/work/grafx2/src/factory.c:446: undefined reference to `lua_pushinteger' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:447: undefined reference to `lua_pushinteger' ld: ../obj/unix/factory.o: in function `L_GetSparePictureSize': /tmp/graphics/grafx2/work/grafx2/src/factory.c:723: undefined reference to `lua_pushinteger' ld: ../obj/unix/factory.o:/tmp/graphics/grafx2/work/grafx2/src/factory.c:724: more undefined references to `lua_pushinteger' follow ld: ../obj/unix/factory.o: in function `L_MatchColor2': /tmp/graphics/grafx2/work/grafx2/src/factory.c:869: undefined reference to `lua_gettop' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:875: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:875: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:876: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:876: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:877: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:877: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:922: undefined reference to `lua_pushinteger' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:880: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:880: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:938: undefined reference to `lua_pushinteger' ld: ../obj/unix/factory.o: in function `L_WindowOpen': /tmp/graphics/grafx2/work/grafx2/src/factory.c:1509: undefined reference to `lua_gettop' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1512: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1512: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1513: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1513: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1516: undefined reference to `lua_isstring' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1516: undefined reference to `lua_tolstring' ld: ../obj/unix/factory.o: in function `L_WindowButton': /tmp/graphics/grafx2/work/grafx2/src/factory.c:1583: undefined reference to `lua_gettop' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1585: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1585: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1586: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1586: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1587: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1587: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1588: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1588: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1591: undefined reference to `lua_isstring' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1591: undefined reference to `lua_tolstring' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1595: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1595: undefined reference to `lua_tonumberx' ld: ../obj/unix/factory.o: in function `L_WindowRepeatButton': /tmp/graphics/grafx2/work/grafx2/src/factory.c:1617: undefined reference to `lua_gettop' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1619: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1619: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1620: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1620: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1621: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1621: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1622: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1622: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1625: undefined reference to `lua_isstring' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1625: undefined reference to `lua_tolstring' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1629: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1629: undefined reference to `lua_tonumberx' ld: ../obj/unix/factory.o: in function `L_WindowPrint': /tmp/graphics/grafx2/work/grafx2/src/factory.c:1735: undefined reference to `lua_gettop' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1737: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1737: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1738: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1738: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1739: undefined reference to `lua_isstring' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1739: undefined reference to `lua_tolstring' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1742: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1742: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1746: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1746: undefined reference to `lua_tonumberx' ld: ../obj/unix/factory.o: in function `L_WindowInput': /tmp/graphics/grafx2/work/grafx2/src/factory.c:1652: undefined reference to `lua_gettop' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1654: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1654: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1655: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1655: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1656: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1656: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1659: undefined reference to `lua_isstring' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1659: undefined reference to `lua_tolstring' ld: ../obj/unix/factory.o: in function `L_WindowReadline': /tmp/graphics/grafx2/work/grafx2/src/factory.c:1687: undefined reference to `lua_gettop' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1689: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1689: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1690: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1690: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1693: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1693: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1694: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1694: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1695: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1695: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1696: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1696: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1702: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1702: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1715: undefined reference to `luaL_error' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1689: undefined reference to `luaL_error' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1690: undefined reference to `luaL_error' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1690: undefined reference to `luaL_error' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1690: undefined reference to `luaL_error' ld: ../obj/unix/factory.o:/tmp/graphics/grafx2/work/grafx2/src/factory.c:1690: more undefined references to `luaL_error' follow ld: ../obj/unix/factory.o: in function `L_WindowReadline': /tmp/graphics/grafx2/work/grafx2/src/factory.c:1725: undefined reference to `lua_pushboolean' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1726: undefined reference to `lua_pushstring' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1702: undefined reference to `luaL_error' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1708: undefined reference to `lua_isstring' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1708: undefined reference to `lua_tolstring' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1697: undefined reference to `luaL_error' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1696: undefined reference to `luaL_error' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1710: undefined reference to `luaL_error' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1708: undefined reference to `luaL_error' ld: ../obj/unix/factory.o: in function `L_WindowMoveSlider': /tmp/graphics/grafx2/work/grafx2/src/factory.c:1812: undefined reference to `lua_gettop' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1817: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1817: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1828: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1828: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1829: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1829: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1830: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1830: undefined reference to `lua_tonumberx' ld: ../obj/unix/factory.o: in function `L_PutPicturePixel': /tmp/graphics/grafx2/work/grafx2/src/factory.c:473: undefined reference to `lua_gettop' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:476: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:476: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:477: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:477: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:478: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:478: undefined reference to `lua_tonumberx' ld: ../obj/unix/factory.o: in function `L_DrawFilledRect': /tmp/graphics/grafx2/work/grafx2/src/factory.c:539: undefined reference to `lua_gettop' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:542: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:542: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:543: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:543: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:544: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:544: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:545: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:545: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:546: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:546: undefined reference to `lua_tonumberx' ld: ../obj/unix/factory.o: in function `L_SetForeColor': /tmp/graphics/grafx2/work/grafx2/src/factory.c:963: undefined reference to `lua_gettop' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:966: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:966: undefined reference to `lua_tonumberx' ld: ../obj/unix/factory.o: in function `L_SetBackColor': /tmp/graphics/grafx2/work/grafx2/src/factory.c:976: undefined reference to `lua_gettop' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:979: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:979: undefined reference to `lua_tonumberx' ld: ../obj/unix/factory.o: in function `L_SelectSpareLayer': /tmp/graphics/grafx2/work/grafx2/src/factory.c:1921: undefined reference to `lua_gettop' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1924: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1924: undefined reference to `lua_tonumberx' ld: ../obj/unix/factory.o: in function `L_SetBrushSize': /tmp/graphics/grafx2/work/grafx2/src/factory.c:254: undefined reference to `lua_gettop' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:257: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:257: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:258: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:258: undefined reference to `lua_tonumberx' ld: ../obj/unix/factory.o: in function `L_GetBrushBackupPixel': /tmp/graphics/grafx2/work/grafx2/src/factory.c:350: undefined reference to `lua_gettop' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:353: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:353: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:354: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:354: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:364: undefined reference to `lua_pushinteger' ld: ../obj/unix/factory.o: in function `L_GetBackupPixel': /tmp/graphics/grafx2/work/grafx2/src/factory.c:678: undefined reference to `lua_gettop' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:681: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:681: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:682: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:682: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:688: undefined reference to `lua_pushinteger' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:693: undefined reference to `lua_pushinteger' ld: ../obj/unix/factory.o: in function `L_GetSpareLayerPixel': /tmp/graphics/grafx2/work/grafx2/src/factory.c:732: undefined reference to `lua_gettop' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:735: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:735: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:736: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:736: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:742: undefined reference to `lua_pushinteger' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:745: undefined reference to `lua_pushinteger' ld: ../obj/unix/factory.o: in function `L_GetSpareColor': /tmp/graphics/grafx2/work/grafx2/src/factory.c:773: undefined reference to `lua_gettop' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:776: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:776: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:778: undefined reference to `lua_pushinteger' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:779: undefined reference to `lua_pushinteger' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:780: undefined reference to `lua_pushinteger' ld: ../obj/unix/factory.o: in function `L_GetColor': /tmp/graphics/grafx2/work/grafx2/src/factory.c:823: undefined reference to `lua_gettop' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:826: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:826: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:828: undefined reference to `lua_pushinteger' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:829: undefined reference to `lua_pushinteger' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:830: undefined reference to `lua_pushinteger' ld: ../obj/unix/factory.o: in function `L_GetBackupColor': /tmp/graphics/grafx2/work/grafx2/src/factory.c:837: undefined reference to `lua_gettop' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:840: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:840: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:842: undefined reference to `lua_pushinteger' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:843: undefined reference to `lua_pushinteger' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:844: undefined reference to `lua_pushinteger' ld: ../obj/unix/factory.o: in function `L_GetLayerCount': /tmp/graphics/grafx2/work/grafx2/src/factory.c:1899: undefined reference to `lua_gettop' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1903: undefined reference to `lua_pushinteger' ld: ../obj/unix/factory.o: in function `L_GetSpareLayerCount': /tmp/graphics/grafx2/work/grafx2/src/factory.c:1910: undefined reference to `lua_gettop' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1914: undefined reference to `lua_pushinteger' ld: ../obj/unix/factory.o: in function `L_PutBrushPixel': /tmp/graphics/grafx2/work/grafx2/src/factory.c:292: undefined reference to `lua_gettop' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:295: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:295: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:296: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:296: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:297: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:297: undefined reference to `lua_tonumberx' ld: ../obj/unix/factory.o: in function `L_GetBrushPixel': /tmp/graphics/grafx2/work/grafx2/src/factory.c:327: undefined reference to `lua_gettop' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:330: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:330: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:331: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:331: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:341: undefined reference to `lua_pushinteger' ld: ../obj/unix/factory.o: in function `L_SetSparePictureSize': /tmp/graphics/grafx2/work/grafx2/src/factory.c:423: undefined reference to `lua_gettop' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:427: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:427: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:428: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:428: undefined reference to `lua_tonumberx' ld: ../obj/unix/factory.o: in function `L_ClearPicture': /tmp/graphics/grafx2/work/grafx2/src/factory.c:454: undefined reference to `lua_gettop' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:457: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:457: undefined reference to `lua_tonumberx' ld: ../obj/unix/factory.o: in function `L_PutSparePicturePixel': /tmp/graphics/grafx2/work/grafx2/src/factory.c:496: undefined reference to `lua_gettop' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:499: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:499: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:500: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:500: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:501: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:501: undefined reference to `lua_tonumberx' ld: ../obj/unix/factory.o: in function `L_DrawLine': /tmp/graphics/grafx2/work/grafx2/src/factory.c:518: undefined reference to `lua_gettop' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:521: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:521: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:522: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:522: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:523: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:523: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:524: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:524: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:525: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:525: undefined reference to `lua_tonumberx' ld: ../obj/unix/factory.o: in function `L_DrawCircle': /tmp/graphics/grafx2/work/grafx2/src/factory.c:593: undefined reference to `lua_gettop' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:596: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:596: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:597: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:597: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:598: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:598: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:599: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:599: undefined reference to `lua_tonumberx' ld: ../obj/unix/factory.o: in function `L_DrawDisk': /tmp/graphics/grafx2/work/grafx2/src/factory.c:616: undefined reference to `lua_gettop' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:619: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:619: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:620: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:620: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:621: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:621: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:622: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:622: undefined reference to `lua_tonumberx' ld: ../obj/unix/factory.o: in function `L_GetPicturePixel': /tmp/graphics/grafx2/work/grafx2/src/factory.c:657: undefined reference to `lua_gettop' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:660: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:660: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:661: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:661: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:667: undefined reference to `lua_pushinteger' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:670: undefined reference to `lua_pushinteger' ld: ../obj/unix/factory.o: in function `L_GetLayerPixel': /tmp/graphics/grafx2/work/grafx2/src/factory.c:702: undefined reference to `lua_gettop' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:705: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:705: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:706: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:706: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:712: undefined reference to `lua_pushinteger' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:715: undefined reference to `lua_pushinteger' ld: ../obj/unix/factory.o: in function `L_GetSparePicturePixel': /tmp/graphics/grafx2/work/grafx2/src/factory.c:753: undefined reference to `lua_gettop' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:756: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:756: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:757: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:757: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:766: undefined reference to `lua_pushinteger' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:763: undefined reference to `lua_pushinteger' ld: ../obj/unix/factory.o: in function `L_SetColor': /tmp/graphics/grafx2/work/grafx2/src/factory.c:795: undefined reference to `lua_gettop' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:798: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:798: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:799: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:799: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:800: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:800: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:801: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:801: undefined reference to `lua_tonumberx' ld: ../obj/unix/factory.o: in function `L_MatchColor': /tmp/graphics/grafx2/work/grafx2/src/factory.c:852: undefined reference to `lua_gettop' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:855: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:855: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:856: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:856: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:857: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:857: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:860: undefined reference to `lua_pushinteger' ld: ../obj/unix/factory.o: in function `L_WindowDoDialog': /tmp/graphics/grafx2/work/grafx2/src/factory.c:1553: undefined reference to `lua_gettop' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1573: undefined reference to `lua_pushinteger' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1574: undefined reference to `lua_pushinteger' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1575: undefined reference to `lua_pushinteger' ld: ../obj/unix/factory.o: in function `L_WindowClose': /tmp/graphics/grafx2/work/grafx2/src/factory.c:1535: undefined reference to `lua_gettop' ld: ../obj/unix/factory.o: in function `L_Wait': /tmp/graphics/grafx2/work/grafx2/src/factory.c:1389: undefined reference to `lua_gettop' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1392: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1392: undefined reference to `lua_tonumberx' ld: ../obj/unix/factory.o: in function `L_WaitBreak': /tmp/graphics/grafx2/work/grafx2/src/factory.c:1419: undefined reference to `lua_gettop' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1422: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1422: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1444: undefined reference to `lua_pushinteger' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1433: undefined reference to `lua_pushinteger' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1449: undefined reference to `lua_pushinteger' ld: ../obj/unix/factory.o: in function `L_WaitInput': /tmp/graphics/grafx2/work/grafx2/src/factory.c:1457: undefined reference to `lua_gettop' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1466: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1466: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1490: undefined reference to `lua_pushboolean' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1491: undefined reference to `lua_pushinteger' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1492: undefined reference to `lua_pushinteger' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1493: undefined reference to `lua_pushinteger' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1494: undefined reference to `lua_pushinteger' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1495: undefined reference to `lua_pushinteger' ld: ../obj/unix/factory.o:/tmp/graphics/grafx2/work/grafx2/src/factory.c:1496: more undefined references to `lua_pushinteger' follow ld: ../obj/unix/factory.o: in function `L_GetFileName': /tmp/graphics/grafx2/work/grafx2/src/factory.c:1986: undefined reference to `lua_gettop' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1990: undefined reference to `lua_pushstring' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1991: undefined reference to `lua_pushstring' ld: ../obj/unix/factory.o: in function `L_WindowSlider': /tmp/graphics/grafx2/work/grafx2/src/factory.c:1769: undefined reference to `lua_gettop' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1772: undefined reference to `lua_type' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1772: undefined reference to `lua_toboolean' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1775: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1775: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1776: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1776: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1777: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1777: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1781: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1781: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1782: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1782: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1783: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1783: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1785: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1785: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1786: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1786: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1787: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1787: undefined reference to `lua_tonumberx' ld: ../obj/unix/factory.o: in function `L_StatusMessage': /tmp/graphics/grafx2/work/grafx2/src/factory.c:1872: undefined reference to `lua_gettop' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1873: undefined reference to `luaL_error' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1875: undefined reference to `lua_isstring' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1875: undefined reference to `lua_tolstring' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1875: undefined reference to `luaL_error' ld: ../obj/unix/factory.o: in function `L_Run': /tmp/graphics/grafx2/work/grafx2/src/factory.c:2011: undefined reference to `lua_tolstring' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2072: undefined reference to `luaL_loadfilex' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2074: undefined reference to `lua_gettop' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2075: undefined reference to `lua_tolstring' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2087: undefined reference to `luaL_error' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2017: undefined reference to `luaL_error' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2013: undefined reference to `luaL_error' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2080: undefined reference to `lua_pcallk' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2082: undefined reference to `lua_gettop' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2086: undefined reference to `lua_tolstring' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2089: undefined reference to `luaL_error' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2078: undefined reference to `luaL_error' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2068: undefined reference to `luaL_error' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2008: undefined reference to `lua_gettop' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2011: undefined reference to `lua_isstring' ld: ../obj/unix/factory.o: in function `L_InputBox': /tmp/graphics/grafx2/work/grafx2/src/factory.c:1017: undefined reference to `lua_gettop' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1037: undefined reference to `lua_isstring' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1037: undefined reference to `lua_tolstring' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1046: undefined reference to `lua_isstring' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1046: undefined reference to `lua_tolstring' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1049: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1049: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1050: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1050: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1053: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1053: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1056: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1056: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1026: undefined reference to `luaL_error' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1022: undefined reference to `luaL_error' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1031: undefined reference to `luaL_error' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1037: undefined reference to `luaL_error' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1259: undefined reference to `lua_pushboolean' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1263: undefined reference to `lua_pushnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1049: undefined reference to `luaL_error' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1046: undefined reference to `luaL_error' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1049: undefined reference to `luaL_error' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1050: undefined reference to `luaL_error' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1053: undefined reference to `luaL_error' ld: ../obj/unix/factory.o:/tmp/graphics/grafx2/work/grafx2/src/factory.c:1056: more undefined references to `luaL_error' follow ld: ../obj/unix/factory.o: in function `L_SelectBox': /tmp/graphics/grafx2/work/grafx2/src/factory.c:1287: undefined reference to `lua_gettop' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1304: undefined reference to `lua_isstring' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1304: undefined reference to `lua_tolstring' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1311: undefined reference to `lua_tolstring' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1314: undefined reference to `lua_type' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1311: undefined reference to `lua_isstring' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1348: undefined reference to `lua_pushvalue' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1350: undefined reference to `lua_callk' ld: ../obj/unix/factory.o: in function `L_MessageBox': /tmp/graphics/grafx2/work/grafx2/src/factory.c:1360: undefined reference to `lua_gettop' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1369: undefined reference to `lua_isstring' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1369: undefined reference to `lua_tolstring' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1370: undefined reference to `lua_isstring' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1370: undefined reference to `lua_tolstring' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1365: undefined reference to `lua_isstring' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1365: undefined reference to `lua_tolstring' ld: ../obj/unix/factory.o: in function `L_UpdateScreen': /tmp/graphics/grafx2/work/grafx2/src/factory.c:1851: undefined reference to `lua_gettop' ld: ../obj/unix/factory.o: in function `Register_main_writable': /tmp/graphics/grafx2/work/grafx2/src/factory.c:2109: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2109: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2110: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2110: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2111: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2111: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2112: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2112: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2113: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2113: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2114: undefined reference to `lua_pushcclosure' ld: ../obj/unix/factory.o: in function `L_SetColor_unsaved': /tmp/graphics/grafx2/work/grafx2/src/factory.c:815: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:815: undefined reference to `lua_setglobal' ld: ../obj/unix/factory.o: in function `L_SelectLayer': /tmp/graphics/grafx2/work/grafx2/src/factory.c:1939: undefined reference to `lua_gettop' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1942: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1942: undefined reference to `lua_tonumberx' ld: ../obj/unix/factory.o: in function `L_SetPictureSize': /tmp/graphics/grafx2/work/grafx2/src/factory.c:373: undefined reference to `lua_gettop' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:377: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:377: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:378: undefined reference to `lua_isnumber' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:378: undefined reference to `lua_tonumberx' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:412: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:412: undefined reference to `lua_setglobal' ld: ../obj/unix/factory.o: in function `Register_main_readonly': /tmp/graphics/grafx2/work/grafx2/src/factory.c:2120: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2120: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2121: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2121: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2122: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2122: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2123: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2123: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2124: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2124: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2125: undefined reference to `lua_pushcclosure' ld: ../obj/unix/factory.o: in function `L_FinalizePicture': /tmp/graphics/grafx2/work/grafx2/src/factory.c:1965: undefined reference to `lua_gettop' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1978: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1978: undefined reference to `lua_setglobal' ld: ../obj/unix/factory.o: in function `Run_script': /tmp/graphics/grafx2/work/grafx2/src/factory.c:2348: undefined reference to `luaL_newstate' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2358: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2358: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2359: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2359: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2363: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2363: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2364: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2364: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2365: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2365: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2366: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2366: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2367: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2367: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2368: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2368: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2369: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2369: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2372: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2372: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2373: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2373: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2374: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2374: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2376: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2376: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2377: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2377: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2378: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2378: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2381: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2381: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2382: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2382: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2383: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2383: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2385: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2385: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2386: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2386: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2387: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2387: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2389: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2389: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2390: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2390: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2391: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2391: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2392: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2392: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2394: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2394: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2395: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2395: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2398: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2398: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2399: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2399: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2400: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2400: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2401: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2401: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2404: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2404: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2405: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2405: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2406: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2406: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2407: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2407: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2410: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2410: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2411: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2411: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2412: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2412: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2413: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2413: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2414: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2414: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2415: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2415: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2416: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2416: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2419: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2419: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2420: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2420: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2421: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2421: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2422: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2422: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2423: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2423: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2424: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2424: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2425: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2425: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2426: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2426: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2427: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2427: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2428: undefined reference to `lua_pushcclosure' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2428: undefined reference to `lua_setglobal' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2431: undefined reference to `luaL_openlibs' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2472: undefined reference to `luaL_loadfilex' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2481: undefined reference to `lua_pcallk' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2508: undefined reference to `lua_close' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2475: undefined reference to `lua_gettop' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2476: undefined reference to `lua_tolstring' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2484: undefined reference to `lua_gettop' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:2488: undefined reference to `lua_tolstring' ld: ../obj/unix/factory.o: in function `L_MatchColor2': /tmp/graphics/grafx2/work/grafx2/src/factory.c:873: undefined reference to `luaL_error' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:876: undefined reference to `luaL_error' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:880: undefined reference to `luaL_error' ld: ../obj/unix/factory.o: in function `L_WindowOpen': /tmp/graphics/grafx2/work/grafx2/src/factory.c:1513: undefined reference to `luaL_error' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1513: undefined reference to `luaL_error' ld: ../obj/unix/factory.o:/tmp/graphics/grafx2/work/grafx2/src/factory.c:1512: more undefined references to `luaL_error' follow ld: ../obj/unix/factory.o: in function `Register_main_writable': /tmp/graphics/grafx2/work/grafx2/src/factory.c:2114: undefined reference to `lua_setglobal' ld: ../obj/unix/factory.o: in function `L_SelectLayer': /tmp/graphics/grafx2/work/grafx2/src/factory.c:1941: undefined reference to `luaL_error' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1942: undefined reference to `luaL_error' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1942: undefined reference to `luaL_error' ld: /tmp/graphics/grafx2/work/grafx2/src/factory.c:1942: undefined reference to `luaL_error' ld: ../obj/unix/factory.o: in function `L_SetPictureSize': /tmp/graphics/grafx2/work/grafx2/src/factory.c:376: undefined reference to `luaL_error' ld: ../obj/unix/factory.o:/tmp/graphics/grafx2/work/grafx2/src/factory.c:378: more undefined references to `luaL_error' follow ld: ../obj/unix/factory.o: in function `Register_main_readonly': /tmp/graphics/grafx2/work/grafx2/src/factory.c:2125: undefined reference to `lua_setglobal' ld: ../obj/unix/factory.o: in function `L_FinalizePicture': /tmp/graphics/grafx2/work/grafx2/src/factory.c:1967: undefined reference to `luaL_error' ld: ../obj/unix/fileformats.o: in function `Load_PNG_Sub': /tmp/graphics/grafx2/work/grafx2/src/fileformats.c:5977: undefined reference to `png_create_read_struct' ld: /tmp/graphics/grafx2/work/grafx2/src/fileformats.c:5981: undefined reference to `png_create_info_struct' ld: /tmp/graphics/grafx2/work/grafx2/src/fileformats.c:5991: undefined reference to `png_set_longjmp_fn' ld: /tmp/graphics/grafx2/work/grafx2/src/fileformats.c:6282: undefined reference to `png_destroy_read_struct' ld: /tmp/graphics/grafx2/work/grafx2/src/fileformats.c:5993: undefined reference to `png_init_io' ld: /tmp/graphics/grafx2/work/grafx2/src/fileformats.c:5995: undefined reference to `png_set_sig_bytes' ld: /tmp/graphics/grafx2/work/grafx2/src/fileformats.c:5998: undefined reference to `png_get_user_chunk_ptr' ld: /tmp/graphics/grafx2/work/grafx2/src/fileformats.c:5999: undefined reference to `png_set_read_user_chunk_fn' ld: /tmp/graphics/grafx2/work/grafx2/src/fileformats.c:6005: undefined reference to `png_read_info' ld: /tmp/graphics/grafx2/work/grafx2/src/fileformats.c:6006: undefined reference to `png_get_color_type' ld: /tmp/graphics/grafx2/work/grafx2/src/fileformats.c:6007: undefined reference to `png_get_bit_depth' ld: /tmp/graphics/grafx2/work/grafx2/src/fileformats.c:6045: undefined reference to `png_get_text' ld: /tmp/graphics/grafx2/work/grafx2/src/fileformats.c:6060: undefined reference to `png_get_pHYs' ld: /tmp/graphics/grafx2/work/grafx2/src/fileformats.c:6079: undefined reference to `png_get_image_height' ld: /tmp/graphics/grafx2/work/grafx2/src/fileformats.c:6079: undefined reference to `png_get_image_width' ld: /tmp/graphics/grafx2/work/grafx2/src/fileformats.c:6157: undefined reference to `png_get_tRNS' ld: /tmp/graphics/grafx2/work/grafx2/src/fileformats.c:6188: undefined reference to `png_get_image_width' ld: /tmp/graphics/grafx2/work/grafx2/src/fileformats.c:6189: undefined reference to `png_get_image_height' ld: /tmp/graphics/grafx2/work/grafx2/src/fileformats.c:6191: undefined reference to `png_set_interlace_handling' ld: /tmp/graphics/grafx2/work/grafx2/src/fileformats.c:6192: undefined reference to `png_read_update_info' ld: /tmp/graphics/grafx2/work/grafx2/src/fileformats.c:6199: undefined reference to `png_set_longjmp_fn' ld: /tmp/graphics/grafx2/work/grafx2/src/fileformats.c:6077: undefined reference to `png_get_image_height' ld: /tmp/graphics/grafx2/work/grafx2/src/fileformats.c:6077: undefined reference to `png_get_image_width' ld: /tmp/graphics/grafx2/work/grafx2/src/fileformats.c:6209: undefined reference to `png_get_rowbytes' ld: /tmp/graphics/grafx2/work/grafx2/src/fileformats.c:6212: undefined reference to `png_read_image' ld: /tmp/graphics/grafx2/work/grafx2/src/fileformats.c:6109: undefined reference to `png_set_strip_alpha' ld: /tmp/graphics/grafx2/work/grafx2/src/fileformats.c:6102: undefined reference to `png_set_packing' ld: /tmp/graphics/grafx2/work/grafx2/src/fileformats.c:6123: undefined reference to `png_set_expand_gray_1_2_4_to_8' ld: /tmp/graphics/grafx2/work/grafx2/src/fileformats.c:6096: undefined reference to `png_set_strip_16' ld: /tmp/graphics/grafx2/work/grafx2/src/fileformats.c:6144: undefined reference to `png_get_PLTE' ld: /tmp/graphics/grafx2/work/grafx2/src/fileformats.c:6245: undefined reference to `png_read_image' ld: /tmp/graphics/grafx2/work/grafx2/src/fileformats.c:6228: undefined reference to `png_get_rowbytes' ld: /tmp/graphics/grafx2/work/grafx2/src/fileformats.c:6231: undefined reference to `png_read_image' ld: ../obj/unix/fileformats.o: in function `Load_ICO': /tmp/graphics/grafx2/work/grafx2/src/fileformats.c:3607: undefined reference to `png_sig_cmp' ld: ../obj/unix/fileformats.o: in function `Test_PNG': /tmp/graphics/grafx2/work/grafx2/src/fileformats.c:5900: undefined reference to `png_sig_cmp' ld: ../obj/unix/fileformats.o: in function `Load_PNG': /tmp/graphics/grafx2/work/grafx2/src/fileformats.c:6299: undefined reference to `png_sig_cmp' ld: ../obj/unix/fileformats.o: in function `Save_PNG': /tmp/graphics/grafx2/work/grafx2/src/fileformats.c:6333: undefined reference to `png_create_write_struct' ld: /tmp/graphics/grafx2/work/grafx2/src/fileformats.c:6334: undefined reference to `png_create_info_struct' ld: /tmp/graphics/grafx2/work/grafx2/src/fileformats.c:6337: undefined reference to `png_set_longjmp_fn' ld: /tmp/graphics/grafx2/work/grafx2/src/fileformats.c:6477: undefined reference to `png_destroy_write_struct' ld: /tmp/graphics/grafx2/work/grafx2/src/fileformats.c:6339: undefined reference to `png_init_io' ld: /tmp/graphics/grafx2/work/grafx2/src/fileformats.c:6342: undefined reference to `png_set_longjmp_fn' ld: /tmp/graphics/grafx2/work/grafx2/src/fileformats.c:6344: undefined reference to `png_set_IHDR' ld: /tmp/graphics/grafx2/work/grafx2/src/fileformats.c:6348: undefined reference to `png_set_PLTE' ld: /tmp/graphics/grafx2/work/grafx2/src/fileformats.c:6369: undefined reference to `png_set_text' ld: /tmp/graphics/grafx2/work/grafx2/src/fileformats.c:6441: undefined reference to `png_set_unknown_chunks' ld: /tmp/graphics/grafx2/work/grafx2/src/fileformats.c:6443: undefined reference to `png_set_unknown_chunk_location' ld: /tmp/graphics/grafx2/work/grafx2/src/fileformats.c:6447: undefined reference to `png_write_info' ld: /tmp/graphics/grafx2/work/grafx2/src/fileformats.c:6455: undefined reference to `png_set_longjmp_fn' ld: /tmp/graphics/grafx2/work/grafx2/src/fileformats.c:6457: undefined reference to `png_write_image' ld: /tmp/graphics/grafx2/work/grafx2/src/fileformats.c:6460: undefined reference to `png_set_longjmp_fn' ld: /tmp/graphics/grafx2/work/grafx2/src/fileformats.c:6462: undefined reference to `png_write_end' ld: /tmp/graphics/grafx2/work/grafx2/src/fileformats.c:6380: undefined reference to `png_set_tRNS' ld: /tmp/graphics/grafx2/work/grafx2/src/fileformats.c:6391: undefined reference to `png_set_pHYs' ld: /tmp/graphics/grafx2/work/grafx2/src/fileformats.c:6386: undefined reference to `png_set_pHYs' gmake: *** [Makefile:723: ../bin/grafx2] Error 1 *** Error code 2 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/graphics/grafx2 *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/graphics/grafx2