Cook: foobillard 3.0a ================================================================================ QA: checking package receipt... Checking build dependencies... Installing (pkg/local): tslib-1.18-i486 Installing (pkg/local): sdl-1.2.15-i486 Installing (pkg/local): tslib-dev-1.18-any Installing (pkg/local): libxau-1.0.8-i486 Installing (pkg/local): libxdmcp-1.1.2-i486 Installing (pkg/local): libxcb-1.13.1-i486 Installing (pkg/local): libx11-1.6.7-i486 Installing (pkg/local): xorgproto-2018.4-any Installing (pkg/local): libxau-dev-1.0.8-any Installing (pkg/local): libxdmcp-dev-1.1.2-any Installing (pkg/local): libxcb-dev-1.13.1-any Installing (pkg/local): libx11-dev-1.6.7-any Installing (pkg/local): sdl-dev-1.2.15-i486 Installing (pkg/local): libpcre-8.42-i486 Installing (pkg/local): util-linux-smartcols-2.33.1-i486 Installing (pkg/local): util-linux-uuid-2.33.1-i486 Installing (pkg/local): util-linux-blkid-2.33.1-i486 Installing (pkg/local): util-linux-mount-2.33.1-i486 Installing (pkg/local): glib-2.64.3-i486 Installing (pkg/local): libharfbuzz-1.8.4-i486 Installing (pkg/local): libpng-1.6.36-i486 Installing (pkg/local): freetype-2.10.2-i486 Installing (pkg/local): bzip2-dev-1.0.8-i486 Installing (pkg/local): libxml2-2.9.9-i486 Installing (pkg/local): fontconfig-2.13.1-i486 Installing (pkg/local): pixman-0.36.0-i486 Installing (pkg/local): libcairo-1.16.0-i486 Installing (pkg/local): harfbuzz-1.8.4-i486 Installing (pkg/local): libpcre16-8.42-i486 Installing (pkg/local): libpcre32-8.42-i486 Installing (pkg/local): libpcrecpp-8.42-i486 Installing (pkg/local): libpcreposix-8.42-i486 Installing (pkg/local): pcre-8.42-any Installing (pkg/local): pcre-apps-8.42-i486 Installing (pkg/local): pcre-dev-8.42-any Installing (pkg/local): libgdbm-1.18.1-i486 Installing (pkg/local): perl-core-5.28.1-i486 Installing (pkg/local): perl-5.28.1-i486 Installing (pkg/local): util-linux-uuid-dev-2.33.1-any Installing (pkg/local): util-linux-blkid-dev-2.33.1-any Installing (pkg/local): util-linux-mount-dev-2.33.1-any Installing (pkg/local): zlib-dev-1.2.11-any Installing (pkg/local): glib-dev-2.64.3-i486 Installing (pkg/local): harfbuzz-dev-1.8.4-i486 Installing (pkg/local): libpng-dev-1.6.36-i486 Installing (pkg/local): freetype-dev-2.10.2-i486 Installing (pkg/local): dbus-1.12.18-i486 Installing (pkg/local): eudev-3.2.9-i486 Installing (pkg/local): linux-agp-4.17.7-i486 Installing (pkg/local): linux-drm-4.17.7-i486 Installing (pkg/local): libpciaccess-0.14-i486 Installing (pkg/local): libdrm-2.4.96-i486 Installing (pkg/local): libxdamage-1.1.4-i486 Installing (pkg/local): libxext-1.3.3-i486 Installing (pkg/local): libxfixes-5.0.3-i486 Installing (pkg/local): libxshmfence-1.3-i486 Installing (pkg/local): libxxf86vm-1.1.4-i486 Installing (pkg/local): mesa-18.3.1-i486 Installing (pkg/local): glu-9.0.1-i486 Installing (pkg/local): libdrm-amdgpu-2.4.96-i486 Installing (pkg/local): libdrm-etnaviv-2.4.96-i486 Installing (pkg/local): libdrm-intel-2.4.96-i486 Installing (pkg/local): libdrm-nouveau-2.4.96-i486 Installing (pkg/local): libdrm-radeon-2.4.96-i486 Installing (pkg/local): libllvm-7.0.0-i486 Installing (pkg/local): mesa-dri-18.3.1-i486 Installing (pkg/local): wayland-1.16.0-i486 Installing (pkg/local): mesa-libgbm-18.3.1-i486 Installing (pkg/local): mesa-libegl-18.3.1-i486 Installing (pkg/local): mesa-osmesa-18.3.1-i486 Installing (pkg/local): mesa-libxatracker-18.3.1-i486 Installing (pkg/local): mesa-vdpau-18.3.1-i486 Installing (pkg/local): libdrm-exynos-2.4.96-i486 Installing (pkg/local): libdrm-omap-2.4.96-i486 Installing (pkg/local): libdrm-tegra-2.4.96-i486 Installing (pkg/local): libdrm-dev-2.4.96-any Installing (pkg/local): wayland-dev-1.16.0-any Installing (pkg/local): libxfixes-dev-5.0.3-any Installing (pkg/local): libxdamage-dev-1.1.4-any Installing (pkg/local): libxext-dev-1.3.3-any Installing (pkg/local): libxxf86vm-dev-1.1.4-any Installing (pkg/local): mesa-dev-18.3.1-any Installing (pkg/local): glu-dev-9.0.1-any Extracting source archive "foobillard-3.0a.tar.gz" Executing: compile_rules CFLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CXXLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CPPFLAGS : -D_GLIBCXX_USE_C99_MATH=1 LDFLAGS : -Wl,-Os,--as-needed Applying patch 03_bugfixes patching file src/ball.c patching file src/evaluate_move.c Applying patch 05_foul_explanation patching file src/billard3d.c Hunk #1 succeeded at 330 (offset -1 lines). Hunk #2 succeeded at 3323 (offset -1 lines). Hunk #3 succeeded at 5195 (offset -11 lines). patching file src/evaluate_move.c patching file src/evaluate_move.h Applying patch 06_show_ball_to_hit patching file src/billard.c patching file src/billard.h patching file src/billard3d.c Hunk #1 succeeded at 828 (offset -1 lines). Hunk #2 succeeded at 1787 (offset -1 lines). Hunk #3 succeeded at 1806 (offset -1 lines). patching file src/evaluate_move.c Applying patch snooker_reset.patch patching file src/billard3d.c Applying patch snooker_draw.patch patching file src/evaluate_move.c patching file src/billard3d.c configure: loading site script /etc/slitaz/cook.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking for i486-slitaz-linux-gcc... i486-slitaz-linux-gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i486-slitaz-linux-gcc accepts -g... yes checking for i486-slitaz-linux-gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of i486-slitaz-linux-gcc... gcc3 checking for i486-slitaz-linux-g++... i486-slitaz-linux-g++ checking whether we are using the GNU C++ compiler... yes checking whether i486-slitaz-linux-g++ accepts -g... yes checking dependency style of i486-slitaz-linux-g++... gcc3 checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... i486-slitaz-linux-gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for unistd.h... (cached) yes checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking for stdlib.h... (cached) yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking ft2build.h usability... no checking ft2build.h presence... no checking for ft2build.h... no checking for an ANSI C-conforming const... yes checking for inline... inline checking for X... no checking for socket... yes checking for poll... yes checking "for SDL support"... "yes" checking "for glut support"... "no" configure: creating ./config.status config.status: creating Makefile config.status: creating foobillard.spec config.status: creating foobillard-SDL.spec config.status: creating src/Makefile config.status: creating data/Makefile config.status: creating src/config.h config.status: executing depfiles commands Making all in src make[1]: Entering directory '/home/slitaz/wok/foobillard/source/foobillard-3.0a/src' make all-am make[2]: Entering directory '/home/slitaz/wok/foobillard/source/foobillard-3.0a/src' if i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/share/foobillard/"' -D_GLIBCXX_USE_C99_MATH=1 -Wall `freetype-config --cflags` `sdl-config --cflags` -DUSE_SDL -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -march=i486 -Os -pipe -mindirect-branch=thunk -MT billard3d.o -MD -MP -MF ".deps/billard3d.Tpo" \ -c -o billard3d.o `test -f 'billard3d.c' || echo './'`billard3d.c; \ then mv ".deps/billard3d.Tpo" ".deps/billard3d.Po"; \ else rm -f ".deps/billard3d.Tpo"; exit 1; \ fi if i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/share/foobillard/"' -D_GLIBCXX_USE_C99_MATH=1 -Wall `freetype-config --cflags` `sdl-config --cflags` -DUSE_SDL -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -march=i486 -Os -pipe -mindirect-branch=thunk -MT billmove.o -MD -MP -MF ".deps/billmove.Tpo" \ -c -o billmove.o `test -f 'billmove.c' || echo './'`billmove.c; \ then mv ".deps/billmove.Tpo" ".deps/billmove.Po"; \ else rm -f ".deps/billmove.Tpo"; exit 1; \ fi if i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/share/foobillard/"' -D_GLIBCXX_USE_C99_MATH=1 -Wall `freetype-config --cflags` `sdl-config --cflags` -DUSE_SDL -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -march=i486 -Os -pipe -mindirect-branch=thunk -MT billard.o -MD -MP -MF ".deps/billard.Tpo" \ -c -o billard.o `test -f 'billard.c' || echo './'`billard.c; \ then mv ".deps/billard.Tpo" ".deps/billard.Po"; \ else rm -f ".deps/billard.Tpo"; exit 1; \ fi if i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/share/foobillard/"' -D_GLIBCXX_USE_C99_MATH=1 -Wall `freetype-config --cflags` `sdl-config --cflags` -DUSE_SDL -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -march=i486 -Os -pipe -mindirect-branch=thunk -MT vmath.o -MD -MP -MF ".deps/vmath.Tpo" \ -c -o vmath.o `test -f 'vmath.c' || echo './'`vmath.c; \ then mv ".deps/vmath.Tpo" ".deps/vmath.Po"; \ else rm -f ".deps/vmath.Tpo"; exit 1; \ fi if i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/share/foobillard/"' -D_GLIBCXX_USE_C99_MATH=1 -Wall `freetype-config --cflags` `sdl-config --cflags` -DUSE_SDL -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -march=i486 -Os -pipe -mindirect-branch=thunk -MT ball.o -MD -MP -MF ".deps/ball.Tpo" \ -c -o ball.o `test -f 'ball.c' || echo './'`ball.c; \ then mv ".deps/ball.Tpo" ".deps/ball.Po"; \ else rm -f ".deps/ball.Tpo"; exit 1; \ fi if i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/share/foobillard/"' -D_GLIBCXX_USE_C99_MATH=1 -Wall `freetype-config --cflags` `sdl-config --cflags` -DUSE_SDL -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -march=i486 -Os -pipe -mindirect-branch=thunk -MT png_loader.o -MD -MP -MF ".deps/png_loader.Tpo" \ -c -o png_loader.o `test -f 'png_loader.c' || echo './'`png_loader.c; \ then mv ".deps/png_loader.Tpo" ".deps/png_loader.Po"; \ else rm -f ".deps/png_loader.Tpo"; exit 1; \ fi ball.c:59:13: warning: pointer targets in initialization of 'const unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "!!VP1.0 \n" ^~~~~~~~~~~~ ball.c:128:13: warning: pointer targets in initialization of 'const unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "!!VP1.0 \n" ^~~~~~~~~~~~ ball.c: In function 'ball_subdivide_nonrec': ball.c:499:18: warning: unused variable 'rho' [-Wunused-variable] double xt,yt,rho; ^~~ ball.c: In function 'calc_reftex': ball.c:812:25: warning: variable 'v_xy' set but not used [-Wunused-but-set-variable] double phi,th,v_abs,v_xy; ^~~~ ball.c: In function 'myDrawElements': ball.c:853:20: warning: variable 'v_in' set but not used [-Wunused-but-set-variable] myvec v_ref[3],v_in; ^~~~ ball.c:852:25: warning: variable 'v_xy' set but not used [-Wunused-but-set-variable] double phi,th,v_abs,v_xy; ^~~~ ball.c:847:21: warning: variable 'tchanged' set but not used [-Wunused-but-set-variable] int i,j,k,l,m,n,tchanged; ^~~~~~~~ ball.c: In function 'draw_ball': ball.c:982:18: warning: variable 'cfar' set but not used [-Wunused-but-set-variable] float cnear, cfar, geomfact; ^~~~ ball.c: In function 'draw_balls': ball.c:1547:16: warning: unused variable 'fresnel_init' [-Wunused-variable] static int fresnel_init = 0; ^~~~~~~~~~~~ At top level: ball.c:1547:16: warning: 'fresnel_init' defined but not used [-Wunused-variable] ball.c:263:12: warning: 'in_array_old' defined but not used [-Wunused-function] static int in_array_old( ElemArray * array, GLfloat * v, GLfloat tex_x, GLfloat tex_y ) ^~~~~~~~~~~~ ball.c:221:16: warning: 'col_refl4' defined but not used [-Wunused-variable] static GLfloat col_refl4[4] = {1.0, 1.0, 1.0, 1.0}; /* for rendered cubemap (fresnel) */ ^~~~~~~~~ ball.c:215:16: warning: 'col_null' defined but not used [-Wunused-variable] static GLfloat col_null [4] = {0.0, 0.0, 0.0, 0.0}; /* dont need any specular because of reflections */ ^~~~~~~~ ball.c:127:30: warning: 'fresnel_vert_prog_obj_coord_str' defined but not used [-Wunused-variable] static const unsigned char * fresnel_vert_prog_obj_coord_str= /* object coordinates */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ball.c:58:30: warning: 'fresnel_vert_prog_world_coord_str' defined but not used [-Wunused-variable] static const unsigned char * fresnel_vert_prog_world_coord_str= ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ball.c:57:24: warning: 'fresnel_vert_prog_bind' defined but not used [-Wunused-variable] static int fresnel_vert_prog_bind; ^~~~~~~~~~~~~~~~~~~~~~ if i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/share/foobillard/"' -D_GLIBCXX_USE_C99_MATH=1 -Wall `freetype-config --cflags` `sdl-config --cflags` -DUSE_SDL -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -march=i486 -Os -pipe -mindirect-branch=thunk -MT table.o -MD -MP -MF ".deps/table.Tpo" \ -c -o table.o `test -f 'table.c' || echo './'`table.c; \ then mv ".deps/table.Tpo" ".deps/table.Po"; \ else rm -f ".deps/table.Tpo"; exit 1; \ fi billmove.c: In function 'my_rand': billmove.c:412:5: warning: type of 'nr' defaults to 'int' [-Wimplicit-int] int my_rand(nr) ^~~~~~~ At top level: billmove.c:908:12: warning: 'proceed_dt_euler' defined but not used [-Wunused-function] static int proceed_dt_euler(BallsType *balls, BordersType *borders, BMfloat dt, int depth) ^~~~~~~~~~~~~~~~ billard.c: In function 'create_8ball_scene': billard.c:737:21: warning: variable 'ampl' set but not used [-Wunused-but-set-variable] double ang, ampl; ^~~~ billard3d.c: In function 'Idle_timer': billard3d.c:1597:16: warning: variable 'first_time' set but not used [-Wunused-but-set-variable] static int first_time=1; ^~~~~~~~~~ billard3d.c: In function 'DisplayFunc': billard3d.c:2858:18: warning: variable 'fps' set but not used [-Wunused-but-set-variable] static double fps; ^~~ billard3d.c:2845:12: warning: variable 'light_position' set but not used [-Wunused-but-set-variable] GLfloat light_position[] = { 0.0, 0.0, 0.7, 1.0 }; ^~~~~~~~~~~~~~ billard3d.c: In function 'free_cuberef_tex': billard3d.c:4061:28: warning: pointer targets in passing argument 2 of 'glDeleteTextures' differ in signedness [-Wpointer-sign] glDeleteTextures(1,&cuberef_allballs_texbind[i]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/GL/glu.h:38, from billard3d.c:32: /usr/include/GL/gl.h:1309:23: note: expected 'const GLuint *' {aka 'const unsigned int *'} but argument is of type 'int *' GLAPI void GLAPIENTRY glDeleteTextures( GLsizei n, const GLuint *textures); ^~~~~~~~~~~~~~~~ billard3d.c: In function 'reassign_and_gen_cuberef_tex': billard3d.c:4084:25: warning: pointer targets in passing argument 2 of 'glGenTextures' differ in signedness [-Wpointer-sign] glGenTextures(1,&cuberef_allballs_texbind[i]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/GL/glu.h:38, from billard3d.c:32: /usr/include/GL/gl.h:1307:23: note: expected 'GLuint *' {aka 'unsigned int *'} but argument is of type 'int *' GLAPI void GLAPIENTRY glGenTextures( GLsizei n, GLuint *textures ); ^~~~~~~~~~~~~ billard3d.c: In function 'main': billard3d.c:5158:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread( &ball_ball_snd.data[SOUND_NULLOFFS*2], 1, ball_ball_snd.len-SOUND_NULLOFFS*2*2 , f ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: billard3d.c:213:15: warning: 'half_full_names' defined but not used [-Wunused-variable] static char * half_full_names[]={"any","full","half"}; ^~~~~~~~~~~~~~~ if i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/share/foobillard/"' -D_GLIBCXX_USE_C99_MATH=1 -Wall `freetype-config --cflags` `sdl-config --cflags` -DUSE_SDL -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -march=i486 -Os -pipe -mindirect-branch=thunk -MT queue.o -MD -MP -MF ".deps/queue.Tpo" \ -c -o queue.o `test -f 'queue.c' || echo './'`queue.c; \ then mv ".deps/queue.Tpo" ".deps/queue.Po"; \ else rm -f ".deps/queue.Tpo"; exit 1; \ fi table.c: In function 'my_Edge': table.c:224:89: warning: variable 'v9' set but not used [-Wunused-but-set-variable] VMvect n00,n10,n20,n30,n40,n0,n1,n2,n3,n4,n5,n6,n7,n8,n9,v0,v1,v2,v3,v4,v5,v6,v7,v8,v9, v8_2,v8_3, v4_2,v4_3; ^~ table.c:224:62: warning: variable 'v0' set but not used [-Wunused-but-set-variable] VMvect n00,n10,n20,n30,n40,n0,n1,n2,n3,n4,n5,n6,n7,n8,n9,v0,v1,v2,v3,v4,v5,v6,v7,v8,v9, v8_2,v8_3, v4_2,v4_3; ^~ table.c:224:59: warning: variable 'n9' set but not used [-Wunused-but-set-variable] VMvect n00,n10,n20,n30,n40,n0,n1,n2,n3,n4,n5,n6,n7,n8,n9,v0,v1,v2,v3,v4,v5,v6,v7,v8,v9, v8_2,v8_3, v4_2,v4_3; ^~ table.c:224:32: warning: variable 'n0' set but not used [-Wunused-but-set-variable] VMvect n00,n10,n20,n30,n40,n0,n1,n2,n3,n4,n5,n6,n7,n8,n9,v0,v1,v2,v3,v4,v5,v6,v7,v8,v9, v8_2,v8_3, v4_2,v4_3; ^~ table.c: In function 'create_table': table.c:1190:49: warning: pointer targets in passing argument 2 of 'glDeleteTextures' differ in signedness [-Wpointer-sign] if( frametexbind > 0 ) glDeleteTextures( 1, &frametexbind ); ^~~~~~~~~~~~~ In file included from /usr/include/GL/glu.h:38, from table.c:25: /usr/include/GL/gl.h:1309:23: note: expected 'const GLuint *' {aka 'const unsigned int *'} but argument is of type 'int *' GLAPI void GLAPIENTRY glDeleteTextures( GLsizei n, const GLuint *textures); ^~~~~~~~~~~~~~~~ table.c:1192:25: warning: pointer targets in passing argument 2 of 'glGenTextures' differ in signedness [-Wpointer-sign] glGenTextures(1,&frametexbind); ^~~~~~~~~~~~~ In file included from /usr/include/GL/glu.h:38, from table.c:25: /usr/include/GL/gl.h:1307:23: note: expected 'GLuint *' {aka 'unsigned int *'} but argument is of type 'int *' GLAPI void GLAPIENTRY glGenTextures( GLsizei n, GLuint *textures ); ^~~~~~~~~~~~~ table.c:1206:49: warning: pointer targets in passing argument 2 of 'glDeleteTextures' differ in signedness [-Wpointer-sign] if( tabletexbind > 0 ) glDeleteTextures( 1, &tabletexbind ); ^~~~~~~~~~~~~ In file included from /usr/include/GL/glu.h:38, from table.c:25: /usr/include/GL/gl.h:1309:23: note: expected 'const GLuint *' {aka 'const unsigned int *'} but argument is of type 'int *' GLAPI void GLAPIENTRY glDeleteTextures( GLsizei n, const GLuint *textures); ^~~~~~~~~~~~~~~~ table.c:1208:25: warning: pointer targets in passing argument 2 of 'glGenTextures' differ in signedness [-Wpointer-sign] glGenTextures(1,&tabletexbind); ^~~~~~~~~~~~~ In file included from /usr/include/GL/glu.h:38, from table.c:25: /usr/include/GL/gl.h:1307:23: note: expected 'GLuint *' {aka 'unsigned int *'} but argument is of type 'int *' GLAPI void GLAPIENTRY glGenTextures( GLsizei n, GLuint *textures ); ^~~~~~~~~~~~~ table.c:1224:49: warning: pointer targets in passing argument 2 of 'glDeleteTextures' differ in signedness [-Wpointer-sign] if( clothtexbind > 0 ) glDeleteTextures( 1, &clothtexbind ); ^~~~~~~~~~~~~ In file included from /usr/include/GL/glu.h:38, from table.c:25: /usr/include/GL/gl.h:1309:23: note: expected 'const GLuint *' {aka 'const unsigned int *'} but argument is of type 'int *' GLAPI void GLAPIENTRY glDeleteTextures( GLsizei n, const GLuint *textures); ^~~~~~~~~~~~~~~~ table.c:1226:25: warning: pointer targets in passing argument 2 of 'glGenTextures' differ in signedness [-Wpointer-sign] glGenTextures(1,&clothtexbind); ^~~~~~~~~~~~~ In file included from /usr/include/GL/glu.h:38, from table.c:25: /usr/include/GL/gl.h:1307:23: note: expected 'GLuint *' {aka 'unsigned int *'} but argument is of type 'int *' GLAPI void GLAPIENTRY glGenTextures( GLsizei n, GLuint *textures ); ^~~~~~~~~~~~~ queue.c: In function 'delete_queue_texbind': queue.c:142:24: warning: pointer targets in passing argument 2 of 'glDeleteTextures' differ in signedness [-Wpointer-sign] glDeleteTextures(1,&queuetexbind); ^~~~~~~~~~~~~ In file included from /usr/include/GL/glu.h:38, from queue.c:26: /usr/include/GL/gl.h:1309:23: note: expected 'const GLuint *' {aka 'const unsigned int *'} but argument is of type 'int *' GLAPI void GLAPIENTRY glDeleteTextures( GLsizei n, const GLuint *textures); ^~~~~~~~~~~~~~~~ queue.c: In function 'create_queue_texbind': queue.c:150:21: warning: pointer targets in passing argument 2 of 'glGenTextures' differ in signedness [-Wpointer-sign] glGenTextures(1,&queuetexbind); ^~~~~~~~~~~~~ In file included from /usr/include/GL/glu.h:38, from queue.c:26: /usr/include/GL/gl.h:1307:23: note: expected 'GLuint *' {aka 'unsigned int *'} but argument is of type 'int *' GLAPI void GLAPIENTRY glGenTextures( GLsizei n, GLuint *textures ); ^~~~~~~~~~~~~ queue.c: In function 'draw_queue': queue.c:194:29: warning: pointer targets in passing argument 2 of 'glGenTextures' differ in signedness [-Wpointer-sign] glGenTextures(1,&queueshadowbind); ^~~~~~~~~~~~~~~~ In file included from /usr/include/GL/glu.h:38, from queue.c:26: /usr/include/GL/gl.h:1307:23: note: expected 'GLuint *' {aka 'unsigned int *'} but argument is of type 'int *' GLAPI void GLAPIENTRY glGenTextures( GLsizei n, GLuint *textures ); ^~~~~~~~~~~~~ table.c:1796:12: warning: unused variable 'pass' [-Wunused-variable] int pass; ^~~~ table.c:1156:13: warning: unused variable 's_gen_params' [-Wunused-variable] GLfloat s_gen_params[] = {0.0,1.0,0.0,0.0}; ^~~~~~~~~~~~ table.c:1155:13: warning: unused variable 't_gen_params' [-Wunused-variable] GLfloat t_gen_params[] = {8.0,0.0,0.0,0.0}; ^~~~~~~~~~~~ table.c:1128:11: warning: unused variable 'cm' [-Wunused-variable] float cm = 0.01; // cm ^~ table.c:1111:24: warning: unused variable 'bumpcloth' [-Wunused-variable] static BumpRefType bumpcloth; ^~~~~~~~~ table.c:1108:16: warning: unused variable 'bump_cloth_init' [-Wunused-variable] static int bump_cloth_init = 0; ^~~~~~~~~~~~~~~ At top level: table.c:1108:16: warning: 'bump_cloth_init' defined but not used [-Wunused-variable] table.c:1111:24: warning: 'bumpcloth' defined but not used [-Wunused-variable] static BumpRefType bumpcloth; ^~~~~~~~~ if i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/share/foobillard/"' -D_GLIBCXX_USE_C99_MATH=1 -Wall `freetype-config --cflags` `sdl-config --cflags` -DUSE_SDL -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -march=i486 -Os -pipe -mindirect-branch=thunk -MT aiplayer.o -MD -MP -MF ".deps/aiplayer.Tpo" \ -c -o aiplayer.o `test -f 'aiplayer.c' || echo './'`aiplayer.c; \ then mv ".deps/aiplayer.Tpo" ".deps/aiplayer.Po"; \ else rm -f ".deps/aiplayer.Tpo"; exit 1; \ fi if i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/share/foobillard/"' -D_GLIBCXX_USE_C99_MATH=1 -Wall `freetype-config --cflags` `sdl-config --cflags` -DUSE_SDL -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -march=i486 -Os -pipe -mindirect-branch=thunk -MT options.o -MD -MP -MF ".deps/options.Tpo" \ -c -o options.o `test -f 'options.c' || echo './'`options.c; \ then mv ".deps/options.Tpo" ".deps/options.Po"; \ else rm -f ".deps/options.Tpo"; exit 1; \ fi if i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/share/foobillard/"' -D_GLIBCXX_USE_C99_MATH=1 -Wall `freetype-config --cflags` `sdl-config --cflags` -DUSE_SDL -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -march=i486 -Os -pipe -mindirect-branch=thunk -MT evaluate_move.o -MD -MP -MF ".deps/evaluate_move.Tpo" \ -c -o evaluate_move.o `test -f 'evaluate_move.c' || echo './'`evaluate_move.c; \ then mv ".deps/evaluate_move.Tpo" ".deps/evaluate_move.Po"; \ else rm -f ".deps/evaluate_move.Tpo"; exit 1; \ fi if i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/share/foobillard/"' -D_GLIBCXX_USE_C99_MATH=1 -Wall `freetype-config --cflags` `sdl-config --cflags` -DUSE_SDL -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -march=i486 -Os -pipe -mindirect-branch=thunk -MT helpscreen.o -MD -MP -MF ".deps/helpscreen.Tpo" \ -c -o helpscreen.o `test -f 'helpscreen.c' || echo './'`helpscreen.c; \ then mv ".deps/helpscreen.Tpo" ".deps/helpscreen.Po"; \ else rm -f ".deps/helpscreen.Tpo"; exit 1; \ fi if i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/share/foobillard/"' -D_GLIBCXX_USE_C99_MATH=1 -Wall `freetype-config --cflags` `sdl-config --cflags` -DUSE_SDL -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -march=i486 -Os -pipe -mindirect-branch=thunk -MT textobj.o -MD -MP -MF ".deps/textobj.Tpo" \ -c -o textobj.o `test -f 'textobj.c' || echo './'`textobj.c; \ then mv ".deps/textobj.Tpo" ".deps/textobj.Po"; \ else rm -f ".deps/textobj.Tpo"; exit 1; \ fi evaluate_move.c: In function 'evaluate_last_move_snooker': evaluate_move.c:418:5: warning: enumeration value 'SN_DONE' not handled in switch [-Wswitch] switch(snooker_state.to_play) ^~~~~~ if i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/share/foobillard/"' -D_GLIBCXX_USE_C99_MATH=1 -Wall `freetype-config --cflags` `sdl-config --cflags` -DUSE_SDL -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -march=i486 -Os -pipe -mindirect-branch=thunk -MT font.o -MD -MP -MF ".deps/font.Tpo" \ -c -o font.o `test -f 'font.c' || echo './'`font.c; \ then mv ".deps/font.Tpo" ".deps/font.Po"; \ else rm -f ".deps/font.Tpo"; exit 1; \ fi textobj.c: In function 'diff_x_font': textobj.c:57:16: warning: variable 'h2' set but not used [-Wunused-but-set-variable] int x,y,w2,h2; ^~ textobj.c:57:13: warning: variable 'w2' set but not used [-Wunused-but-set-variable] int x,y,w2,h2; ^~ textobj.c: In function 'diff_xy_font': textobj.c:71:16: warning: variable 'h2' set but not used [-Wunused-but-set-variable] int x,y,w2,h2; ^~ textobj.c:71:13: warning: variable 'w2' set but not used [-Wunused-but-set-variable] int x,y,w2,h2; ^~ textobj.c: In function 'create_string_quad': textobj.c:96:21: warning: pointer targets in passing argument 2 of 'glGenTextures' differ in signedness [-Wpointer-sign] glGenTextures(1,&texbind); ^~~~~~~~ In file included from options.h:22, from textobj.c:22: /usr/include/GL/gl.h:1307:23: note: expected 'GLuint *' {aka 'unsigned int *'} but argument is of type 'int *' GLAPI void GLAPIENTRY glGenTextures( GLsizei n, GLuint *textures ); ^~~~~~~~~~~~~ textobj.c:91:29: warning: unused variable 'ny' [-Wunused-variable] int w1,w2, h1,h2, nx,ny; ^~ textobj.c:91:26: warning: unused variable 'nx' [-Wunused-variable] int w1,w2, h1,h2, nx,ny; ^~ textobj.c:91:22: warning: unused variable 'h2' [-Wunused-variable] int w1,w2, h1,h2, nx,ny; ^~ textobj.c:91:19: warning: unused variable 'h1' [-Wunused-variable] int w1,w2, h1,h2, nx,ny; ^~ textobj.c:91:15: warning: unused variable 'w2' [-Wunused-variable] int w1,w2, h1,h2, nx,ny; ^~ textobj.c:91:12: warning: unused variable 'w1' [-Wunused-variable] int w1,w2, h1,h2, nx,ny; ^~ textobj.c: In function 'textObj_toggle3D': textobj.c:204:30: warning: pointer targets in passing argument 2 of 'glDeleteTextures' differ in signedness [-Wpointer-sign] glDeleteTextures( 1, &(obj->tex_id) ); ^~~~~~~~~~~~~~ In file included from options.h:22, from textobj.c:22: /usr/include/GL/gl.h:1309:23: note: expected 'const GLuint *' {aka 'const unsigned int *'} but argument is of type 'int *' GLAPI void GLAPIENTRY glDeleteTextures( GLsizei n, const GLuint *textures); ^~~~~~~~~~~~~~~~ textobj.c: In function 'textObj_setText': textobj.c:227:38: warning: pointer targets in passing argument 2 of 'glDeleteTextures' differ in signedness [-Wpointer-sign] glDeleteTextures( 1, &(obj->tex_id) ); ^~~~~~~~~~~~~~ In file included from options.h:22, from textobj.c:22: /usr/include/GL/gl.h:1309:23: note: expected 'const GLuint *' {aka 'const unsigned int *'} but argument is of type 'int *' GLAPI void GLAPIENTRY glDeleteTextures( GLsizei n, const GLuint *textures); ^~~~~~~~~~~~~~~~ textobj.c: In function 'textObj_setHeight': textobj.c:271:30: warning: pointer targets in passing argument 2 of 'glDeleteTextures' differ in signedness [-Wpointer-sign] glDeleteTextures( 1, &(obj->tex_id) ); ^~~~~~~~~~~~~~ In file included from options.h:22, from textobj.c:22: /usr/include/GL/gl.h:1309:23: note: expected 'const GLuint *' {aka 'const unsigned int *'} but argument is of type 'int *' GLAPI void GLAPIENTRY glDeleteTextures( GLsizei n, const GLuint *textures); ^~~~~~~~~~~~~~~~ textobj.c: In function 'textObj_setFont': textobj.c:300:30: warning: pointer targets in passing argument 2 of 'glDeleteTextures' differ in signedness [-Wpointer-sign] glDeleteTextures( 1, &(obj->tex_id) ); ^~~~~~~~~~~~~~ In file included from options.h:22, from textobj.c:22: /usr/include/GL/gl.h:1309:23: note: expected 'const GLuint *' {aka 'const unsigned int *'} but argument is of type 'int *' GLAPI void GLAPIENTRY glDeleteTextures( GLsizei n, const GLuint *textures); ^~~~~~~~~~~~~~~~ textobj.c: In function 'textObj_delete': textobj.c:389:30: warning: pointer targets in passing argument 2 of 'glDeleteTextures' differ in signedness [-Wpointer-sign] glDeleteTextures( 1, &(obj->tex_id) ); ^~~~~~~~~~~~~~ In file included from options.h:22, from textobj.c:22: /usr/include/GL/gl.h:1309:23: note: expected 'const GLuint *' {aka 'const unsigned int *'} but argument is of type 'int *' GLAPI void GLAPIENTRY glDeleteTextures( GLsizei n, const GLuint *textures); ^~~~~~~~~~~~~~~~ if i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/share/foobillard/"' -D_GLIBCXX_USE_C99_MATH=1 -Wall `freetype-config --cflags` `sdl-config --cflags` -DUSE_SDL -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -march=i486 -Os -pipe -mindirect-branch=thunk -MT sys_stuff.o -MD -MP -MF ".deps/sys_stuff.Tpo" \ -c -o sys_stuff.o `test -f 'sys_stuff.c' || echo './'`sys_stuff.c; \ then mv ".deps/sys_stuff.Tpo" ".deps/sys_stuff.Po"; \ else rm -f ".deps/sys_stuff.Tpo"; exit 1; \ fi if i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/share/foobillard/"' -D_GLIBCXX_USE_C99_MATH=1 -Wall `freetype-config --cflags` `sdl-config --cflags` -DUSE_SDL -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -march=i486 -Os -pipe -mindirect-branch=thunk -MT net_socket.o -MD -MP -MF ".deps/net_socket.Tpo" \ -c -o net_socket.o `test -f 'net_socket.c' || echo './'`net_socket.c; \ then mv ".deps/net_socket.Tpo" ".deps/net_socket.Po"; \ else rm -f ".deps/net_socket.Tpo"; exit 1; \ fi font.c: In function 'makeGLGeometryFT': font.c:439:57: warning: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types] gluTessCallback(tessdata->tobj, GLU_TESS_BEGIN, glBegin); ^~~~~~~ In file included from font.c:32: /usr/include/GL/glu.h:340:87: note: expected '_GLUfuncptr' {aka 'void (*)(void)'} but argument is of type 'void (*)(GLenum)' {aka 'void (*)(unsigned int)'} GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); ~~~~~~~~~~~~^~~~~~~~~~~~ font.c:440:58: warning: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types] gluTessCallback(tessdata->tobj, GLU_TESS_VERTEX, my_Vertex_cb); ^~~~~~~~~~~~ In file included from font.c:32: /usr/include/GL/glu.h:340:87: note: expected '_GLUfuncptr' {aka 'void (*)(void)'} but argument is of type 'void (*)(void *)' GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); ~~~~~~~~~~~~^~~~~~~~~~~~ font.c:443:24: warning: assignment to 'FT_Outline_MoveToFunc' {aka 'int (*)(const struct FT_Vector_ *, void *)'} from incompatible pointer type 'int (*)(FT_Vector *, void *)' {aka 'int (*)(struct FT_Vector_ *, void *)'} [-Wincompatible-pointer-types] funcs.move_to = cb_tess_move_to; ^ font.c:444:24: warning: assignment to 'FT_Outline_LineToFunc' {aka 'int (*)(const struct FT_Vector_ *, void *)'} from incompatible pointer type 'int (*)(FT_Vector *, void *)' {aka 'int (*)(struct FT_Vector_ *, void *)'} [-Wincompatible-pointer-types] funcs.line_to = cb_tess_line_to; ^ font.c:445:24: warning: assignment to 'FT_Outline_ConicToFunc' {aka 'int (*)(const struct FT_Vector_ *, const struct FT_Vector_ *, void *)'} from incompatible pointer type 'int (*)(FT_Vector *, FT_Vector *, void *)' {aka 'int (*)(struct FT_Vector_ *, struct FT_Vector_ *, void *)'} [-Wincompatible-pointer-types] funcs.conic_to = cb_tess_conic_to; ^ font.c:446:24: warning: assignment to 'FT_Outline_CubicToFunc' {aka 'int (*)(const struct FT_Vector_ *, const struct FT_Vector_ *, const struct FT_Vector_ *, void *)'} from incompatible pointer type 'int (*)(FT_Vector *, FT_Vector *, FT_Vector *, void *)' {aka 'int (*)(struct FT_Vector_ *, struct FT_Vector_ *, struct FT_Vector_ *, void *)'} [-Wincompatible-pointer-types] funcs.cubic_to = cb_tess_cubic_to; ^ font.c:466:26: warning: variable 'n' set but not used [-Wunused-but-set-variable] VMvect n1,n2,n, d1,d2; ^ font.c:374:14: warning: unused variable 'v' [-Wunused-variable] GLdouble v[1000][3]; ^ font.c:373:21: warning: unused variable 'start_y' [-Wunused-variable] double start_x, start_y; ^~~~~~~ font.c:373:12: warning: unused variable 'start_x' [-Wunused-variable] double start_x, start_y; ^~~~~~~ font.c:372:28: warning: unused variable 'tobj' [-Wunused-variable] struct GLUtesselator * tobj; ^~~~ font.c:370:11: warning: unused variable 'j' [-Wunused-variable] int i,j; ^ font.c:370:9: warning: unused variable 'i' [-Wunused-variable] int i,j; ^ font.c: In function 'getStringGLListFT': font.c:530:52: warning: unused variable 'h1' [-Wunused-variable] int pen_x, pen_y, n,i,w,h, error, w1,h1; ^~ font.c:530:49: warning: unused variable 'w1' [-Wunused-variable] int pen_x, pen_y, n,i,w,h, error, w1,h1; ^~ font.c:530:39: warning: unused variable 'h' [-Wunused-variable] int pen_x, pen_y, n,i,w,h, error, w1,h1; ^ font.c:530:37: warning: unused variable 'w' [-Wunused-variable] int pen_x, pen_y, n,i,w,h, error, w1,h1; ^ font.c:530:35: warning: unused variable 'i' [-Wunused-variable] int pen_x, pen_y, n,i,w,h, error, w1,h1; ^ font.c:530:26: warning: unused variable 'pen_y' [-Wunused-variable] int pen_x, pen_y, n,i,w,h, error, w1,h1; ^~~~~ font.c:530:19: warning: unused variable 'pen_x' [-Wunused-variable] int pen_x, pen_y, n,i,w,h, error, w1,h1; ^~~~~ if i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/share/foobillard/"' -D_GLIBCXX_USE_C99_MATH=1 -Wall `freetype-config --cflags` `sdl-config --cflags` -DUSE_SDL -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -march=i486 -Os -pipe -mindirect-branch=thunk -MT sound_stuff.o -MD -MP -MF ".deps/sound_stuff.Tpo" \ -c -o sound_stuff.o `test -f 'sound_stuff.c' || echo './'`sound_stuff.c; \ then mv ".deps/sound_stuff.Tpo" ".deps/sound_stuff.Po"; \ else rm -f ".deps/sound_stuff.Tpo"; exit 1; \ fi billard3d.c: In function 'DisplayFunc': billard3d.c:2977:12: warning: 'eye_offs1' may be used uninitialized in this function [-Wmaybe-uninitialized] glFrustum( -znear*tan(cam_FOV*M_PI/360.0)+eye_offs1, znear*tan(cam_FOV*M_PI/360.0)+eye_offs1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -znear*tan(cam_FOV*M_PI/360.0)*(double)win_height/(double)win_width, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +znear*tan(cam_FOV*M_PI/360.0)*(double)win_height/(double)win_width, znear, zfar); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ billard3d.c:2964:12: warning: 'eye_offs0' may be used uninitialized in this function [-Wmaybe-uninitialized] glFrustum( -znear*tan(cam_FOV*M_PI/360.0)+eye_offs0, znear*tan(cam_FOV*M_PI/360.0)+eye_offs0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -znear*tan(cam_FOV*M_PI/360.0)*(double)win_height/(double)win_width, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +znear*tan(cam_FOV*M_PI/360.0)*(double)win_height/(double)win_width, znear, zfar); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ font.c: In function 'makeGLGeometryFT': font.c:496:54: warning: 'tdv_n' may be used uninitialized in this function [-Wmaybe-uninitialized] glVertex3f( tdv_n->d[0], tdv_n->d[1], -depth ); ~~~~~~~~^~~ if i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/share/foobillard/"' -D_GLIBCXX_USE_C99_MATH=1 -Wall `freetype-config --cflags` `sdl-config --cflags` -DUSE_SDL -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -march=i486 -Os -pipe -mindirect-branch=thunk -MT menu.o -MD -MP -MF ".deps/menu.Tpo" \ -c -o menu.o `test -f 'menu.c' || echo './'`menu.c; \ then mv ".deps/menu.Tpo" ".deps/menu.Po"; \ else rm -f ".deps/menu.Tpo"; exit 1; \ fi if i486-slitaz-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/share/foobillard/"' -D_GLIBCXX_USE_C99_MATH=1 -Wall `freetype-config --cflags` `sdl-config --cflags` -DUSE_SDL -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -march=i486 -Os -pipe -mindirect-branch=thunk -MT bumpref.o -MD -MP -MF ".deps/bumpref.Tpo" \ -c -o bumpref.o `test -f 'bumpref.c' || echo './'`bumpref.c; \ then mv ".deps/bumpref.Tpo" ".deps/bumpref.Po"; \ else rm -f ".deps/bumpref.Tpo"; exit 1; \ fi menu.c: In function 'menu_create_textobj': menu.c:178:28: warning: ' : ' directive writing 3 bytes into a region of size between 1 and 256 [-Wformat-overflow=] sprintf(str,"%s : %s",entry->text,entry->settingtext); ^~~ In file included from /usr/include/stdio.h:873, from menu.c:2: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 4 and 514 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bumpref.c: In function 'bump2normal': bumpref.c:170:30: warning: variable 'sd_xyn' set but not used [-Wunused-but-set-variable] double sd, sd_xn, sd_yn, sd_xyn, dzx, dzy, dx, dy; ^~~~~~ bumpref.c: In function 'bump2normal_HILO': bumpref.c:224:30: warning: variable 'sd_xyn' set but not used [-Wunused-but-set-variable] double sd, sd_xn, sd_yn, sd_xyn, dzx, dzy, dx, dy; ^~~~~~ bumpref.c: In function 'bumpref_setup_vp_ts_rc': bumpref.c:538:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ bumpref.c: In function 'bump_setup_vp_rc': bumpref.c:1121:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ menu.c: In function 'menu_entry_set_text': menu.c:142:28: warning: ' : ' directive writing 3 bytes into a region of size between 1 and 256 [-Wformat-overflow=] sprintf(str,"%s : %s",entry->text,entry->settingtext); ^~~ In file included from /usr/include/stdio.h:873, from menu.c:2: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 4 and 514 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ menu.c: In function 'menu_entry_set_settingtext': menu.c:158:28: warning: ' : ' directive writing 3 bytes into a region of size between 1 and 256 [-Wformat-overflow=] sprintf(str,"%s : %s",entry->text,entry->settingtext); ^~~ In file included from /usr/include/stdio.h:873, from menu.c:2: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 4 and 514 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ billard3d.c: In function 'Idle_timer': billard3d.c:1767:51: warning: 'other_player' may be used uninitialized in this function [-Wmaybe-uninitialized] player[other_player].winner=0; ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ billard3d.c: In function 'init_menu': billard3d.c:4636:27: warning: '%s' directive writing up to 255 bytes into a region of size 247 [-Wformat-overflow=] sprintf(str,"P1 Name: %s",player[0].name); ^~ ~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from billard3d.c:22: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 10 and 265 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ billard3d.c:4643:27: warning: '%s' directive writing up to 255 bytes into a region of size 247 [-Wformat-overflow=] sprintf(str,"P2 Name: %s",player[1].name); ^~ ~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from billard3d.c:22: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 10 and 265 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ billard3d.c:4657:27: warning: '%s' directive writing up to 255 bytes into a region of size 247 [-Wformat-overflow=] sprintf(str,"P1 Name: %s",player[0].name); ^~ ~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from billard3d.c:22: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 10 and 265 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ billard3d.c:4659:27: warning: '%s' directive writing up to 255 bytes into a region of size 247 [-Wformat-overflow=] sprintf(str,"P2 Name: %s",player[1].name); ^~ ~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from billard3d.c:22: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 10 and 265 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ i486-slitaz-linux-gcc -Wall `freetype-config --cflags` `sdl-config --cflags` -DUSE_SDL -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -march=i486 -Os -pipe -mindirect-branch=thunk `freetype-config --libs` `sdl-config --libs` -Wl,-Os,--as-needed -o foobillard billard3d.o billmove.o billard.o vmath.o ball.o png_loader.o table.o queue.o aiplayer.o options.o evaluate_move.o helpscreen.o textobj.o font.o sys_stuff.o net_socket.o sound_stuff.o menu.o bumpref.o -lGL -lGLU -lm -lpng -lz /usr/bin/ld: font.o: in function `getStringPixmapFT': font.c:(.text+0x11c): undefined reference to `FT_Init_FreeType' /usr/bin/ld: font.c:(.text+0x150): undefined reference to `FT_New_Face' /usr/bin/ld: font.c:(.text+0x199): undefined reference to `FT_Set_Pixel_Sizes' /usr/bin/ld: font.c:(.text+0x1dc): undefined reference to `FT_Get_Char_Index' /usr/bin/ld: font.c:(.text+0x1ea): undefined reference to `FT_Load_Glyph' /usr/bin/ld: font.c:(.text+0x20b): undefined reference to `FT_Render_Glyph' /usr/bin/ld: font.c:(.text+0x2f4): undefined reference to `FT_Done_Face' /usr/bin/ld: font.o: in function `makeGLGeometryFT': font.c:(.text+0xbe5): undefined reference to `FT_Outline_Decompose' /usr/bin/ld: font.c:(.text+0xc4d): undefined reference to `FT_Outline_Decompose' /usr/bin/ld: font.o: in function `getStringGLListFT': font.c:(.text+0xf81): undefined reference to `FT_Init_FreeType' /usr/bin/ld: font.c:(.text+0xfb5): undefined reference to `FT_New_Face' /usr/bin/ld: font.c:(.text+0x1023): undefined reference to `FT_Set_Char_Size' /usr/bin/ld: font.c:(.text+0x107d): undefined reference to `FT_Get_Char_Index' /usr/bin/ld: font.c:(.text+0x108b): undefined reference to `FT_Load_Glyph' /usr/bin/ld: font.c:(.text+0x10d1): undefined reference to `FT_Done_Face' /usr/bin/ld: sys_stuff.o: in function `update_key_modifiers': sys_stuff.c:(.text+0x7b): undefined reference to `SDL_GetModState' /usr/bin/ld: sys_stuff.o: in function `sys_exit': sys_stuff.c:(.text+0xfd): undefined reference to `SDL_Quit' /usr/bin/ld: sys_stuff.o: in function `sys_create_display': sys_stuff.c:(.text+0x113): undefined reference to `SDL_GetVideoSurface' /usr/bin/ld: sys_stuff.c:(.text+0x11d): undefined reference to `SDL_Init' /usr/bin/ld: sys_stuff.c:(.text+0x129): undefined reference to `SDL_GetError' /usr/bin/ld: sys_stuff.c:(.text+0x139): undefined reference to `SDL_Quit' /usr/bin/ld: sys_stuff.c:(.text+0x14d): undefined reference to `SDL_GetVideoInfo' /usr/bin/ld: sys_stuff.c:(.text+0x159): undefined reference to `SDL_GetError' /usr/bin/ld: sys_stuff.c:(.text+0x18f): undefined reference to `SDL_GL_SetAttribute' /usr/bin/ld: sys_stuff.c:(.text+0x19a): undefined reference to `SDL_GL_SetAttribute' /usr/bin/ld: sys_stuff.c:(.text+0x1a5): undefined reference to `SDL_GL_SetAttribute' /usr/bin/ld: sys_stuff.c:(.text+0x1b0): undefined reference to `SDL_GL_SetAttribute' /usr/bin/ld: sys_stuff.c:(.text+0x1bb): undefined reference to `SDL_GL_SetAttribute' /usr/bin/ld: sys_stuff.c:(.text+0x1c9): undefined reference to `SDL_EnableKeyRepeat' /usr/bin/ld: sys_stuff.c:(.text+0x1f1): undefined reference to `SDL_SetVideoMode' /usr/bin/ld: sys_stuff.c:(.text+0x1fd): undefined reference to `SDL_GetError' /usr/bin/ld: sys_stuff.o: in function `sys_fullscreen': sys_stuff.c:(.text+0x223): undefined reference to `SDL_GetVideoSurface' /usr/bin/ld: sys_stuff.o: in function `sys_resize': sys_stuff.c:(.text+0x290): undefined reference to `SDL_GetVideoSurface' /usr/bin/ld: sys_stuff.c:(.text+0x29d): undefined reference to `SDL_EnableKeyRepeat' /usr/bin/ld: sys_stuff.c:(.text+0x2ae): undefined reference to `SDL_SetVideoMode' /usr/bin/ld: sys_stuff.c:(.text+0x2bd): undefined reference to `SDL_EnableKeyRepeat' /usr/bin/ld: sys_stuff.o: in function `sys_list_modes': sys_stuff.c:(.text+0x310): undefined reference to `SDL_ListModes' /usr/bin/ld: sys_stuff.o: in function `sys_main_loop': sys_stuff.c:(.text+0x374): undefined reference to `SDL_PollEvent' /usr/bin/ld: sys_stuff.c:(.text+0x461): undefined reference to `SDL_GL_SwapBuffers' /usr/bin/ld: sys_stuff.c:(.text+0x479): undefined reference to `SDL_Delay' /usr/bin/ld: sys_stuff.o: in function `sys_fullscreen': sys_stuff.c:(.text+0x241): undefined reference to `SDL_WM_ToggleFullScreen' /usr/bin/ld: sound_stuff.o: in function `mixaudio': sound_stuff.c:(.text+0x26): undefined reference to `SDL_MixAudio' /usr/bin/ld: sound_stuff.o: in function `PlayData': sound_stuff.c:(.text+0x7d): undefined reference to `SDL_LockAudio' /usr/bin/ld: sound_stuff.o: in function `init_sound': sound_stuff.c:(.text+0x145): undefined reference to `SDL_OpenAudio' /usr/bin/ld: sound_stuff.c:(.text+0x151): undefined reference to `SDL_GetError' /usr/bin/ld: sound_stuff.c:(.text+0x187): undefined reference to `SDL_PauseAudio' /usr/bin/ld: sound_stuff.o: in function `exit_sound': sound_stuff.c:(.text+0x199): undefined reference to `SDL_CloseAudio' /usr/bin/ld: sound_stuff.o: in function `PlayData': sound_stuff.c:(.text+0xc2): undefined reference to `SDL_UnlockAudio' collect2: error: ld returned 1 exit status make[2]: *** [Makefile:290: foobillard] Error 1 make[2]: Leaving directory '/home/slitaz/wok/foobillard/source/foobillard-3.0a/src' make[1]: *** [Makefile:238: all] Error 2 make[1]: Leaving directory '/home/slitaz/wok/foobillard/source/foobillard-3.0a/src' make: *** [Makefile:179: all-recursive] Error 1 Build dependencies to remove: 83 Removing: bzip2-dev dbus eudev fontconfig freetype freetype-dev glib glib-dev glu glu-dev harfbuzz harfbuzz-dev libcairo libdrm libdrm-amdgpu libdrm-dev libdrm-etnaviv libdrm-exynos libdrm-intel libdrm-nouveau libdrm-omap libdrm-radeon libdrm-tegra libgdbm libharfbuzz libllvm libpciaccess libpcre libpcre16 libpcre32 libpcrecpp libpcreposix libpng libpng-dev libx11 libx11-dev libxau libxau-dev libxcb libxcb-dev libxdamage libxdamage-dev libxdmcp libxdmcp-dev libxext libxext-dev libxfixes libxfixes-dev libxml2 libxshmfence libxxf86vm libxxf86vm-dev linux-agp linux-drm mesa mesa-dev mesa-dri mesa-libegl mesa-libgbm mesa-libxatracker mesa-osmesa mesa-vdpau pcre pcre-apps pcre-dev perl perl-core pixman sdl sdl-dev tslib tslib-dev util-linux-blkid util-linux-blkid-dev util-linux-mount util-linux-mount-dev util-linux-smartcols util-linux-uuid util-linux-uuid-dev wayland wayland-dev xorgproto zlib-dev Debug information ret1. ================================================================================ Cook date: 2020-09-12 07:35 Wasted time : 53s 778:font.c:(.text+0x11c): undefined reference to `FT_Init_FreeType' 779:/usr/bin/ld: font.c:(.text+0x150): undefined reference to `FT_New_Face' 780:/usr/bin/ld: font.c:(.text+0x199): undefined reference to `FT_Set_Pixel_Sizes' 781:/usr/bin/ld: font.c:(.text+0x1dc): undefined reference to `FT_Get_Char_Index' 782:/usr/bin/ld: font.c:(.text+0x1ea): undefined reference to `FT_Load_Glyph' 783:/usr/bin/ld: font.c:(.text+0x20b): undefined reference to `FT_Render_Glyph' 784:/usr/bin/ld: font.c:(.text+0x2f4): undefined reference to `FT_Done_Face' 786:font.c:(.text+0xbe5): undefined reference to `FT_Outline_Decompose' 787:/usr/bin/ld: font.c:(.text+0xc4d): undefined reference to `FT_Outline_Decompose' 789:font.c:(.text+0xf81): undefined reference to `FT_Init_FreeType' 790:/usr/bin/ld: font.c:(.text+0xfb5): undefined reference to `FT_New_Face' 791:/usr/bin/ld: font.c:(.text+0x1023): undefined reference to `FT_Set_Char_Size' 792:/usr/bin/ld: font.c:(.text+0x107d): undefined reference to `FT_Get_Char_Index' 793:/usr/bin/ld: font.c:(.text+0x108b): undefined reference to `FT_Load_Glyph' 794:/usr/bin/ld: font.c:(.text+0x10d1): undefined reference to `FT_Done_Face' 796:sys_stuff.c:(.text+0x7b): undefined reference to `SDL_GetModState' 798:sys_stuff.c:(.text+0xfd): undefined reference to `SDL_Quit' 800:sys_stuff.c:(.text+0x113): undefined reference to `SDL_GetVideoSurface' 801:/usr/bin/ld: sys_stuff.c:(.text+0x11d): undefined reference to `SDL_Init' 802:/usr/bin/ld: sys_stuff.c:(.text+0x129): undefined reference to `SDL_GetError' 803:/usr/bin/ld: sys_stuff.c:(.text+0x139): undefined reference to `SDL_Quit' 804:/usr/bin/ld: sys_stuff.c:(.text+0x14d): undefined reference to `SDL_GetVideoInfo' 805:/usr/bin/ld: sys_stuff.c:(.text+0x159): undefined reference to `SDL_GetError' 806:/usr/bin/ld: sys_stuff.c:(.text+0x18f): undefined reference to `SDL_GL_SetAttribute' 807:/usr/bin/ld: sys_stuff.c:(.text+0x19a): undefined reference to `SDL_GL_SetAttribute' 808:/usr/bin/ld: sys_stuff.c:(.text+0x1a5): undefined reference to `SDL_GL_SetAttribute' 809:/usr/bin/ld: sys_stuff.c:(.text+0x1b0): undefined reference to `SDL_GL_SetAttribute' 810:/usr/bin/ld: sys_stuff.c:(.text+0x1bb): undefined reference to `SDL_GL_SetAttribute' 811:/usr/bin/ld: sys_stuff.c:(.text+0x1c9): undefined reference to `SDL_EnableKeyRepeat' 812:/usr/bin/ld: sys_stuff.c:(.text+0x1f1): undefined reference to `SDL_SetVideoMode' 813:/usr/bin/ld: sys_stuff.c:(.text+0x1fd): undefined reference to `SDL_GetError' 815:sys_stuff.c:(.text+0x223): undefined reference to `SDL_GetVideoSurface' 817:sys_stuff.c:(.text+0x290): undefined reference to `SDL_GetVideoSurface' 818:/usr/bin/ld: sys_stuff.c:(.text+0x29d): undefined reference to `SDL_EnableKeyRepeat' 819:/usr/bin/ld: sys_stuff.c:(.text+0x2ae): undefined reference to `SDL_SetVideoMode' 820:/usr/bin/ld: sys_stuff.c:(.text+0x2bd): undefined reference to `SDL_EnableKeyRepeat' 822:sys_stuff.c:(.text+0x310): undefined reference to `SDL_ListModes' 824:sys_stuff.c:(.text+0x374): undefined reference to `SDL_PollEvent' 825:/usr/bin/ld: sys_stuff.c:(.text+0x461): undefined reference to `SDL_GL_SwapBuffers' 826:/usr/bin/ld: sys_stuff.c:(.text+0x479): undefined reference to `SDL_Delay' 828:sys_stuff.c:(.text+0x241): undefined reference to `SDL_WM_ToggleFullScreen' 830:sound_stuff.c:(.text+0x26): undefined reference to `SDL_MixAudio' 832:sound_stuff.c:(.text+0x7d): undefined reference to `SDL_LockAudio' 834:sound_stuff.c:(.text+0x145): undefined reference to `SDL_OpenAudio' 835:/usr/bin/ld: sound_stuff.c:(.text+0x151): undefined reference to `SDL_GetError' 836:/usr/bin/ld: sound_stuff.c:(.text+0x187): undefined reference to `SDL_PauseAudio' 838:sound_stuff.c:(.text+0x199): undefined reference to `SDL_CloseAudio' 840:sound_stuff.c:(.text+0xc2): undefined reference to `SDL_UnlockAudio' 841:collect2: error: ld returned 1 exit status ================================================================================ Post-check ================================================================================ Checking build... Failed Updating activity log... Done ================================================================================