* Package: games-simulation/searchandrescue-1.7.0 * Repository: gentoo * Maintainer: games@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking SearchAndRescue-1.7.0.tar to /var/tmp/portage/games-simulation/searchandrescue-1.7.0/work >>> Unpacking SearchAndRescue-data-1.7.0.tar to /var/tmp/portage/games-simulation/searchandrescue-1.7.0/work/data >>> Unpacking SearchAndRescue-data-guadarrama-1.7.0.tar to /var/tmp/portage/games-simulation/searchandrescue-1.7.0/work/data >>> Source unpacked in /var/tmp/portage/games-simulation/searchandrescue-1.7.0/work >>> Preparing source in /var/tmp/portage/games-simulation/searchandrescue-1.7.0/work/searchandrescue_1.7.0 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/games-simulation/searchandrescue-1.7.0/work/searchandrescue_1.7.0 ... * please use append-cppflags for preprocessor flags make -j1 -C pconf pconf 'CC=x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' make: Entering directory '/var/tmp/portage/games-simulation/searchandrescue-1.7.0/work/searchandrescue_1.7.0/pconf' x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 fio.c main.c proc.c utils.c -o pconf -Wall proc.c: In function ‘PConfCheckDepends’: proc.c:1087:6: warning: variable ‘depend_progress_ratio’ set but not used [-Wunused-but-set-variable] 1087 | int depend_progress_ratio = 0; /* In percent. */ | ^~~~~~~~~~~~~~~~~~~~~ make: Leaving directory '/var/tmp/portage/games-simulation/searchandrescue-1.7.0/work/searchandrescue_1.7.0/pconf' Configuring for platform `Linux'... Checking this platform... Checking Dependency: X11-lib... Checking Dependency: X11-devel... Checking Dependency: xpm-lib... Checking Dependency: xpm-devel... Checking Dependency: xf86vidmode-lib...  *** Object `libXxf86vm.a' not found in defined platform paths! *** Checking Dependency: xf86vidmode-devel... Preferred (not required) feature `XF86VidMode' not detected and disabled. Checking Dependency: gl-lib... Checking Dependency: gl-devel... Generating output Makefile `sar/Makefile'...  Platform configuration completed! -------------------------------------------------------------------------------- Type 'make all' to begin compiling this program. >>> Source configured. >>> Compiling source in /var/tmp/portage/games-simulation/searchandrescue-1.7.0/work/searchandrescue_1.7.0 ... make -j1 -C sar LIB_DIRS= make: Entering directory '/var/tmp/portage/games-simulation/searchandrescue-1.7.0/work/searchandrescue_1.7.0/sar' echo "Building program \"SearchAndRescue\"..." Building program "SearchAndRescue"... echo "Compiling module cmd.o" Compiling module cmd.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c cmd.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module cmdclean.o" Compiling module cmdclean.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c cmdclean.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module cmdfire.o" Compiling module cmdfire.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c cmdfire.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module cmdmemory.o" Compiling module cmdmemory.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c cmdmemory.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module cmdoption.o" Compiling module cmdoption.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c cmdoption.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module cmdset.o" Compiling module cmdset.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c cmdset.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module cmdsmoke.o" Compiling module cmdsmoke.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c cmdsmoke.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module cmdtime.o" Compiling module cmdtime.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c cmdtime.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module cp.o" Compiling module cp.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c cp.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module cpfio.o" Compiling module cpfio.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c cpfio.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module cpins.o" Compiling module cpins.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c cpins.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module cpinsaltimeter.o" Compiling module cpinsaltimeter.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c cpinsaltimeter.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module cpinsbearing.o" Compiling module cpinsbearing.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c cpinsbearing.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module cpinshorizon.o" Compiling module cpinshorizon.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c cpinshorizon.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module explosion.o" Compiling module explosion.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c explosion.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module fire.o" Compiling module fire.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c fire.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module gctl.o" Compiling module gctl.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c gctl.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module gwx.o" Compiling module gwx.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c gwx.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM gwx.c: In function ‘GWGetCharacterFromKeyCode’: gwx.c:817:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 817 | return((int)(keytable[i + 1])); | ^ gwx.c: In function ‘GWSetWindowIconFile’: gwx.c:319:45: warning: comparison between pointer and zero character constant [-Wpointer-compare] 319 | #define STRISEMPTY(s) (((s) != NULL) ? ((s) == '\0') : True) | ^~ gwx.c:990:22: note: in expansion of macro ‘STRISEMPTY’ 990 | if((dpy == NULL) || STRISEMPTY(icon_path)) | ^~~~~~~~~~ gwx.c:319:41: note: did you mean to dereference the pointer? 319 | #define STRISEMPTY(s) (((s) != NULL) ? ((s) == '\0') : True) | ^ gwx.c:990:22: note: in expansion of macro ‘STRISEMPTY’ 990 | if((dpy == NULL) || STRISEMPTY(icon_path)) | ^~~~~~~~~~ gwx.c: In function ‘GWCreateWindow’: gwx.c:319:45: warning: comparison between pointer and zero character constant [-Wpointer-compare] 319 | #define STRISEMPTY(s) (((s) != NULL) ? ((s) == '\0') : True) | ^~ gwx.c:1311:10: note: in expansion of macro ‘STRISEMPTY’ 1311 | if(!STRISEMPTY(title)) | ^~~~~~~~~~ gwx.c:319:41: note: did you mean to dereference the pointer? 319 | #define STRISEMPTY(s) (((s) != NULL) ? ((s) == '\0') : True) | ^ gwx.c:1311:10: note: in expansion of macro ‘STRISEMPTY’ 1311 | if(!STRISEMPTY(title)) | ^~~~~~~~~~ gwx.c: In function ‘GWContextNew’: gwx.c:319:45: warning: comparison between pointer and zero character constant [-Wpointer-compare] 319 | #define STRISEMPTY(s) (((s) != NULL) ? ((s) == '\0') : True) | ^~ gwx.c:3742:11: note: in expansion of macro ‘STRISEMPTY’ 3742 | if(!STRISEMPTY(title)) | ^~~~~~~~~~ gwx.c:319:41: note: did you mean to dereference the pointer? 319 | #define STRISEMPTY(s) (((s) != NULL) ? ((s) == '\0') : True) | ^ gwx.c:3742:11: note: in expansion of macro ‘STRISEMPTY’ 3742 | if(!STRISEMPTY(title)) | ^~~~~~~~~~ gwx.c:319:45: warning: comparison between pointer and zero character constant [-Wpointer-compare] 319 | #define STRISEMPTY(s) (((s) != NULL) ? ((s) == '\0') : True) | ^~ gwx.c:3763:11: note: in expansion of macro ‘STRISEMPTY’ 3763 | if(!STRISEMPTY(title)) | ^~~~~~~~~~ gwx.c:319:41: note: did you mean to dereference the pointer? 319 | #define STRISEMPTY(s) (((s) != NULL) ? ((s) == '\0') : True) | ^ gwx.c:3763:11: note: in expansion of macro ‘STRISEMPTY’ 3763 | if(!STRISEMPTY(title)) | ^~~~~~~~~~ gwx.c: In function ‘GWContextDelete’: gwx.c:3937:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3937 | (u_int32_t)glx_context | ^ echo "Compiling module gwx_dialog.o" Compiling module gwx_dialog.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c gwx_dialog.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module horizon.o" Compiling module horizon.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c horizon.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module human.o" Compiling module human.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c human.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module humanio.o" Compiling module humanio.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c humanio.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module image.o" Compiling module image.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c image.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module main.o" Compiling module main.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c main.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM main.c: In function ‘SARInit’: main.c:2287:64: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 965 [-Wformat-overflow=] 2287 | "Local data files for this program have been\ninstalled in:\n\n%s", | ^~ 2288 | dname.local_data | ~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from main.c:1: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 60 and 4155 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:2269:39: warning: ‘%s’ directive writing up to 4095 bytes into a region of size 988 [-Wformat-overflow=] 2269 | "Cannot install local data files to:\n%s", | ^~ 2270 | dname.local_data | ~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from main.c:1: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 37 and 4132 bytes into a destination of size 1024 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ echo "Compiling module matrixmath.o" Compiling module matrixmath.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c matrixmath.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module menu.o" Compiling module menu.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c menu.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module menumap.o" Compiling module menumap.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c menumap.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module menuobjview.o" Compiling module menuobjview.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c menuobjview.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module messages.o" Compiling module messages.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c messages.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module mission.o" Compiling module mission.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c mission.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM In file included from /usr/include/stdio.h:867, from mission.c:1: In function ‘sprintf’, inlined from ‘SARMissionDestroyNotify’ at mission.c:675:6: /usr/include/bits/stdio2.h:36:10: warning: ‘%s’ directive argument is null [-Wformat-overflow=] 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ echo "Compiling module missionio.o" Compiling module missionio.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c missionio.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module musiclistio.o" Compiling module musiclistio.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c musiclistio.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module objio.o" Compiling module objio.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c objio.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module objiopremodeled.o" Compiling module objiopremodeled.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c objiopremodeled.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module objsound.o" Compiling module objsound.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c objsound.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module objutils.o" Compiling module objutils.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c objutils.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module optionio.o" Compiling module optionio.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c optionio.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module playerstatio.o" Compiling module playerstatio.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c playerstatio.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module sarcamp.o" Compiling module sarcamp.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c sarcamp.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module sardraw.o" Compiling module sardraw.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c sardraw.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module sardrawhelipad.o" Compiling module sardrawhelipad.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c sardrawhelipad.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module sardrawhuman.o" Compiling module sardrawhuman.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c sardrawhuman.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module sardrawmessages.o" Compiling module sardrawmessages.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c sardrawmessages.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module sardrawpm.o" Compiling module sardrawpm.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c sardrawpm.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module sardrawpm_building.o" Compiling module sardrawpm_building.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c sardrawpm_building.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module sardrawpm_controltower.o" Compiling module sardrawpm_controltower.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c sardrawpm_controltower.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module sardrawpm_ptt.o" Compiling module sardrawpm_ptt.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c sardrawpm_ptt.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module sardrawpm_radiotower.o" Compiling module sardrawpm_radiotower.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c sardrawpm_radiotower.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module sardrawpm_tower.o" Compiling module sardrawpm_tower.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c sardrawpm_tower.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module sardrawrunway.o" Compiling module sardrawrunway.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c sardrawrunway.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module sardrawselect.o" Compiling module sardrawselect.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c sardrawselect.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module sardrawutils.o" Compiling module sardrawutils.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c sardrawutils.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module sarfio.o" Compiling module sarfio.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c sarfio.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module sarfioopen.o" Compiling module sarfioopen.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c sarfioopen.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module sarfiosave.o" Compiling module sarfiosave.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c sarfiosave.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module sarinstall.o" Compiling module sarinstall.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c sarinstall.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module sarkey.o" Compiling module sarkey.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c sarkey.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module sarmemory.o" Compiling module sarmemory.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c sarmemory.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module sarmenubuild.o" Compiling module sarmenubuild.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c sarmenubuild.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module sarmenucb.o" Compiling module sarmenucb.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c sarmenucb.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM sarmenucb.c: In function ‘SARMenuCBPlayerEditCB’: sarmenucb.c:63:45: warning: comparison between pointer and zero character constant [-Wpointer-compare] 63 | #define ISSTREMPTY(s) (((s) != NULL) ? ((s) == '\0') : True) | ^~ sarmenucb.c:669:6: note: in expansion of macro ‘ISSTREMPTY’ 669 | if(!ISSTREMPTY(v)) | ^~~~~~~~~~ sarmenucb.c:63:41: note: did you mean to dereference the pointer? 63 | #define ISSTREMPTY(s) (((s) != NULL) ? ((s) == '\0') : True) | ^ sarmenucb.c:669:6: note: in expansion of macro ‘ISSTREMPTY’ 669 | if(!ISSTREMPTY(v)) | ^~~~~~~~~~ echo "Compiling module sarmenumanage.o" Compiling module sarmenumanage.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c sarmenumanage.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module sarmenuop.o" Compiling module sarmenuop.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c sarmenuop.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module sarmenuoptions.o" Compiling module sarmenuoptions.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c sarmenuoptions.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module sarmusic.o" Compiling module sarmusic.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c sarmusic.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module sarscreenshot.o" Compiling module sarscreenshot.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c sarscreenshot.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module sarsimbegin.o" Compiling module sarsimbegin.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c sarsimbegin.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM In file included from /usr/include/stdio.h:867, from sarsimbegin.c:1: In function ‘sprintf’, inlined from ‘SARSimBeginMission’ at sarsimbegin.c:227:6: /usr/include/bits/stdio2.h:36:10: warning: ‘%s’ directive argument is null [-Wformat-overflow=] 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ echo "Compiling module sarsimend.o" Compiling module sarsimend.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c sarsimend.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module sarsplash.o" Compiling module sarsplash.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c sarsplash.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module sartime.o" Compiling module sartime.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c sartime.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module sarutils.o" Compiling module sarutils.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c sarutils.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module sceneio.o" Compiling module sceneio.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c sceneio.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module scenesound.o" Compiling module scenesound.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c scenesound.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module sfm.o" Compiling module sfm.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c sfm.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module sfmmath.o" Compiling module sfmmath.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c sfmmath.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module sfmmodel.o" Compiling module sfmmodel.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c sfmmodel.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module sfmsimforce.o" Compiling module sfmsimforce.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c sfmsimforce.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module simcb.o" Compiling module simcb.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c simcb.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module simcontact.o" Compiling module simcontact.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c simcontact.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module simmanage.o" Compiling module simmanage.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c simmanage.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module simop.o" Compiling module simop.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c simop.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module simsurface.o" Compiling module simsurface.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c simsurface.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module simutils.o" Compiling module simutils.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c simutils.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module smoke.o" Compiling module smoke.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c smoke.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module sound.o" Compiling module sound.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c sound.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM sound.c: In function ‘SoundStartPlay’: sound.c:602:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 602 | snd_play->data = (void *)Mix_PlayChannel(-1, sound, repeat); | ^ sound.c: In function ‘SoundChangePlayVolume’: sound.c:761:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 761 | Mix_Volume((int) snd_play->data, my_volume); | ^ sound.c: In function ‘SoundStopPlay’: sound.c:858:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 858 | Mix_HaltChannel((int) snd_play->data); | ^ sound.c: In function ‘SoundMusicStartPlay’: sound.c:958:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 958 | snd_play->data = (void *) Mix_PlayChannel(-1, sound, 0); | ^ echo "Compiling module stategl.o" Compiling module stategl.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c stategl.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module text3d.o" Compiling module text3d.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c text3d.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module textinput.o" Compiling module textinput.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c textinput.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module texturelistio.o" Compiling module texturelistio.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c texturelistio.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module v3dfio.o" Compiling module v3dfio.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c v3dfio.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module v3dgl.o" Compiling module v3dgl.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c v3dgl.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module v3dhf.o" Compiling module v3dhf.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c v3dhf.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module v3dmh.o" Compiling module v3dmh.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c v3dmh.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module v3dmodel.o" Compiling module v3dmodel.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c v3dmodel.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module v3dmp.o" Compiling module v3dmp.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c v3dmp.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM v3dmp.c: In function ‘V3DMPDestroy’: v3dmp.c:828:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 828 | list = (GLuint)heightfield_load->gl_list; | ^ echo "Compiling module v3dtex.o" Compiling module v3dtex.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c v3dtex.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM v3dtex.c: In function ‘V3DTextureLoadFromData1D’: v3dtex.c:1195:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1195 | (unsigned int)data | ^ v3dtex.c:1231:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1231 | (unsigned int)data | ^ v3dtex.c: In function ‘V3DTextureLoadFromData2D’: v3dtex.c:1368:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1368 | (unsigned int)data | ^ v3dtex.c:1373:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1373 | (unsigned int)data | ^ v3dtex.c:1477:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1477 | (unsigned int)cur_data_ptr | ^ echo "Compiling module weather.o" Compiling module weather.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c weather.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module weatherio.o" Compiling module weatherio.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c weatherio.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module x3d.o" Compiling module x3d.o x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c x3d.c -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM echo "Compiling module disk.o" Compiling module disk.o x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c disk.cpp -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM -D__cplusplus -Dc_plusplus : warning: "__cplusplus" redefined : note: this is the location of the previous definition disk.cpp: In function ‘char* PrefixPaths(const char*, const char*)’: disk.cpp:1020:16: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1020 | return("/"); | ^ In file included from /usr/include/string.h:495, from disk.cpp:3: In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘char* ChangeDirRel(const char*, const char*)’ at disk.cpp:870:9: /usr/include/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ disk.cpp: In function ‘char* ChangeDirRel(const char*, const char*)’: disk.cpp:81:47: note: length computed here 81 | #define STRLEN(s) (((s) != NULL) ? (int)strlen(s) : 0) | ~~~~~~^~~ disk.cpp:865:8: note: in expansion of macro ‘STRLEN’ 865 | len = STRLEN(strptr); | ^~~~~~ In file included from /usr/include/string.h:495, from disk.cpp:3: In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘char* ChangeDirRel(const char*, const char*)’ at disk.cpp:850:13: /usr/include/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ disk.cpp: In function ‘char* ChangeDirRel(const char*, const char*)’: disk.cpp:81:47: note: length computed here 81 | #define STRLEN(s) (((s) != NULL) ? (int)strlen(s) : 0) | ~~~~~~^~~ disk.cpp:845:12: note: in expansion of macro ‘STRLEN’ 845 | len = STRLEN(npath); | ^~~~~~ In file included from /usr/include/string.h:495, from disk.cpp:3: In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘char* ChangeDirRel(const char*, const char*)’ at disk.cpp:836:13: /usr/include/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ disk.cpp: In function ‘char* ChangeDirRel(const char*, const char*)’: disk.cpp:81:47: note: length computed here 81 | #define STRLEN(s) (((s) != NULL) ? (int)strlen(s) : 0) | ~~~~~~^~~ disk.cpp:831:12: note: in expansion of macro ‘STRLEN’ 831 | len = STRLEN(cpath); | ^~~~~~ In file included from /usr/include/string.h:495, from disk.cpp:3: In function ‘char* strncpy(char*, const char*, size_t)’, inlined from ‘char* ChangeDirRel(const char*, const char*)’ at disk.cpp:782:13: /usr/include/bits/string_fortified.h:106:34: warning: ‘char* __builtin_strncpy(char*, const char*, long unsigned int)’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ disk.cpp: In function ‘char* ChangeDirRel(const char*, const char*)’: disk.cpp:81:47: note: length computed here 81 | #define STRLEN(s) (((s) != NULL) ? (int)strlen(s) : 0) | ~~~~~~^~~ disk.cpp:777:12: note: in expansion of macro ‘STRLEN’ 777 | len = STRLEN(cpath); | ^~~~~~ echo "Compiling module fio.o" Compiling module fio.o x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c fio.cpp -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM -D__cplusplus -Dc_plusplus : warning: "__cplusplus" redefined : note: this is the location of the previous definition echo "Compiling module gww.o" Compiling module gww.o x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c gww.cpp -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM -D__cplusplus -Dc_plusplus : warning: "__cplusplus" redefined : note: this is the location of the previous definition echo "Compiling module string.o" Compiling module string.o x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c string.cpp -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM -D__cplusplus -Dc_plusplus : warning: "__cplusplus" redefined : note: this is the location of the previous definition string.cpp: In function ‘char* StringGetNetArgument(const char*)’: string.cpp:1423:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1423 | return(""); | ^ string.cpp:1437:11: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1437 | return(""); | ^ string.cpp: In function ‘char* StringCurrentTimeFormat(const char*)’: string.cpp:1460:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1460 | return(""); | ^ string.cpp:1462:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1462 | return(""); | ^ string.cpp:1468:15: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings] 1468 | return(""); | ^ echo "Compiling module strexp.o" Compiling module strexp.o x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c strexp.cpp -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM -D__cplusplus -Dc_plusplus : warning: "__cplusplus" redefined : note: this is the location of the previous definition echo "Compiling module tga.o" Compiling module tga.o x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c tga.cpp -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM -D__cplusplus -Dc_plusplus : warning: "__cplusplus" redefined : note: this is the location of the previous definition tga.cpp: In function ‘int TgaReadHeaderFromFile.part.0(const char*, tga_data_struct*)’: tga.cpp:235:13: warning: ‘int __builtin_memcmp_eq(const void*, const void*, long unsigned int)’ reading 16 bytes from a region of size 8 [-Wstringop-overflow=] 235 | if(!memcmp(buf + 8, "TRUEVISION-XFILE", 16)) | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ echo "Compiling module tgadither.o" Compiling module tgadither.o x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -c tgadither.cpp -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -DNEW_GRAPHICS -DHAVE_SDL_MIXER -DUSE_XSHM -DHAVE_MWMUTIL_H -DHAVE_LIBXPM -D__cplusplus -Dc_plusplus : warning: "__cplusplus" redefined : note: this is the location of the previous definition echo -n "Linking modules..." Linking modules...x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 cmd.o cmdclean.o cmdfire.o cmdmemory.o cmdoption.o cmdset.o cmdsmoke.o cmdtime.o cp.o cpfio.o cpins.o cpinsaltimeter.o cpinsbearing.o cpinshorizon.o explosion.o fire.o gctl.o gwx.o gwx_dialog.o horizon.o human.o humanio.o image.o main.o matrixmath.o menu.o menumap.o menuobjview.o messages.o mission.o missionio.o musiclistio.o objio.o objiopremodeled.o objsound.o objutils.o optionio.o playerstatio.o sarcamp.o sardraw.o sardrawhelipad.o sardrawhuman.o sardrawmessages.o sardrawpm.o sardrawpm_building.o sardrawpm_controltower.o sardrawpm_ptt.o sardrawpm_radiotower.o sardrawpm_tower.o sardrawrunway.o sardrawselect.o sardrawutils.o sarfio.o sarfioopen.o sarfiosave.o sarinstall.o sarkey.o sarmemory.o sarmenubuild.o sarmenucb.o sarmenumanage.o sarmenuop.o sarmenuoptions.o sarmusic.o sarscreenshot.o sarsimbegin.o sarsimend.o sarsplash.o sartime.o sarutils.o sceneio.o scenesound.o sfm.o sfmmath.o sfmmodel.o sfmsimforce.o simcb.o simcontact.o simmanage.o simop.o simsurface.o simutils.o smoke.o sound.o stategl.o text3d.o textinput.o texturelistio.o v3dfio.o v3dgl.o v3dhf.o v3dmh.o v3dmodel.o v3dmp.o v3dtex.o weather.o weatherio.o x3d.o disk.o fio.o gww.o string.o strexp.o tga.o tgadither.o -o SearchAndRescue -lm -lSDL -lSDL_mixer -lSM -lICE -lX11 -lXext -lXmu -lXpm -lGL -lGLU -lpthread /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: sarmenuoptions.o: in function `SARMenuOptionsJoystickTestDrawCB': sarmenuoptions.c:(.text+0x1cc0): undefined reference to `SDL_JoystickNumAxes' /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: sarmenuoptions.c:(.text+0x1d61): undefined reference to `SDL_JoystickNumButtons' /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: sarmenuoptions.c:(.text+0x1f88): undefined reference to `SDL_JoystickGetButton' /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: sarmenuoptions.c:(.text+0x1f98): undefined reference to `SDL_JoystickNumButtons' /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: sarmenuoptions.c:(.text+0x204a): undefined reference to `SDL_JoystickGetButton' /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: sarmenuoptions.c:(.text+0x205a): undefined reference to `SDL_JoystickNumButtons' /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: sarmenuoptions.c:(.text+0x20d2): undefined reference to `SDL_NumJoysticks' /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: sarmenuoptions.c:(.text+0x20e1): undefined reference to `SDL_JoystickOpen' /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: sarmenuoptions.c:(.text+0x21d7): undefined reference to `SDL_NumJoysticks' /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: sarmenuoptions.c:(.text+0x21ea): undefined reference to `SDL_JoystickOpen' /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: gctl.o: in function `GCtlNew': gctl.c:(.text+0x216): undefined reference to `SDL_NumJoysticks' /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: gctl.c:(.text+0x2e2): undefined reference to `SDL_JoystickOpen' /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: gctl.o: in function `GCtlUpdate': gctl.c:(.text+0x427): undefined reference to `SDL_JoystickUpdate' /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: gctl.c:(.text+0x5a2): undefined reference to `SDL_JoystickGetHat' /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: gctl.c:(.text+0x9bd): undefined reference to `SDL_JoystickGetAxis' /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: gctl.c:(.text+0xa16): undefined reference to `SDL_JoystickGetAxis' /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: gctl.c:(.text+0xa5f): undefined reference to `SDL_JoystickGetButton' /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: gctl.c:(.text+0xa96): undefined reference to `SDL_JoystickGetButton' /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: gctl.c:(.text+0xacd): undefined reference to `SDL_JoystickGetButton' /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: gctl.c:(.text+0xb06): undefined reference to `SDL_JoystickGetButton' /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: gctl.c:(.text+0xb41): undefined reference to `SDL_JoystickGetButton' /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: gctl.o:gctl.c:(.text+0xb65): more undefined references to `SDL_JoystickGetButton' follow /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: gctl.o: in function `GCtlUpdate': gctl.c:(.text+0xbec): undefined reference to `SDL_JoystickGetAxis' /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: gctl.c:(.text+0xc4f): undefined reference to `SDL_JoystickGetAxis' /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: gctl.c:(.text+0xcb9): undefined reference to `SDL_JoystickGetAxis' /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: sarmenumanage.o: in function `SARMenuManage': sarmenumanage.c:(.text+0x102): undefined reference to `SDL_JoystickGetButton' /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: sarmenumanage.c:(.text+0x112): undefined reference to `SDL_JoystickNumButtons' /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: sarmenumanage.c:(.text+0x15a): undefined reference to `SDL_JoystickGetButton' /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: sarmenumanage.c:(.text+0x16a): undefined reference to `SDL_JoystickNumButtons' /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: sarmenumanage.c:(.text+0x275): undefined reference to `SDL_NumJoysticks' /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: sarmenumanage.c:(.text+0x284): undefined reference to `SDL_JoystickOpen' /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: sarmenumanage.c:(.text+0x2a1): undefined reference to `SDL_NumJoysticks' /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: sarmenumanage.c:(.text+0x2b3): undefined reference to `SDL_JoystickOpen' collect2: error: ld returned 1 exit status make: *** [Makefile:51: modules] Error 1 make: Leaving directory '/var/tmp/portage/games-simulation/searchandrescue-1.7.0/work/searchandrescue_1.7.0/sar' * ERROR: games-simulation/searchandrescue-1.7.0::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=games-simulation/searchandrescue-1.7.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=games-simulation/searchandrescue-1.7.0::gentoo'`. * The complete build log is located at '/var/log/portage/games-simulation:searchandrescue-1.7.0:20200722-104441.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-simulation/searchandrescue-1.7.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-simulation/searchandrescue-1.7.0/temp/environment'. * Working directory: '/var/tmp/portage/games-simulation/searchandrescue-1.7.0/work/searchandrescue_1.7.0' * S: '/var/tmp/portage/games-simulation/searchandrescue-1.7.0/work/searchandrescue_1.7.0'