I can not compile LTris from source.
For comparison: compiling "barrage" works without problem and it works too, when starting it. I assume ltris contains some code that may no longer be up to date?
Anyway, here is a copy/paste:
/Depot/jj/ltris-1.0.19/doit
Now installing something
/Depot/jj/ltris-1.0.19
checking build system type... x86_64-unknown-linux
checking host system type... x86_64-unknown-linux
checking target system type... x86_64-unknown-linux
checking for a BSD-compatible install... /usr/bin//ginstall -c
checking whether build environment is sane... yes
/Depot/jj/ltris-1.0.19/missing: Unknown --run' option
Try
/Depot/jj/ltris-1.0.19/missing --help' for more information
configure: WARNING: missing' script is too old or missing
checking for a thread-safe mkdir -p... /usr/bin//mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin//msgfmt
checking for gmsgfmt... /usr/bin//msgfmt
checking for xgettext... /usr/bin//xgettext
checking for msgmerge... /usr/bin//msgmerge
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for ranlib... ranlib
checking for strerror in -lcposix... no
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin//grep
checking for egrep... /usr/bin//grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for signed... yes
checking for inline... inline
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 for off_t... yes
checking for size_t... yes
checking for long long... yes
checking for long double... yes
checking for wchar_t... yes
checking for wint_t... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for intmax_t... yes
checking whether printf() supports POSIX/XSI format strings... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
checking whether integer division by zero raises SIGFPE... yes
checking for unsigned long long... yes
checking for inttypes.h... yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking for stdint.h... (cached) yes
checking for ld used by GCC... /usr/bin//ld
checking if the linker (/usr/bin//ld) is GNU ld... yes
checking for shared library run path origin... done
checking for ptrdiff_t... yes
checking argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for asprintf... yes
checking for fwprintf... yes
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for snprintf... yes
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for wcslen... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for __fsetlocking... yes
checking whether _snprintf is declared... no
checking whether _snwprintf is declared... no
checking whether feof_unlocked is declared... yes
checking whether fgets_unlocked is declared... no
checking whether getc_unlocked is declared... yes
checking for iconv... yes
checking for iconv declaration...
extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking for bison... bison
checking version of bison... 3.4.2, ok
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for ranlib... (cached) ranlib
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.0.0... yes
checking for sdl-config... (cached) /usr/bin/sdl-config
checking for SDL - version >= 1.1.5... yes
checking for main in -lSDL_mixer... yes
"SDL_Mixer found"
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating icons/Makefile
config.status: creating src/sounds/Makefile
config.status: creating src/gfx/Makefile
config.status: creating intl/Makefile
config.status: WARNING: 'intl/Makefile.in' seems to ignore the --datarootdir setting
config.status: creating po/Makefile.in
config.status: WARNING: 'po/Makefile.in.in' seems to ignore the --datarootdir setting
config.status: creating m4/Makefile
config.status: creating config.h
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing depfiles commands
make all-recursive
make[1]: Entering directory '/Depot/jj/ltris-1.0.19'
Making all in intl
make[2]: Entering directory '/Depot/jj/ltris-1.0.19/intl'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/Depot/jj/ltris-1.0.19/intl'
Making all in m4
make[2]: Entering directory '/Depot/jj/ltris-1.0.19/m4'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/Depot/jj/ltris-1.0.19/m4'
Making all in po
make[2]: Entering directory '/Depot/jj/ltris-1.0.19/po'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/Depot/jj/ltris-1.0.19/po'
Making all in src
make[2]: Entering directory '/Depot/jj/ltris-1.0.19/src'
Making all in gfx
make[3]: Entering directory '/Depot/jj/ltris-1.0.19/src/gfx'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/Depot/jj/ltris-1.0.19/src/gfx'
Making all in sounds
make[3]: Entering directory '/Depot/jj/ltris-1.0.19/src/sounds'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/Depot/jj/ltris-1.0.19/src/sounds'
make[3]: Entering directory '/Depot/jj/ltris-1.0.19/src'
gcc -DHAVE_CONFIG_H -DSOUND -DAUDIO_BUFFER_SIZE=256 -DSRC_DIR=\"/usr/share/ltris\" -DHI_DIR=\"/usr/var\" -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -O2 -fPIC -fno-strict-overflow -Wno-error -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_1_1_5 -MT sdl.o -MD -MP -MF .deps/sdl.Tpo -c -o sdl.o sdl.c
mv -f .deps/sdl.Tpo .deps/sdl.Po
gcc -DHAVE_CONFIG_H -DSOUND -DAUDIO_BUFFER_SIZE=256 -DSRC_DIR=\"/usr/share/ltris\" -DHI_DIR=\"/usr/var\" -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -O2 -fPIC -fno-strict-overflow -Wno-error -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_1_1_5 -MT menu.o -MD -MP -MF .deps/menu.Tpo -c -o menu.o menu.c
In file included from ltris.h:35,
from manager.h:21,
from menu.c:18:
tools.h:57:13: warning: inline function ‘delay_force_time_out’ declared but never defined
57 | inline void delay_force_time_out( Delay *delay );
| ^~~~~~~~~~~~~~~~~~~~
tools.h:54:12: warning: inline function ‘delay_timed_out’ declared but never defined
54 | inline int delay_timed_out( Delay *delay, int ms );
| ^~~~~~~~~~~~~~~
tools.h:51:13: warning: inline function ‘delay_reset’ declared but never defined
51 | inline void delay_reset( Delay *delay );
| ^~~~~~~~~~~
tools.h:48:13: warning: inline function ‘delay_set’ declared but never defined
48 | inline void delay_set( Delay *delay, int ms );
| ^~~~~~~~~
tools.h:36:12: warning: inline function ‘strequal’ declared but never defined
36 | inline int strequal( char *str1, char *str2 );
| ^~~~~~~~
In file included from ltris.h:34,
from manager.h:21,
from menu.c:18:
sdl.h:152:13: warning: inline function ‘reset_timer’ declared but never defined
152 | inline void reset_timer();
| ^~~~~~~~~~~
sdl.h:151:12: warning: inline function ‘get_time’ declared but never defined
151 | inline int get_time();
| ^~~~~~~~
sdl.h:142:13: warning: inline function ‘flip_screen’ declared but never defined
142 | inline void flip_screen();
| ^~~~~~~~~~~
sdl.h:141:13: warning: inline function ‘unlock_screen’ declared but never defined
141 | inline void unlock_screen();
| ^~~~~~~~~~~~~
sdl.h:140:13: warning: inline function ‘lock_screen’ declared but never defined
140 | inline void lock_screen();
| ^~~~~~~~~~~
sdl.h:135:13: warning: inline function ‘refresh_screen’ declared but never defined
135 | inline void refresh_screen( int x, int y, int w, int h );
| ^~~~~~~~~~~~~~
sdl.h:90:13: warning: inline function ‘unlock_font’ declared but never defined
90 | inline void unlock_font(Font *sfnt);
| ^~~~~~~~~~~
sdl.h:89:13: warning: inline function ‘lock_font’ declared but never defined
89 | inline void lock_font(Font *sfnt);
| ^~~~~~~~~
sdl.h:45:13: warning: inline function ‘unlock_surf’ declared but never defined
45 | inline void unlock_surf(SDL_Surface *sur);
| ^~~~~~~~~~~
sdl.h:44:13: warning: inline function ‘lock_surf’ declared but never defined
44 | inline void lock_surf(SDL_Surface *sur);
| ^~~~~~~~~
mv -f .deps/menu.Tpo .deps/menu.Po
gcc -DHAVE_CONFIG_H -DSOUND -DAUDIO_BUFFER_SIZE=256 -DSRC_DIR=\"/usr/share/ltris\" -DHI_DIR=\"/usr/var\" -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -O2 -fPIC -fno-strict-overflow -Wno-error -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_1_1_5 -MT item.o -MD -MP -MF .deps/item.Tpo -c -o item.o item.c
In file included from ltris.h:35,
from manager.h:21,
from item.c:18:
tools.h:57:13: warning: inline function ‘delay_force_time_out’ declared but never defined
57 | inline void delay_force_time_out( Delay *delay );
| ^~~~~~~~~~~~~~~~~~~~
tools.h:54:12: warning: inline function ‘delay_timed_out’ declared but never defined
54 | inline int delay_timed_out( Delay *delay, int ms );
| ^~~~~~~~~~~~~~~
tools.h:51:13: warning: inline function ‘delay_reset’ declared but never defined
51 | inline void delay_reset( Delay *delay );
| ^~~~~~~~~~~
tools.h:48:13: warning: inline function ‘delay_set’ declared but never defined
48 | inline void delay_set( Delay *delay, int ms );
| ^~~~~~~~~
tools.h:36:12: warning: inline function ‘strequal’ declared but never defined
36 | inline int strequal( char *str1, char *str2 );
| ^~~~~~~~
In file included from ltris.h:34,
from manager.h:21,
from item.c:18:
sdl.h:152:13: warning: inline function ‘reset_timer’ declared but never defined
152 | inline void reset_timer();
| ^~~~~~~~~~~
sdl.h:151:12: warning: inline function ‘get_time’ declared but never defined
151 | inline int get_time();
| ^~~~~~~~
sdl.h:142:13: warning: inline function ‘flip_screen’ declared but never defined
142 | inline void flip_screen();
| ^~~~~~~~~~~
sdl.h:141:13: warning: inline function ‘unlock_screen’ declared but never defined
141 | inline void unlock_screen();
| ^~~~~~~~~~~~~
sdl.h:140:13: warning: inline function ‘lock_screen’ declared but never defined
140 | inline void lock_screen();
| ^~~~~~~~~~~
sdl.h:135:13: warning: inline function ‘refresh_screen’ declared but never defined
135 | inline void refresh_screen( int x, int y, int w, int h );
| ^~~~~~~~~~~~~~
sdl.h:90:13: warning: inline function ‘unlock_font’ declared but never defined
90 | inline void unlock_font(Font *sfnt);
| ^~~~~~~~~~~
sdl.h:89:13: warning: inline function ‘lock_font’ declared but never defined
89 | inline void lock_font(Font *sfnt);
| ^~~~~~~~~
sdl.h:45:13: warning: inline function ‘unlock_surf’ declared but never defined
45 | inline void unlock_surf(SDL_Surface *sur);
| ^~~~~~~~~~~
sdl.h:44:13: warning: inline function ‘lock_surf’ declared but never defined
44 | inline void lock_surf(SDL_Surface *sur);
| ^~~~~~~~~
mv -f .deps/item.Tpo .deps/item.Po
gcc -DHAVE_CONFIG_H -DSOUND -DAUDIO_BUFFER_SIZE=256 -DSRC_DIR=\"/usr/share/ltris\" -DHI_DIR=\"/usr/var\" -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -O2 -fPIC -fno-strict-overflow -Wno-error -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_1_1_5 -MT manager.o -MD -MP -MF .deps/manager.Tpo -c -o manager.o manager.c
manager.c: In function ‘manager_delete’:
manager.c:477:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
477 | if ( wav_menu_click ) sound_chunk_free( wav_menu_click ); wav_menu_click = 0;
| ^~
manager.c:477:63: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
477 | if ( wav_menu_click ) sound_chunk_free( wav_menu_click ); wav_menu_click = 0;
| ^~~~~~~~~~~~~~
manager.c:478:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
478 | if ( wav_menu_motion ) sound_chunk_free( wav_menu_motion ); wav_menu_motion = 0;
| ^~
manager.c:478:65: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
478 | if ( wav_menu_motion ) sound_chunk_free( wav_menu_motion ); wav_menu_motion = 0;
| ^~~~~~~~~~~~~~~
In file included from ltris.h:35,
from manager.c:22:
manager.c: At top level:
tools.h:57:13: warning: inline function ‘delay_force_time_out’ declared but never defined
57 | inline void delay_force_time_out( Delay *delay );
| ^~~~~~~~~~~~~~~~~~~~
tools.h:54:12: warning: inline function ‘delay_timed_out’ declared but never defined
54 | inline int delay_timed_out( Delay *delay, int ms );
| ^~~~~~~~~~~~~~~
tools.h:51:13: warning: inline function ‘delay_reset’ declared but never defined
51 | inline void delay_reset( Delay *delay );
| ^~~~~~~~~~~
tools.h:48:13: warning: inline function ‘delay_set’ declared but never defined
48 | inline void delay_set( Delay *delay, int ms );
| ^~~~~~~~~
tools.h:36:12: warning: inline function ‘strequal’ declared but never defined
36 | inline int strequal( char *str1, char *str2 );
| ^~~~~~~~
In file included from ltris.h:34,
from manager.c:22:
sdl.h:152:13: warning: inline function ‘reset_timer’ declared but never defined
152 | inline void reset_timer();
| ^~~~~~~~~~~
sdl.h:151:12: warning: inline function ‘get_time’ declared but never defined
151 | inline int get_time();
| ^~~~~~~~
sdl.h:142:13: warning: inline function ‘flip_screen’ declared but never defined
142 | inline void flip_screen();
| ^~~~~~~~~~~
sdl.h:141:13: warning: inline function ‘unlock_screen’ declared but never defined
141 | inline void unlock_screen();
| ^~~~~~~~~~~~~
sdl.h:140:13: warning: inline function ‘lock_screen’ declared but never defined
140 | inline void lock_screen();
| ^~~~~~~~~~~
sdl.h:135:13: warning: inline function ‘refresh_screen’ declared but never defined
135 | inline void refresh_screen( int x, int y, int w, int h );
| ^~~~~~~~~~~~~~
sdl.h:90:13: warning: inline function ‘unlock_font’ declared but never defined
90 | inline void unlock_font(Font *sfnt);
| ^~~~~~~~~~~
sdl.h:89:13: warning: inline function ‘lock_font’ declared but never defined
89 | inline void lock_font(Font *sfnt);
| ^~~~~~~~~
sdl.h:45:13: warning: inline function ‘unlock_surf’ declared but never defined
45 | inline void unlock_surf(SDL_Surface *sur);
| ^~~~~~~~~~~
sdl.h:44:13: warning: inline function ‘lock_surf’ declared but never defined
44 | inline void lock_surf(SDL_Surface *sur);
| ^~~~~~~~~
mv -f .deps/manager.Tpo .deps/manager.Po
gcc -DHAVE_CONFIG_H -DSOUND -DAUDIO_BUFFER_SIZE=256 -DSRC_DIR=\"/usr/share/ltris\" -DHI_DIR=\"/usr/var\" -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -O2 -fPIC -fno-strict-overflow -Wno-error -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_1_1_5 -MT value.o -MD -MP -MF .deps/value.Tpo -c -o value.o value.c
In file included from ltris.h:35,
from manager.h:21,
from value.c:19:
tools.h:57:13: warning: inline function ‘delay_force_time_out’ declared but never defined
57 | inline void delay_force_time_out( Delay *delay );
| ^~~~~~~~~~~~~~~~~~~~
tools.h:54:12: warning: inline function ‘delay_timed_out’ declared but never defined
54 | inline int delay_timed_out( Delay *delay, int ms );
| ^~~~~~~~~~~~~~~
tools.h:51:13: warning: inline function ‘delay_reset’ declared but never defined
51 | inline void delay_reset( Delay *delay );
| ^~~~~~~~~~~
tools.h:48:13: warning: inline function ‘delay_set’ declared but never defined
48 | inline void delay_set( Delay *delay, int ms );
| ^~~~~~~~~
tools.h:36:12: warning: inline function ‘strequal’ declared but never defined
36 | inline int strequal( char *str1, char *str2 );
| ^~~~~~~~
In file included from ltris.h:34,
from manager.h:21,
from value.c:19:
sdl.h:152:13: warning: inline function ‘reset_timer’ declared but never defined
152 | inline void reset_timer();
| ^~~~~~~~~~~
sdl.h:151:12: warning: inline function ‘get_time’ declared but never defined
151 | inline int get_time();
| ^~~~~~~~
sdl.h:142:13: warning: inline function ‘flip_screen’ declared but never defined
142 | inline void flip_screen();
| ^~~~~~~~~~~
sdl.h:141:13: warning: inline function ‘unlock_screen’ declared but never defined
141 | inline void unlock_screen();
| ^~~~~~~~~~~~~
sdl.h:140:13: warning: inline function ‘lock_screen’ declared but never defined
140 | inline void lock_screen();
| ^~~~~~~~~~~
sdl.h:135:13: warning: inline function ‘refresh_screen’ declared but never defined
135 | inline void refresh_screen( int x, int y, int w, int h );
| ^~~~~~~~~~~~~~
sdl.h:90:13: warning: inline function ‘unlock_font’ declared but never defined
90 | inline void unlock_font(Font *sfnt);
| ^~~~~~~~~~~
sdl.h:89:13: warning: inline function ‘lock_font’ declared but never defined
89 | inline void lock_font(Font *sfnt);
| ^~~~~~~~~
sdl.h:45:13: warning: inline function ‘unlock_surf’ declared but never defined
45 | inline void unlock_surf(SDL_Surface *sur);
| ^~~~~~~~~~~
sdl.h:44:13: warning: inline function ‘lock_surf’ declared but never defined
44 | inline void lock_surf(SDL_Surface *sur);
| ^~~~~~~~~
mv -f .deps/value.Tpo .deps/value.Po
gcc -DHAVE_CONFIG_H -DSOUND -DAUDIO_BUFFER_SIZE=256 -DSRC_DIR=\"/usr/share/ltris\" -DHI_DIR=\"/usr/var\" -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -O2 -fPIC -fno-strict-overflow -Wno-error -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_1_1_5 -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
In file included from ltris.h:35,
from main.c:22:
tools.h:57:13: warning: inline function ‘delay_force_time_out’ declared but never defined
57 | inline void delay_force_time_out( Delay *delay );
| ^~~~~~~~~~~~~~~~~~~~
tools.h:54:12: warning: inline function ‘delay_timed_out’ declared but never defined
54 | inline int delay_timed_out( Delay *delay, int ms );
| ^~~~~~~~~~~~~~~
tools.h:51:13: warning: inline function ‘delay_reset’ declared but never defined
51 | inline void delay_reset( Delay *delay );
| ^~~~~~~~~~~
tools.h:48:13: warning: inline function ‘delay_set’ declared but never defined
48 | inline void delay_set( Delay *delay, int ms );
| ^~~~~~~~~
tools.h:36:12: warning: inline function ‘strequal’ declared but never defined
36 | inline int strequal( char *str1, char *str2 );
| ^~~~~~~~
In file included from ltris.h:34,
from main.c:22:
sdl.h:152:13: warning: inline function ‘reset_timer’ declared but never defined
152 | inline void reset_timer();
| ^~~~~~~~~~~
sdl.h:151:12: warning: inline function ‘get_time’ declared but never defined
151 | inline int get_time();
| ^~~~~~~~
sdl.h:142:13: warning: inline function ‘flip_screen’ declared but never defined
142 | inline void flip_screen();
| ^~~~~~~~~~~
sdl.h:141:13: warning: inline function ‘unlock_screen’ declared but never defined
141 | inline void unlock_screen();
| ^~~~~~~~~~~~~
sdl.h:140:13: warning: inline function ‘lock_screen’ declared but never defined
140 | inline void lock_screen();
| ^~~~~~~~~~~
sdl.h:135:13: warning: inline function ‘refresh_screen’ declared but never defined
135 | inline void refresh_screen( int x, int y, int w, int h );
| ^~~~~~~~~~~~~~
sdl.h:90:13: warning: inline function ‘unlock_font’ declared but never defined
90 | inline void unlock_font(Font *sfnt);
| ^~~~~~~~~~~
sdl.h:89:13: warning: inline function ‘lock_font’ declared but never defined
89 | inline void lock_font(Font *sfnt);
| ^~~~~~~~~
sdl.h:45:13: warning: inline function ‘unlock_surf’ declared but never defined
45 | inline void unlock_surf(SDL_Surface *sur);
| ^~~~~~~~~~~
sdl.h:44:13: warning: inline function ‘lock_surf’ declared but never defined
44 | inline void lock_surf(SDL_Surface *sur);
| ^~~~~~~~~
mv -f .deps/main.Tpo .deps/main.Po
gcc -DHAVE_CONFIG_H -DSOUND -DAUDIO_BUFFER_SIZE=256 -DSRC_DIR=\"/usr/share/ltris\" -DHI_DIR=\"/usr/var\" -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -O2 -fPIC -fno-strict-overflow -Wno-error -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_1_1_5 -MT audio.o -MD -MP -MF .deps/audio.Tpo -c -o audio.o audio.c
In file included from ltris.h:35,
from audio.c:20:
tools.h:57:13: warning: inline function ‘delay_force_time_out’ declared but never defined
57 | inline void delay_force_time_out( Delay *delay );
| ^~~~~~~~~~~~~~~~~~~~
tools.h:54:12: warning: inline function ‘delay_timed_out’ declared but never defined
54 | inline int delay_timed_out( Delay *delay, int ms );
| ^~~~~~~~~~~~~~~
tools.h:51:13: warning: inline function ‘delay_reset’ declared but never defined
51 | inline void delay_reset( Delay *delay );
| ^~~~~~~~~~~
tools.h:48:13: warning: inline function ‘delay_set’ declared but never defined
48 | inline void delay_set( Delay *delay, int ms );
| ^~~~~~~~~
tools.h:36:12: warning: inline function ‘strequal’ declared but never defined
36 | inline int strequal( char *str1, char *str2 );
| ^~~~~~~~
In file included from ltris.h:34,
from audio.c:20:
sdl.h:152:13: warning: inline function ‘reset_timer’ declared but never defined
152 | inline void reset_timer();
| ^~~~~~~~~~~
sdl.h:151:12: warning: inline function ‘get_time’ declared but never defined
151 | inline int get_time();
| ^~~~~~~~
sdl.h:142:13: warning: inline function ‘flip_screen’ declared but never defined
142 | inline void flip_screen();
| ^~~~~~~~~~~
sdl.h:141:13: warning: inline function ‘unlock_screen’ declared but never defined
141 | inline void unlock_screen();
| ^~~~~~~~~~~~~
sdl.h:140:13: warning: inline function ‘lock_screen’ declared but never defined
140 | inline void lock_screen();
| ^~~~~~~~~~~
sdl.h:135:13: warning: inline function ‘refresh_screen’ declared but never defined
135 | inline void refresh_screen( int x, int y, int w, int h );
| ^~~~~~~~~~~~~~
sdl.h:90:13: warning: inline function ‘unlock_font’ declared but never defined
90 | inline void unlock_font(Font *sfnt);
| ^~~~~~~~~~~
sdl.h:89:13: warning: inline function ‘lock_font’ declared but never defined
89 | inline void lock_font(Font *sfnt);
| ^~~~~~~~~
sdl.h:45:13: warning: inline function ‘unlock_surf’ declared but never defined
45 | inline void unlock_surf(SDL_Surface *sur);
| ^~~~~~~~~~~
sdl.h:44:13: warning: inline function ‘lock_surf’ declared but never defined
44 | inline void lock_surf(SDL_Surface *sur);
| ^~~~~~~~~
mv -f .deps/audio.Tpo .deps/audio.Po
gcc -DHAVE_CONFIG_H -DSOUND -DAUDIO_BUFFER_SIZE=256 -DSRC_DIR=\"/usr/share/ltris\" -DHI_DIR=\"/usr/var\" -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -O2 -fPIC -fno-strict-overflow -Wno-error -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_1_1_5 -MT event.o -MD -MP -MF .deps/event.Tpo -c -o event.o event.c
In file included from ltris.h:35,
from event.c:18:
tools.h:57:13: warning: inline function ‘delay_force_time_out’ declared but never defined
57 | inline void delay_force_time_out( Delay *delay );
| ^~~~~~~~~~~~~~~~~~~~
tools.h:54:12: warning: inline function ‘delay_timed_out’ declared but never defined
54 | inline int delay_timed_out( Delay *delay, int ms );
| ^~~~~~~~~~~~~~~
tools.h:51:13: warning: inline function ‘delay_reset’ declared but never defined
51 | inline void delay_reset( Delay *delay );
| ^~~~~~~~~~~
tools.h:48:13: warning: inline function ‘delay_set’ declared but never defined
48 | inline void delay_set( Delay *delay, int ms );
| ^~~~~~~~~
tools.h:36:12: warning: inline function ‘strequal’ declared but never defined
36 | inline int strequal( char *str1, char *str2 );
| ^~~~~~~~
In file included from ltris.h:34,
from event.c:18:
sdl.h:152:13: warning: inline function ‘reset_timer’ declared but never defined
152 | inline void reset_timer();
| ^~~~~~~~~~~
sdl.h:151:12: warning: inline function ‘get_time’ declared but never defined
151 | inline int get_time();
| ^~~~~~~~
sdl.h:142:13: warning: inline function ‘flip_screen’ declared but never defined
142 | inline void flip_screen();
| ^~~~~~~~~~~
sdl.h:141:13: warning: inline function ‘unlock_screen’ declared but never defined
141 | inline void unlock_screen();
| ^~~~~~~~~~~~~
sdl.h:140:13: warning: inline function ‘lock_screen’ declared but never defined
140 | inline void lock_screen();
| ^~~~~~~~~~~
sdl.h:135:13: warning: inline function ‘refresh_screen’ declared but never defined
135 | inline void refresh_screen( int x, int y, int w, int h );
| ^~~~~~~~~~~~~~
sdl.h:90:13: warning: inline function ‘unlock_font’ declared but never defined
90 | inline void unlock_font(Font *sfnt);
| ^~~~~~~~~~~
sdl.h:89:13: warning: inline function ‘lock_font’ declared but never defined
89 | inline void lock_font(Font *sfnt);
| ^~~~~~~~~
sdl.h:45:13: warning: inline function ‘unlock_surf’ declared but never defined
45 | inline void unlock_surf(SDL_Surface *sur);
| ^~~~~~~~~~~
sdl.h:44:13: warning: inline function ‘lock_surf’ declared but never defined
44 | inline void lock_surf(SDL_Surface *sur);
| ^~~~~~~~~
mv -f .deps/event.Tpo .deps/event.Po
gcc -DHAVE_CONFIG_H -DSOUND -DAUDIO_BUFFER_SIZE=256 -DSRC_DIR=\"/usr/share/ltris\" -DHI_DIR=\"/usr/var\" -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -O2 -fPIC -fno-strict-overflow -Wno-error -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_1_1_5 -MT list.o -MD -MP -MF .deps/list.Tpo -c -o list.o list.c
mv -f .deps/list.Tpo .deps/list.Po
gcc -DHAVE_CONFIG_H -DSOUND -DAUDIO_BUFFER_SIZE=256 -DSRC_DIR=\"/usr/share/ltris\" -DHI_DIR=\"/usr/var\" -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -O2 -fPIC -fno-strict-overflow -Wno-error -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_1_1_5 -MT tools.o -MD -MP -MF .deps/tools.Tpo -c -o tools.o tools.c
In file included from ltris.h:34,
from tools.c:23:
sdl.h:152:13: warning: inline function ‘reset_timer’ declared but never defined
152 | inline void reset_timer();
| ^~~~~~~~~~~
sdl.h:151:12: warning: inline function ‘get_time’ declared but never defined
151 | inline int get_time();
| ^~~~~~~~
sdl.h:142:13: warning: inline function ‘flip_screen’ declared but never defined
142 | inline void flip_screen();
| ^~~~~~~~~~~
sdl.h:141:13: warning: inline function ‘unlock_screen’ declared but never defined
141 | inline void unlock_screen();
| ^~~~~~~~~~~~~
sdl.h:140:13: warning: inline function ‘lock_screen’ declared but never defined
140 | inline void lock_screen();
| ^~~~~~~~~~~
sdl.h:135:13: warning: inline function ‘refresh_screen’ declared but never defined
135 | inline void refresh_screen( int x, int y, int w, int h );
| ^~~~~~~~~~~~~~
sdl.h:90:13: warning: inline function ‘unlock_font’ declared but never defined
90 | inline void unlock_font(Font *sfnt);
| ^~~~~~~~~~~
sdl.h:89:13: warning: inline function ‘lock_font’ declared but never defined
89 | inline void lock_font(Font *sfnt);
| ^~~~~~~~~
sdl.h:45:13: warning: inline function ‘unlock_surf’ declared but never defined
45 | inline void unlock_surf(SDL_Surface *sur);
| ^~~~~~~~~~~
sdl.h:44:13: warning: inline function ‘lock_surf’ declared but never defined
44 | inline void lock_surf(SDL_Surface *sur);
| ^~~~~~~~~
mv -f .deps/tools.Tpo .deps/tools.Po
gcc -DHAVE_CONFIG_H -DSOUND -DAUDIO_BUFFER_SIZE=256 -DSRC_DIR=\"/usr/share/ltris\" -DHI_DIR=\"/usr/var\" -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -O2 -fPIC -fno-strict-overflow -Wno-error -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_1_1_5 -MT config.o -MD -MP -MF .deps/config.Tpo -c -o config.o config.c
In file included from config.c:26:
sdl.h:152:13: warning: inline function ‘reset_timer’ declared but never defined
152 | inline void reset_timer();
| ^~~~~~~~~~~
sdl.h:151:12: warning: inline function ‘get_time’ declared but never defined
151 | inline int get_time();
| ^~~~~~~~
sdl.h:142:13: warning: inline function ‘flip_screen’ declared but never defined
142 | inline void flip_screen();
| ^~~~~~~~~~~
sdl.h:141:13: warning: inline function ‘unlock_screen’ declared but never defined
141 | inline void unlock_screen();
| ^~~~~~~~~~~~~
sdl.h:140:13: warning: inline function ‘lock_screen’ declared but never defined
140 | inline void lock_screen();
| ^~~~~~~~~~~
sdl.h:135:13: warning: inline function ‘refresh_screen’ declared but never defined
135 | inline void refresh_screen( int x, int y, int w, int h );
| ^~~~~~~~~~~~~~
sdl.h:90:13: warning: inline function ‘unlock_font’ declared but never defined
90 | inline void unlock_font(Font *sfnt);
| ^~~~~~~~~~~
sdl.h:89:13: warning: inline function ‘lock_font’ declared but never defined
89 | inline void lock_font(Font *sfnt);
| ^~~~~~~~~
sdl.h:45:13: warning: inline function ‘unlock_surf’ declared but never defined
45 | inline void unlock_surf(SDL_Surface *sur);
| ^~~~~~~~~~~
sdl.h:44:13: warning: inline function ‘lock_surf’ declared but never defined
44 | inline void lock_surf(SDL_Surface *sur);
| ^~~~~~~~~
config.c: In function ‘config_load’:
config.c:155:29: warning: ‘%s’ directive writing 10 bytes into a region of size between 0 and 511 [-Wformat-overflow=]
155 | sprintf( file_name, "%s/%s", config.dir_name, CONFIG_FILE_NAME );
| ^~
config.c:155:5: note: ‘sprintf’ output between 12 and 523 bytes into a destination of size 512
155 | sprintf( file_name, "%s/%s", config.dir_name, CONFIG_FILE_NAME );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
config.c: In function ‘config_save’:
config.c:227:29: warning: ‘%s’ directive writing 10 bytes into a region of size between 0 and 511 [-Wformat-overflow=]
227 | sprintf( file_name, "%s/%s", config.dir_name, CONFIG_FILE_NAME );
| ^~
config.c:227:5: note: ‘sprintf’ output between 12 and 523 bytes into a destination of size 512
227 | sprintf( file_name, "%s/%s", config.dir_name, CONFIG_FILE_NAME );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mv -f .deps/config.Tpo .deps/config.Po
gcc -DHAVE_CONFIG_H -DSOUND -DAUDIO_BUFFER_SIZE=256 -DSRC_DIR=\"/usr/share/ltris\" -DHI_DIR=\"/usr/var\" -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -O2 -fPIC -fno-strict-overflow -Wno-error -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_1_1_5 -MT chart.o -MD -MP -MF .deps/chart.Tpo -c -o chart.o chart.c
chart.c: In function ‘chart_load’:
chart.c:189:2: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
189 | if ( charts ) list_delete( charts ); charts = 0;
| ^~
chart.c:189:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
189 | if ( charts ) list_delete( charts ); charts = 0;
| ^~~~~~
chart.c: In function ‘chart_delete’:
chart.c:224:2: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
224 | if ( charts ) list_delete( charts ); charts = 0;
| ^~
chart.c:224:39: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
224 | if ( charts ) list_delete( charts ); charts = 0;
| ^~~~~~
In file included from ltris.h:35,
from chart.c:18:
chart.c: At top level:
tools.h:57:13: warning: inline function ‘delay_force_time_out’ declared but never defined
57 | inline void delay_force_time_out( Delay *delay );
| ^~~~~~~~~~~~~~~~~~~~
tools.h:54:12: warning: inline function ‘delay_timed_out’ declared but never defined
54 | inline int delay_timed_out( Delay *delay, int ms );
| ^~~~~~~~~~~~~~~
tools.h:51:13: warning: inline function ‘delay_reset’ declared but never defined
51 | inline void delay_reset( Delay *delay );
| ^~~~~~~~~~~
tools.h:48:13: warning: inline function ‘delay_set’ declared but never defined
48 | inline void delay_set( Delay *delay, int ms );
| ^~~~~~~~~
tools.h:36:12: warning: inline function ‘strequal’ declared but never defined
36 | inline int strequal( char *str1, char *str2 );
| ^~~~~~~~
In file included from ltris.h:34,
from chart.c:18:
sdl.h:152:13: warning: inline function ‘reset_timer’ declared but never defined
152 | inline void reset_timer();
| ^~~~~~~~~~~
sdl.h:151:12: warning: inline function ‘get_time’ declared but never defined
151 | inline int get_time();
| ^~~~~~~~
sdl.h:142:13: warning: inline function ‘flip_screen’ declared but never defined
142 | inline void flip_screen();
| ^~~~~~~~~~~
sdl.h:141:13: warning: inline function ‘unlock_screen’ declared but never defined
141 | inline void unlock_screen();
| ^~~~~~~~~~~~~
sdl.h:140:13: warning: inline function ‘lock_screen’ declared but never defined
140 | inline void lock_screen();
| ^~~~~~~~~~~
sdl.h:135:13: warning: inline function ‘refresh_screen’ declared but never defined
135 | inline void refresh_screen( int x, int y, int w, int h );
| ^~~~~~~~~~~~~~
sdl.h:90:13: warning: inline function ‘unlock_font’ declared but never defined
90 | inline void unlock_font(Font *sfnt);
| ^~~~~~~~~~~
sdl.h:89:13: warning: inline function ‘lock_font’ declared but never defined
89 | inline void lock_font(Font *sfnt);
| ^~~~~~~~~
sdl.h:45:13: warning: inline function ‘unlock_surf’ declared but never defined
45 | inline void unlock_surf(SDL_Surface *sur);
| ^~~~~~~~~~~
sdl.h:44:13: warning: inline function ‘lock_surf’ declared but never defined
44 | inline void lock_surf(SDL_Surface *sur);
| ^~~~~~~~~
chart.c: In function ‘chart_save’:
chart.c:239:29: warning: ‘%s’ directive writing 10 bytes into a region of size between 0 and 511 [-Wformat-overflow=]
239 | sprintf( file_name, "%s/%s", chart_path, CHART_FILE_NAME );
| ^~
chart.c:239:5: note: ‘sprintf’ output between 12 and 523 bytes into a destination of size 512
239 | sprintf( file_name, "%s/%s", chart_path, CHART_FILE_NAME );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mv -f .deps/chart.Tpo .deps/chart.Po
gcc -DHAVE_CONFIG_H -DSOUND -DAUDIO_BUFFER_SIZE=256 -DSRC_DIR=\"/usr/share/ltris\" -DHI_DIR=\"/usr/var\" -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -O2 -fPIC -fno-strict-overflow -Wno-error -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_1_1_5 -MT tetris.o -MD -MP -MF .deps/tetris.Tpo -c -o tetris.o tetris.c
tetris.c: In function ‘tetris_delete’:
tetris.c:235:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
235 | if ( logo ) SDL_FreeSurface( logo ); logo = 0;
| ^~
tetris.c:235:42: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
235 | if ( logo ) SDL_FreeSurface( logo ); logo = 0;
| ^~~~
tetris.c:236:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
236 | if ( blocks ) SDL_FreeSurface( blocks ); blocks = 0;
| ^~
tetris.c:236:46: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
236 | if ( blocks ) SDL_FreeSurface( blocks ); blocks = 0;
| ^~~~~~
tetris.c:237:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
237 | if ( qmark ) SDL_FreeSurface( qmark ); qmark = 0;
| ^~
tetris.c:237:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
237 | if ( qmark ) SDL_FreeSurface( qmark ); qmark = 0;
| ^~~~~
tetris.c:240:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
240 | if ( offscreen ) SDL_FreeSurface( offscreen ); offscreen = 0;
| ^~
tetris.c:240:52: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
240 | if ( offscreen ) SDL_FreeSurface( offscreen ); offscreen = 0;
| ^~~~~~~~~
tetris.c:241:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
241 | if ( bkgnd ) SDL_FreeSurface( bkgnd ); bkgnd = 0;
| ^~
tetris.c:241:44: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
241 | if ( bkgnd ) SDL_FreeSurface( bkgnd ); bkgnd = 0;
| ^~~~~
tetris.c:243:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
243 | if ( wav_click ) sound_chunk_free( wav_click ); wav_click = 0;
| ^~
tetris.c:243:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
243 | if ( wav_click ) sound_chunk_free( wav_click ); wav_click = 0;
| ^~~~~~~~~
In file included from ltris.h:35,
from tetris.c:18:
tetris.c: At top level:
tools.h:57:13: warning: inline function ‘delay_force_time_out’ declared but never defined
57 | inline void delay_force_time_out( Delay *delay );
| ^~~~~~~~~~~~~~~~~~~~
tools.h:54:12: warning: inline function ‘delay_timed_out’ declared but never defined
54 | inline int delay_timed_out( Delay *delay, int ms );
| ^~~~~~~~~~~~~~~
tools.h:51:13: warning: inline function ‘delay_reset’ declared but never defined
51 | inline void delay_reset( Delay *delay );
| ^~~~~~~~~~~
tools.h:48:13: warning: inline function ‘delay_set’ declared but never defined
48 | inline void delay_set( Delay *delay, int ms );
| ^~~~~~~~~
tools.h:36:12: warning: inline function ‘strequal’ declared but never defined
36 | inline int strequal( char *str1, char *str2 );
| ^~~~~~~~
In file included from ltris.h:34,
from tetris.c:18:
sdl.h:152:13: warning: inline function ‘reset_timer’ declared but never defined
152 | inline void reset_timer();
| ^~~~~~~~~~~
sdl.h:151:12: warning: inline function ‘get_time’ declared but never defined
151 | inline int get_time();
| ^~~~~~~~
sdl.h:142:13: warning: inline function ‘flip_screen’ declared but never defined
142 | inline void flip_screen();
| ^~~~~~~~~~~
sdl.h:141:13: warning: inline function ‘unlock_screen’ declared but never defined
141 | inline void unlock_screen();
| ^~~~~~~~~~~~~
sdl.h:140:13: warning: inline function ‘lock_screen’ declared but never defined
140 | inline void lock_screen();
| ^~~~~~~~~~~
sdl.h:135:13: warning: inline function ‘refresh_screen’ declared but never defined
135 | inline void refresh_screen( int x, int y, int w, int h );
| ^~~~~~~~~~~~~~
sdl.h:90:13: warning: inline function ‘unlock_font’ declared but never defined
90 | inline void unlock_font(Font *sfnt);
| ^~~~~~~~~~~
sdl.h:89:13: warning: inline function ‘lock_font’ declared but never defined
89 | inline void lock_font(Font *sfnt);
| ^~~~~~~~~
sdl.h:45:13: warning: inline function ‘unlock_surf’ declared but never defined
45 | inline void unlock_surf(SDL_Surface *sur);
| ^~~~~~~~~~~
sdl.h:44:13: warning: inline function ‘lock_surf’ declared but never defined
44 | inline void lock_surf(SDL_Surface *sur);
| ^~~~~~~~~
mv -f .deps/tetris.Tpo .deps/tetris.Po
gcc -DHAVE_CONFIG_H -DSOUND -DAUDIO_BUFFER_SIZE=256 -DSRC_DIR=\"/usr/share/ltris\" -DHI_DIR=\"/usr/var\" -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -O2 -fPIC -fno-strict-overflow -Wno-error -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_1_1_5 -MT bowl.o -MD -MP -MF .deps/bowl.Tpo -c -o bowl.o bowl.c
bowl.c: In function ‘bowl_delete’:
bowl.c:1069:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
1069 | if ( bowl->wav_excellent ) sound_chunk_free( bowl->wav_excellent ); bowl->wav_excellent = 0;
| ^~
bowl.c:1069:73: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
1069 | if ( bowl->wav_excellent ) sound_chunk_free( bowl->wav_excellent ); bowl->wav_excellent = 0;
| ^~~~
bowl.c:1070:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
1070 | if ( bowl->wav_nextlevel ) sound_chunk_free( bowl->wav_nextlevel ); bowl->wav_nextlevel = 0;
| ^~
bowl.c:1070:73: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
1070 | if ( bowl->wav_nextlevel ) sound_chunk_free( bowl->wav_nextlevel ); bowl->wav_nextlevel = 0;
| ^~~~
bowl.c:1071:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
1071 | if ( bowl->wav_stop ) sound_chunk_free( bowl->wav_stop ); bowl->wav_stop = 0;
| ^~
bowl.c:1071:63: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
1071 | if ( bowl->wav_stop ) sound_chunk_free( bowl->wav_stop ); bowl->wav_stop = 0;
| ^~~~
bowl.c:1072:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
1072 | if ( bowl->wav_leftright ) sound_chunk_free( bowl->wav_leftright ); bowl->wav_leftright = 0;
| ^~
bowl.c:1072:73: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
1072 | if ( bowl->wav_leftright ) sound_chunk_free( bowl->wav_leftright ); bowl->wav_leftright = 0;
| ^~~~
bowl.c:1073:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
1073 | if ( bowl->wav_explosion ) sound_chunk_free( bowl->wav_explosion ); bowl->wav_explosion = 0;
| ^~
bowl.c:1073:73: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
1073 | if ( bowl->wav_explosion ) sound_chunk_free( bowl->wav_explosion ); bowl->wav_explosion = 0;
| ^~~~
In file included from ltris.h:35,
from bowl.c:18:
bowl.c: At top level:
tools.h:57:13: warning: inline function ‘delay_force_time_out’ declared but never defined
57 | inline void delay_force_time_out( Delay *delay );
| ^~~~~~~~~~~~~~~~~~~~
tools.h:54:12: warning: inline function ‘delay_timed_out’ declared but never defined
54 | inline int delay_timed_out( Delay *delay, int ms );
| ^~~~~~~~~~~~~~~
tools.h:51:13: warning: inline function ‘delay_reset’ declared but never defined
51 | inline void delay_reset( Delay *delay );
| ^~~~~~~~~~~
tools.h:48:13: warning: inline function ‘delay_set’ declared but never defined
48 | inline void delay_set( Delay *delay, int ms );
| ^~~~~~~~~
tools.h:36:12: warning: inline function ‘strequal’ declared but never defined
36 | inline int strequal( char *str1, char *str2 );
| ^~~~~~~~
In file included from ltris.h:34,
from bowl.c:18:
sdl.h:152:13: warning: inline function ‘reset_timer’ declared but never defined
152 | inline void reset_timer();
| ^~~~~~~~~~~
sdl.h:151:12: warning: inline function ‘get_time’ declared but never defined
151 | inline int get_time();
| ^~~~~~~~
sdl.h:142:13: warning: inline function ‘flip_screen’ declared but never defined
142 | inline void flip_screen();
| ^~~~~~~~~~~
sdl.h:141:13: warning: inline function ‘unlock_screen’ declared but never defined
141 | inline void unlock_screen();
| ^~~~~~~~~~~~~
sdl.h:140:13: warning: inline function ‘lock_screen’ declared but never defined
140 | inline void lock_screen();
| ^~~~~~~~~~~
sdl.h:135:13: warning: inline function ‘refresh_screen’ declared but never defined
135 | inline void refresh_screen( int x, int y, int w, int h );
| ^~~~~~~~~~~~~~
sdl.h:90:13: warning: inline function ‘unlock_font’ declared but never defined
90 | inline void unlock_font(Font *sfnt);
| ^~~~~~~~~~~
sdl.h:89:13: warning: inline function ‘lock_font’ declared but never defined
89 | inline void lock_font(Font *sfnt);
| ^~~~~~~~~
sdl.h:45:13: warning: inline function ‘unlock_surf’ declared but never defined
45 | inline void unlock_surf(SDL_Surface *sur);
| ^~~~~~~~~~~
sdl.h:44:13: warning: inline function ‘lock_surf’ declared but never defined
44 | inline void lock_surf(SDL_Surface *sur);
| ^~~~~~~~~
mv -f .deps/bowl.Tpo .deps/bowl.Po
gcc -DHAVE_CONFIG_H -DSOUND -DAUDIO_BUFFER_SIZE=256 -DSRC_DIR=\"/usr/share/ltris\" -DHI_DIR=\"/usr/var\" -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -O2 -fPIC -fno-strict-overflow -Wno-error -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_1_1_5 -MT shrapnells.o -MD -MP -MF .deps/shrapnells.Tpo -c -o shrapnells.o shrapnells.c
shrapnells.c: In function ‘exp_delete’:
shrapnells.c:250:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
250 | if ( exp_pic ) SDL_FreeSurface( exp_pic ); exp_pic = 0;
| ^~
shrapnells.c:250:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
250 | if ( exp_pic ) SDL_FreeSurface( exp_pic ); exp_pic = 0;
| ^~~~~~~
shrapnells.c:251:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
251 | if ( exps ) list_delete( exps ); exps = 0;
| ^~
shrapnells.c:251:38: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
251 | if ( exps ) list_delete( exps ); exps = 0;
| ^~~~
In file included from ltris.h:35,
from shrapnells.c:18:
shrapnells.c: At top level:
tools.h:57:13: warning: inline function ‘delay_force_time_out’ declared but never defined
57 | inline void delay_force_time_out( Delay *delay );
| ^~~~~~~~~~~~~~~~~~~~
tools.h:54:12: warning: inline function ‘delay_timed_out’ declared but never defined
54 | inline int delay_timed_out( Delay *delay, int ms );
| ^~~~~~~~~~~~~~~
tools.h:51:13: warning: inline function ‘delay_reset’ declared but never defined
51 | inline void delay_reset( Delay *delay );
| ^~~~~~~~~~~
tools.h:48:13: warning: inline function ‘delay_set’ declared but never defined
48 | inline void delay_set( Delay *delay, int ms );
| ^~~~~~~~~
tools.h:36:12: warning: inline function ‘strequal’ declared but never defined
36 | inline int strequal( char *str1, char *str2 );
| ^~~~~~~~
In file included from ltris.h:34,
from shrapnells.c:18:
sdl.h:152:13: warning: inline function ‘reset_timer’ declared but never defined
152 | inline void reset_timer();
| ^~~~~~~~~~~
sdl.h:151:12: warning: inline function ‘get_time’ declared but never defined
151 | inline int get_time();
| ^~~~~~~~
sdl.h:142:13: warning: inline function ‘flip_screen’ declared but never defined
142 | inline void flip_screen();
| ^~~~~~~~~~~
sdl.h:141:13: warning: inline function ‘unlock_screen’ declared but never defined
141 | inline void unlock_screen();
| ^~~~~~~~~~~~~
sdl.h:140:13: warning: inline function ‘lock_screen’ declared but never defined
140 | inline void lock_screen();
| ^~~~~~~~~~~
sdl.h:135:13: warning: inline function ‘refresh_screen’ declared but never defined
135 | inline void refresh_screen( int x, int y, int w, int h );
| ^~~~~~~~~~~~~~
sdl.h:90:13: warning: inline function ‘unlock_font’ declared but never defined
90 | inline void unlock_font(Font *sfnt);
| ^~~~~~~~~~~
sdl.h:89:13: warning: inline function ‘lock_font’ declared but never defined
89 | inline void lock_font(Font *sfnt);
| ^~~~~~~~~
sdl.h:45:13: warning: inline function ‘unlock_surf’ declared but never defined
45 | inline void unlock_surf(SDL_Surface *sur);
| ^~~~~~~~~~~
sdl.h:44:13: warning: inline function ‘lock_surf’ declared but never defined
44 | inline void lock_surf(SDL_Surface *sur);
| ^~~~~~~~~
mv -f .deps/shrapnells.Tpo .deps/shrapnells.Po
gcc -DHAVE_CONFIG_H -DSOUND -DAUDIO_BUFFER_SIZE=256 -DSRC_DIR=\"/usr/share/ltris\" -DHI_DIR=\"/usr/var\" -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -O2 -fPIC -fno-strict-overflow -Wno-error -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_1_1_5 -MT cpu.o -MD -MP -MF .deps/cpu.Tpo -c -o cpu.o cpu.c
cpu.c: In function ‘cpu_analyze_bowl’:
cpu.c:185:9: warning: variable ‘diff’ set but not used [-Wunused-but-set-variable]
185 | int diff;
| ^~~~
In file included from ltris.h:35,
from cpu.c:18:
cpu.c: At top level:
tools.h:57:13: warning: inline function ‘delay_force_time_out’ declared but never defined
57 | inline void delay_force_time_out( Delay *delay );
| ^~~~~~~~~~~~~~~~~~~~
tools.h:54:12: warning: inline function ‘delay_timed_out’ declared but never defined
54 | inline int delay_timed_out( Delay *delay, int ms );
| ^~~~~~~~~~~~~~~
tools.h:51:13: warning: inline function ‘delay_reset’ declared but never defined
51 | inline void delay_reset( Delay *delay );
| ^~~~~~~~~~~
tools.h:48:13: warning: inline function ‘delay_set’ declared but never defined
48 | inline void delay_set( Delay *delay, int ms );
| ^~~~~~~~~
tools.h:36:12: warning: inline function ‘strequal’ declared but never defined
36 | inline int strequal( char *str1, char *str2 );
| ^~~~~~~~
In file included from ltris.h:34,
from cpu.c:18:
sdl.h:152:13: warning: inline function ‘reset_timer’ declared but never defined
152 | inline void reset_timer();
| ^~~~~~~~~~~
sdl.h:151:12: warning: inline function ‘get_time’ declared but never defined
151 | inline int get_time();
| ^~~~~~~~
sdl.h:142:13: warning: inline function ‘flip_screen’ declared but never defined
142 | inline void flip_screen();
| ^~~~~~~~~~~
sdl.h:141:13: warning: inline function ‘unlock_screen’ declared but never defined
141 | inline void unlock_screen();
| ^~~~~~~~~~~~~
sdl.h:140:13: warning: inline function ‘lock_screen’ declared but never defined
140 | inline void lock_screen();
| ^~~~~~~~~~~
sdl.h:135:13: warning: inline function ‘refresh_screen’ declared but never defined
135 | inline void refresh_screen( int x, int y, int w, int h );
| ^~~~~~~~~~~~~~
sdl.h:90:13: warning: inline function ‘unlock_font’ declared but never defined
90 | inline void unlock_font(Font *sfnt);
| ^~~~~~~~~~~
sdl.h:89:13: warning: inline function ‘lock_font’ declared but never defined
89 | inline void lock_font(Font *sfnt);
| ^~~~~~~~~
sdl.h:45:13: warning: inline function ‘unlock_surf’ declared but never defined
45 | inline void unlock_surf(SDL_Surface *sur);
| ^~~~~~~~~~~
sdl.h:44:13: warning: inline function ‘lock_surf’ declared but never defined
44 | inline void lock_surf(SDL_Surface *sur);
| ^~~~~~~~~
mv -f .deps/cpu.Tpo .deps/cpu.Po
gcc -DHAVE_CONFIG_H -DSOUND -DAUDIO_BUFFER_SIZE=256 -DSRC_DIR=\"/usr/share/ltris\" -DHI_DIR=\"/usr/var\" -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -O2 -fPIC -fno-strict-overflow -Wno-error -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_1_1_5 -MT hint.o -MD -MP -MF .deps/hint.Tpo -c -o hint.o hint.c
In file included from ltris.h:35,
from hint.c:18:
tools.h:57:13: warning: inline function ‘delay_force_time_out’ declared but never defined
57 | inline void delay_force_time_out( Delay *delay );
| ^~~~~~~~~~~~~~~~~~~~
tools.h:54:12: warning: inline function ‘delay_timed_out’ declared but never defined
54 | inline int delay_timed_out( Delay *delay, int ms );
| ^~~~~~~~~~~~~~~
tools.h:51:13: warning: inline function ‘delay_reset’ declared but never defined
51 | inline void delay_reset( Delay *delay );
| ^~~~~~~~~~~
tools.h:48:13: warning: inline function ‘delay_set’ declared but never defined
48 | inline void delay_set( Delay *delay, int ms );
| ^~~~~~~~~
tools.h:36:12: warning: inline function ‘strequal’ declared but never defined
36 | inline int strequal( char *str1, char *str2 );
| ^~~~~~~~
In file included from ltris.h:34,
from hint.c:18:
sdl.h:152:13: warning: inline function ‘reset_timer’ declared but never defined
152 | inline void reset_timer();
| ^~~~~~~~~~~
sdl.h:151:12: warning: inline function ‘get_time’ declared but never defined
151 | inline int get_time();
| ^~~~~~~~
sdl.h:142:13: warning: inline function ‘flip_screen’ declared but never defined
142 | inline void flip_screen();
| ^~~~~~~~~~~
sdl.h:141:13: warning: inline function ‘unlock_screen’ declared but never defined
141 | inline void unlock_screen();
| ^~~~~~~~~~~~~
sdl.h:140:13: warning: inline function ‘lock_screen’ declared but never defined
140 | inline void lock_screen();
| ^~~~~~~~~~~
sdl.h:135:13: warning: inline function ‘refresh_screen’ declared but never defined
135 | inline void refresh_screen( int x, int y, int w, int h );
| ^~~~~~~~~~~~~~
sdl.h:90:13: warning: inline function ‘unlock_font’ declared but never defined
90 | inline void unlock_font(Font *sfnt);
| ^~~~~~~~~~~
sdl.h:89:13: warning: inline function ‘lock_font’ declared but never defined
89 | inline void lock_font(Font *sfnt);
| ^~~~~~~~~
sdl.h:45:13: warning: inline function ‘unlock_surf’ declared but never defined
45 | inline void unlock_surf(SDL_Surface *sur);
| ^~~~~~~~~~~
sdl.h:44:13: warning: inline function ‘lock_surf’ declared but never defined
44 | inline void lock_surf(SDL_Surface *sur);
| ^~~~~~~~~
mv -f .deps/hint.Tpo .deps/hint.Po
gcc -DHAVE_CONFIG_H -DSOUND -DAUDIO_BUFFER_SIZE=256 -DSRC_DIR=\"/usr/share/ltris\" -DHI_DIR=\"/usr/var\" -DLOCALEDIR=\"/usr/share/locale\" -I. -I.. -O2 -fPIC -fno-strict-overflow -Wno-error -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_1_1_5 -MT parser.o -MD -MP -MF .deps/parser.Tpo -c -o parser.o parser.c
parser.c: In function ‘parser_set_parse_error.constprop’:
parser.c:114:37: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 1019 [-Wformat-overflow=]
114 | sprintf( parser_error, "%s: %i: %s",
| ^~
parser.c:114:5: note: ‘sprintf’ output 6 or more bytes (assuming 1029) into a destination of size 1024
114 | sprintf( parser_error, "%s: %i: %s",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
115 | fname, line_count, error );
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
parser.c: In function ‘parser_parse_file’:
parser.c:317:69: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 1004 [-Wformat-overflow=]
317 | sprintf( parser_sub_error, "parse error before '%s'", token );
| ^~ ~~~~~
parser.c:317:21: note: ‘sprintf’ output between 22 and 1045 bytes into a destination of size 1024
317 | sprintf( parser_sub_error, "parse error before '%s'", token );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
parser.c:355:61: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 1004 [-Wformat-overflow=]
355 | sprintf( parser_sub_error, "parse error before '%s'", token );
| ^~ ~~~~~
parser.c:355:13: note: ‘sprintf’ output between 22 and 1045 bytes into a destination of size 1024
355 | sprintf( parser_sub_error, "parse error before '%s'", token );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
parser.c:301:57: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 1004 [-Wformat-overflow=]
301 | sprintf( parser_sub_error, "parse error before '%s'", token );
| ^~ ~~~~~
parser.c:301:9: note: ‘sprintf’ output between 22 and 1045 bytes into a destination of size 1024
301 | sprintf( parser_sub_error, "parse error before '%s'", token );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
parser.c: In function ‘parser_get_pdata’:
parser.c:617:54: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 1003 [-Wformat-overflow=]
617 | sprintf( parser_error, "parser_get_pdata: %s/%s: %s", pd->name, name, parser_sub_error );
| ^~ ~~~~~~~~~~~~~~~~
parser.c:617:5: note: ‘sprintf’ output 22 or more bytes (assuming 1045) into a destination of size 1024
617 | sprintf( parser_error, "parser_get_pdata: %s/%s: %s", pd->name, name, parser_sub_error );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
parser.c: In function ‘parser_get_entries’:
parser.c:627:59: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 1003 [-Wformat-overflow=]
627 | sprintf( parser_sub_error, "parser_get_entries:\n %s", parser_error );
| ^~ ~~~~~~~~~~~~
parser.c:627:9: note: ‘sprintf’ output between 22 and 1045 bytes into a destination of size 1024
627 | sprintf( parser_sub_error, "parser_get_entries:\n %s", parser_error );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
parser.c: In function ‘parser_get_values’:
parser.c:643:58: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 1004 [-Wformat-overflow=]
643 | sprintf( parser_sub_error, "parser_get_values:\n %s", parser_error );
| ^~ ~~~~~~~~~~~~
parser.c:643:9: note: ‘sprintf’ output between 21 and 1044 bytes into a destination of size 1024
643 | sprintf( parser_sub_error, "parser_get_values:\n %s", parser_error );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
parser.c: In function ‘parser_get_value’:
parser.c:658:57: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 1005 [-Wformat-overflow=]
658 | sprintf( parser_sub_error, "parser_get_value:\n %s", parser_error );
| ^~ ~~~~~~~~~~~~
parser.c:658:9: note: ‘sprintf’ output between 20 and 1043 bytes into a destination of size 1024
658 | sprintf( parser_sub_error, "parser_get_value:\n %s", parser_error );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
parser.c: In function ‘parser_get_int’:
parser.c:674:55: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 1007 [-Wformat-overflow=]
674 | sprintf( parser_sub_error, "parser_get_int:\n %s", parser_error );
| ^~ ~~~~~~~~~~~~
parser.c:674:9: note: ‘sprintf’ output between 18 and 1041 bytes into a destination of size 1024
674 | sprintf( parser_sub_error, "parser_get_int:\n %s", parser_error );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
parser.c: In function ‘parser_get_double’:
parser.c:685:58: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 1004 [-Wformat-overflow=]
685 | sprintf( parser_sub_error, "parser_get_double:\n %s", parser_error );
| ^~ ~~~~~~~~~~~~
parser.c:685:9: note: ‘sprintf’ output between 21 and 1044 bytes into a destination of size 1024
685 | sprintf( parser_sub_error, "parser_get_double:\n %s", parser_error );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
parser.c: In function ‘parser_get_string’:
parser.c:696:58: warning: ‘%s’ directive writing up to 1023 bytes into a region of size 1004 [-Wformat-overflow=]
696 | sprintf( parser_sub_error, "parser_get_string:\n %s", parser_error );
| ^~ ~~~~~~~~~~~~
parser.c:696:9: note: ‘sprintf’ output between 21 and 1044 bytes into a destination of size 1024
696 | sprintf( parser_sub_error, "parser_get_string:\n %s", parser_error );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mv -f .deps/parser.Tpo .deps/parser.Po
gcc -O2 -fPIC -fno-strict-overflow -Wno-error -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DSDL_1_1_5 -o ltris sdl.o menu.o item.o manager.o value.o main.o audio.o event.o list.o tools.o config.o chart.o tetris.o bowl.o shrapnells.o cpu.o hint.o parser.o -lSDL_mixer -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread
/usr/bin/ld: menu.o: in function
menu_update':
menu.c:(.text+0x76a): undefined reference to strequal'
/usr/bin/ld: menu.c:(.text+0x7fc): undefined reference to
strequal'
/usr/bin/ld: manager.o: in function manager_run':
manager.c:(.text+0x2390): undefined reference to
reset_timer'
/usr/bin/ld: manager.c:(.text+0x23a1): undefined reference to get_time'
/usr/bin/ld: manager.c:(.text+0x25ef): undefined reference to
refresh_screen'
/usr/bin/ld: manager.c:(.text+0x25fb): undefined reference to get_time'
/usr/bin/ld: manager.c:(.text+0x276e): undefined reference to
refresh_screen'
/usr/bin/ld: chart.o: in function chart_load_from_path':
chart.c:(.text+0x5dc): undefined reference to
strequal'
/usr/bin/ld: chart.o: in function chart_set_query':
chart.c:(.text+0xc4c): undefined reference to
strequal'
/usr/bin/ld: tetris.o: in function confirm':
tetris.c:(.text+0x1dc): undefined reference to
refresh_screen'
/usr/bin/ld: tetris.c:(.text+0x269): undefined reference to refresh_screen'
/usr/bin/ld: tetris.c:(.text+0x278): undefined reference to
reset_timer'
/usr/bin/ld: tetris.c:(.text+0x3fa): undefined reference to refresh_screen'
/usr/bin/ld: tetris.o: in function
tetris_run':
tetris.c:(.text+0xc4e): undefined reference to reset_timer'
/usr/bin/ld: tetris.c:(.text+0xce3): undefined reference to
get_time'
/usr/bin/ld: tetris.c:(.text+0xf0b): undefined reference to refresh_screen'
/usr/bin/ld: tetris.c:(.text+0xf12): undefined reference to
reset_timer'
/usr/bin/ld: tetris.c:(.text+0x1149): undefined reference to refresh_screen'
/usr/bin/ld: bowl.o: in function
bowl_set_vert_block_vel':
bowl.c:(.text+0xa0): undefined reference to delay_set'
/usr/bin/ld: bowl.c:(.text+0xe4): undefined reference to
delay_set'
/usr/bin/ld: bowl.c:(.text+0x107): undefined reference to delay_set'
/usr/bin/ld: bowl.o: in function
bowl_select_next_block':
bowl.c:(.text+0x7ed): undefined reference to delay_set'
/usr/bin/ld: bowl.o: in function
bowl_create':
bowl.c:(.text+0x1655): undefined reference to delay_set'
/usr/bin/ld: bowl.o: in function
bowl_insert_block':
bowl.c:(.text+0x29c7): undefined reference to delay_reset'
/usr/bin/ld: bowl.o: in function
bowl_update':
bowl.c:(.text+0x2d9f): undefined reference to delay_timed_out'
/usr/bin/ld: bowl.c:(.text+0x2eca): undefined reference to
delay_timed_out'
/usr/bin/ld: bowl.c:(.text+0x2f3b): undefined reference to delay_force_time_out'
/usr/bin/ld: bowl.c:(.text+0x32c0): undefined reference to
delay_timed_out'
/usr/bin/ld: bowl.c:(.text+0x330c): undefined reference to delay_timed_out'
/usr/bin/ld: bowl.o: in function
bowl_select_next_block':
bowl.c:(.text+0x81e): undefined reference to `delay_set'
collect2: error: ld returned 1 exit status
make[3]: [Makefile:349: ltris] Error 1
make[3]: Leaving directory '/Depot/jj/ltris-1.0.19/src'
make[2]: [Makefile:397: all-recursive] Error 1
make[2]: Leaving directory '/Depot/jj/ltris-1.0.19/src'
make[1]: [Makefile:404: all-recursive] Error 1
make[1]: Leaving directory '/Depot/jj/ltris-1.0.19'
make: [Makefile:306: all] Error 2
Sorry for the formatting above ... sourceforge is ... well. :P
The error appears to begin here: