./autogen.sh
+ checking for autoconf >= 2.56 ... found 2.69, ok.
+ checking for automake >= 1.11 ... found 1.15.1, ok.
+ running aclocal ...
+ running autoheader ...
+ running autoconf ...
+ running automake ...
configure.ac:74: warning: The 'AM_PROG_MKDIR_P' macro is deprecated, and its use is discouraged.
configure.ac:74: You should use the Autoconf-provided 'AC_PROG_MKDIR_P' macro instead,
configure.ac:74: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files.
tests/Makefile.am:17: warning: source file '../tools/map/mapload.cpp' is in a subdirectory,
tests/Makefile.am:17: but option 'subdir-objects' is disabled
automake: warning: possible forward-incompatibility.
automake: At least a source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled. For now, the corresponding output
automake: object file(s) will be placed in the top-level directory. However,
automake: this behaviour will change in future Automake versions: they will
automake: unconditionally cause object files to be placed in the same subdirectory
automake: of the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
+ removing config.cache ...

Now type './configure && make' to compile.

 

 

 

./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/home/phil/software/warzone2100-3.1.5/missing: Unknown `--is-lightweight' option
Try `/home/phil/software/warzone2100-3.1.5/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 make supports nested variables... yes
checking whether UID '0' is supported by ustar format... yes
checking whether GID '0' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
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 whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for gcc option to accept ISO C99... none needed
checking for gcc option to accept ISO Standard C... (cached) none needed
checking for gcc... ccompiler
checking for ranlib... ranlib
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking for g++... cxxcompiler
checking whether perl executable path has been provided... no
checking for perl... /usr/bin/perl
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for perl version... This is perl 5, version 26, subversion 2 (v5.26.2) built for x86_64-linux-thread-multi
checking for gawk... (cached) gawk
checking for zip... zip
checking for unzip... unzip
checking for a2x... a2x
checking for wkhtmltopdf... wkhtmltopdf
checking for pdflatex... no
checking for hevea... no
checking for hacha... no
checking how to run the C preprocessor... gcc -E
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for strlcpy... no
checking for strlcat... no
checking whether gcc accepts -fstack-protector... yes
checking whether g++ accepts -fstack-protector... yes
checking alloca.h usability... yes
checking alloca.h presence... yes
checking for alloca.h... yes
checking sys/ucontext.h usability... yes
checking sys/ucontext.h presence... yes
checking for sys/ucontext.h... 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 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
./configure: line 7642: gt_INTL_MACOSX: command not found
checking for GNU gettext in libc... wyes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for pkg-config >= 0.9... found 1.4.2, ok
checking for backend... SDL
checking for QT4... yes
checking for moc-qt4... /usr/bin/moc-qt4
checking for uic-qt4... /usr/bin/uic-qt4
checking for rcc-qt4... no
checking for rcc... /usr/bin/rcc
checking for X... libraries , headers
checking whether to build NSIS installer... no
checking whether to compile in debug mode... no
checking whether the C compiler accepts the -Werror -Wno-switch flag... yes
checking whether the C compiler accepts the -Werror -Wno-enum-compare flag... yes
checking for SDL... yes
checking for PNG... yes
checking for THEORA... yes
checking for OPENAL... yes
checking for VORBIS... yes
checking for VORBISFILE... yes
checking for GLEW... yes
checking for nearbyint in -lm... yes
checking physfs.h usability... yes
checking physfs.h presence... yes
checking for physfs.h... yes
checking for PHYSFS_mount in -lphysfs... yes
checking X11/extensions/Xrandr.h usability... yes
checking X11/extensions/Xrandr.h presence... yes
checking for X11/extensions/Xrandr.h... yes
checking for main in -lGL... yes
checking for main in -lGLU... yes
checking for the pthreads library -lpthreads... no
checking for the pthreads library -lpthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for cc_r... gcc
checking for thread local storage (TLS) class... __thread
checking for FRIBIDI... yes
checking for FREETYPE... yes
checking for FTC_Manager_New in -lfreetype... yes
checking for FONTCONFIG... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating po/Makefile.in
config.status: creating doc/Makefile
config.status: creating icons/Makefile
config.status: creating data/Makefile
config.status: creating data/music/Makefile
config.status: creating pkg/nsis/Makefile
config.status: creating win32/Makefile
config.status: creating tests/Makefile
config.status: creating 3rdparty/miniupnpc/Makefile
config.status: creating 3rdparty/quesoglc/Makefile
config.status: creating lib/framework/Makefile
config.status: creating lib/exceptionhandler/Makefile
config.status: creating lib/gamelib/Makefile
config.status: creating lib/ivis_opengl/Makefile
config.status: creating lib/netplay/Makefile
config.status: creating lib/qtgame/Makefile
config.status: creating lib/sdl/Makefile
config.status: creating lib/script/Makefile
config.status: creating lib/sequence/Makefile
config.status: creating lib/sound/Makefile
config.status: creating lib/widget/Makefile
config.status: creating tools/map/Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
configure:
configure: WARNING: Distributor unknown!
configure: Use --with-distributor when compiling package for distribution
configure:
configure: Backend used: sdl

 

 

 


make -j8

....


g++ -DHAVE_CONFIG_H -I. -I.. -DYY_NO_INPUT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/AL -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DNDEBUG -DWZ_DATADIR="\"/usr/local/share/warzone2100\"" -DLOCALEDIR="\"/usr/local/share/locale\"" -I.. -I../3rdparty -I../3rdparty/quesoglc -I/usr/include/libdrm -g -Wno-enum-compare -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wcast-align -Wwrite-strings -Wpointer-arith -Wno-format-security -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtScript -DQT_SHARED -fstack-protector -MT combat.o -MD -MP -MF .deps/combat.Tpo -c -o combat.o combat.cpp
mv -f .deps/astar.Tpo .deps/astar.Po
g++ -DHAVE_CONFIG_H -I. -I.. -DYY_NO_INPUT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/AL -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DNDEBUG -DWZ_DATADIR="\"/usr/local/share/warzone2100\"" -DLOCALEDIR="\"/usr/local/share/locale\"" -I.. -I../3rdparty -I../3rdparty/quesoglc -I/usr/include/libdrm -g -Wno-enum-compare -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wcast-align -Wwrite-strings -Wpointer-arith -Wno-format-security -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtScript -DQT_SHARED -fstack-protector -MT component.o -MD -MP -MF .deps/component.Tpo -c -o component.o component.cpp
cluster.cpp: In function ‘void clustInitialise()’:
cluster.cpp:72:59: warning: ‘memset’ used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
memset(aClusterVisibility, 0, sizeof(UBYTE) * CLUSTER_MAX);
^
In file included from ../lib/framework/string_ext.h:24,
from ../lib/framework/frame.h:40,
from challenge.cpp:36:
../lib/framework/wzconfig.h: In constructor ‘WzConfigHack::WzConfigHack(const QString&)’:
../lib/framework/wzconfig.h:46:103: warning: ‘const char* PHYSFS_getLastError()’ is deprecated [-Wdeprecated-declarations]
debug(LOG_ERROR, "%s could not be created: %s", fileName.toUtf8().constData(), PHYSFS_getLastError());
^
../lib/framework/debug.h:254:93: note: in definition of macro ‘debug’
#define debug(part, ...) do { if (enabled_debug[part]) _debug(__LINE__, part, __FUNCTION__, __VA_ARGS__); } while(0)
^~~~~~~~~~~
In file included from challenge.cpp:27:
/usr/include/physfs.h:654:25: note: declared here
PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED;
^~~~~~~~~~~~~~~~~~~
In file included from ../lib/framework/string_ext.h:24,
from ../lib/framework/frame.h:40,
from challenge.cpp:36:
../lib/framework/wzconfig.h:46:103: warning: ‘const char* PHYSFS_getLastError()’ is deprecated [-Wdeprecated-declarations]
debug(LOG_ERROR, "%s could not be created: %s", fileName.toUtf8().constData(), PHYSFS_getLastError());
^
../lib/framework/debug.h:254:93: note: in definition of macro ‘debug’
#define debug(part, ...) do { if (enabled_debug[part]) _debug(__LINE__, part, __FUNCTION__, __VA_ARGS__); } while(0)
In file included from challenge.cpp:27:
/usr/include/physfs.h:654:25: note: declared here
PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED;
^~~~~~~~~~~~~~~~~~~
mv -f .deps/cheat.Tpo .deps/cheat.Po
g++ -DHAVE_CONFIG_H -I. -I.. -DYY_NO_INPUT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/AL -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DNDEBUG -DWZ_DATADIR="\"/usr/local/share/warzone2100\"" -DLOCALEDIR="\"/usr/local/share/locale\"" -I.. -I../3rdparty -I../3rdparty/quesoglc -I/usr/include/libdrm -g -Wno-enum-compare -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wcast-align -Wwrite-strings -Wpointer-arith -Wno-format-security -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtScript -DQT_SHARED -fstack-protector -MT configuration.o -MD -MP -MF .deps/configuration.Tpo -c -o configuration.o configuration.cpp
challenge.cpp: In function ‘void updateChallenge(bool)’:
challenge.cpp:103:14: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if (fStr == '\0')
^~~~
mv -f .deps/cluster.Tpo .deps/cluster.Po
g++ -DHAVE_CONFIG_H -I. -I.. -DYY_NO_INPUT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/AL -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DNDEBUG -DWZ_DATADIR="\"/usr/local/share/warzone2100\"" -DLOCALEDIR="\"/usr/local/share/locale\"" -I.. -I../3rdparty -I../3rdparty/quesoglc -I/usr/include/libdrm -g -Wno-enum-compare -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wcast-align -Wwrite-strings -Wpointer-arith -Wno-format-security -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtScript -DQT_SHARED -fstack-protector -MT console.o -MD -MP -MF .deps/console.Tpo -c -o console.o console.cpp
mv -f .deps/bucket3d.Tpo .deps/bucket3d.Po
g++ -DHAVE_CONFIG_H -I. -I.. -DYY_NO_INPUT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/AL -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DNDEBUG -DWZ_DATADIR="\"/usr/local/share/warzone2100\"" -DLOCALEDIR="\"/usr/local/share/locale\"" -I.. -I../3rdparty -I../3rdparty/quesoglc -I/usr/include/libdrm -g -Wno-enum-compare -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wcast-align -Wwrite-strings -Wpointer-arith -Wno-format-security -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtScript -DQT_SHARED -fstack-protector -MT data.o -MD -MP -MF .deps/data.Tpo -c -o data.o data.cpp
make[3]: *** [Makefile:976: challenge.o] Error 1
make[3]: *** Waiting for unfinished jobs....
mv -f .deps/cmddroid.Tpo .deps/cmddroid.Po
clparse.cpp: In function ‘bool ParseCommandLine(int, const char**)’:
clparse.cpp:592:49: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 256 [-Wformat-truncation=]
snprintf(saveGameName, sizeof(saveGameName), "%s/campaign/%s.gam", SaveGamePath, token);
^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~
clparse.cpp:592:12: note: ‘snprintf’ output 15 or more bytes (assuming 4110) into a destination of size 256
snprintf(saveGameName, sizeof(saveGameName), "%s/campaign/%s.gam", SaveGamePath, token);
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
clparse.cpp:579:49: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size 256 [-Wformat-truncation=]
snprintf(saveGameName, sizeof(saveGameName), "%s/skirmish/%s.gam", SaveGamePath, token);
^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~
clparse.cpp:579:12: note: ‘snprintf’ output 15 or more bytes (assuming 4110) into a destination of size 256
snprintf(saveGameName, sizeof(saveGameName), "%s/skirmish/%s.gam", SaveGamePath, token);
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mv -f .deps/clparse.Tpo .deps/clparse.Po
In file included from ../lib/framework/string_ext.h:24,
from ../lib/framework/frame.h:40,
from component.cpp:25:
component.cpp: In function ‘void displayCompObj(DROID*, bool)’:
../lib/framework/debug.h:72:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
( assertEnabled ? (void)wz_assert(expr) : (void)0 )\
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
)

../lib/framework/debug.h:96:4: note: in expansion of macro ‘ASSERT_FAILURE’
ASSERT_FAILURE(expr, #expr, location_description, function, __VA_ARGS__) \
^~~~~~~~~~~~~~
../lib/framework/debug.h:107:2: note: in expansion of macro ‘ASSERT_HELPER’
ASSERT_HELPER(expr, AT_MACRO, __FUNCTION__, __VA_ARGS__)
^~~~~~~~~~~~~
component.cpp:833:15: note: in expansion of macro ‘ASSERT’
default: ASSERT(false, "...");
^~~~~~
component.cpp:834:6: note: here
case DROID_SENSOR:
^~~~
mv -f .deps/combat.Tpo .deps/combat.Po
mv -f .deps/component.Tpo .deps/component.Po
data.cpp: In function ‘bool dataScriptLoad(const char*, void**)’:
data.cpp:992:46: warning: ‘PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)’ is deprecated [-Wdeprecated-declarations]
PHYSFS_read(fileHandle, pBuffer, 1, fileSize);
^
In file included from data.cpp:27:
/usr/include/physfs.h:1333:27: note: declared here
PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle,
^~~~~~~~~~~
data.cpp:992:46: warning: ‘PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)’ is deprecated [-Wdeprecated-declarations]
PHYSFS_read(fileHandle, pBuffer, 1, fileSize);
^
In file included from data.cpp:27:
/usr/include/physfs.h:1333:27: note: declared here
PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle,
^~~~~~~~~~~
data.cpp: In function ‘bool dataScriptLoadVals(const char*, void**)’:
data.cpp:1062:46: warning: ‘PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)’ is deprecated [-Wdeprecated-declarations]
PHYSFS_read(fileHandle, pBuffer, 1, fileSize);
^
In file included from data.cpp:27:
/usr/include/physfs.h:1333:27: note: declared here
PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle,
^~~~~~~~~~~
data.cpp:1062:46: warning: ‘PHYSFS_sint64 PHYSFS_read(PHYSFS_File*, void*, PHYSFS_uint32, PHYSFS_uint32)’ is deprecated [-Wdeprecated-declarations]
PHYSFS_read(fileHandle, pBuffer, 1, fileSize);
^
In file included from data.cpp:27:
/usr/include/physfs.h:1333:27: note: declared here
PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle,
^~~~~~~~~~~
In file included from ../lib/framework/string_ext.h:24,
from ../lib/framework/frame.h:40,
from ../lib/framework/wzapp.h:24,
from configuration.cpp:27:
../lib/framework/wzconfig.h: In constructor ‘WzConfigHack::WzConfigHack(const QString&)’:
../lib/framework/wzconfig.h:46:103: warning: ‘const char* PHYSFS_getLastError()’ is deprecated [-Wdeprecated-declarations]
debug(LOG_ERROR, "%s could not be created: %s", fileName.toUtf8().constData(), PHYSFS_getLastError());
^
../lib/framework/debug.h:254:93: note: in definition of macro ‘debug’
#define debug(part, ...) do { if (enabled_debug[part]) _debug(__LINE__, part, __FUNCTION__, __VA_ARGS__); } while(0)
^~~~~~~~~~~
In file included from ../lib/framework/wzconfig.h:25,
from configuration.cpp:28:
/usr/include/physfs.h:654:25: note: declared here
PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED;
^~~~~~~~~~~~~~~~~~~
In file included from ../lib/framework/string_ext.h:24,
from ../lib/framework/frame.h:40,
from ../lib/framework/wzapp.h:24,
from configuration.cpp:27:
../lib/framework/wzconfig.h:46:103: warning: ‘const char* PHYSFS_getLastError()’ is deprecated [-Wdeprecated-declarations]
debug(LOG_ERROR, "%s could not be created: %s", fileName.toUtf8().constData(), PHYSFS_getLastError());
^
../lib/framework/debug.h:254:93: note: in definition of macro ‘debug’
#define debug(part, ...) do { if (enabled_debug[part]) _debug(__LINE__, part, __FUNCTION__, __VA_ARGS__); } while(0)
^~~~~~~~~~~
In file included from ../lib/framework/wzconfig.h:25,
from configuration.cpp:28:
/usr/include/physfs.h:654:25: note: declared here
PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED;

 

 

 

Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Downgrading : physfs-2.0.3-9.fc26.x86_64 1/4
Running scriptlet: physfs-2.0.3-9.fc26.x86_64 1/4
Downgrading : physfs-devel-2.0.3-9.fc26.x86_64 2/4
Erasing : physfs-devel-3.0.1-2.fc28.x86_64 3/4
Erasing : physfs-3.0.1-2.fc28.x86_64 4/4
Running scriptlet: physfs-3.0.1-2.fc28.x86_64 4/4
Verifying : physfs-2.0.3-9.fc26.x86_64 1/4
Verifying : physfs-devel-2.0.3-9.fc26.x86_64 2/4
Verifying : physfs-3.0.1-2.fc28.x86_64 3/4
Verifying : physfs-devel-3.0.1-2.fc28.x86_64 4/4

Downgraded:
physfs.x86_64 2.0.3-9.fc26

 

 

make -j8
make all-recursive
make[1]: Entering directory '/home/phil/software/warzone2100-3.1.5'
Making all in win32
make[2]: Entering directory '/home/phil/software/warzone2100-3.1.5/win32'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/phil/software/warzone2100-3.1.5/win32'
Making all in 3rdparty/miniupnpc
make[2]: Entering directory '/home/phil/software/warzone2100-3.1.5/3rdparty/miniupnpc'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/phil/software/warzone2100-3.1.5/3rdparty/miniupnpc'
Making all in 3rdparty/quesoglc
make[2]: Entering directory '/home/phil/software/warzone2100-3.1.5/3rdparty/quesoglc'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/phil/software/warzone2100-3.1.5/3rdparty/quesoglc'
Making all in lib/framework
make[2]: Entering directory '/home/phil/software/warzone2100-3.1.5/lib/framework'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/phil/software/warzone2100-3.1.5/lib/framework'
Making all in lib/exceptionhandler
make[2]: Entering directory '/home/phil/software/warzone2100-3.1.5/lib/exceptionhandler'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/phil/software/warzone2100-3.1.5/lib/exceptionhandler'
Making all in lib/script
make[2]: Entering directory '/home/phil/software/warzone2100-3.1.5/lib/script'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/phil/software/warzone2100-3.1.5/lib/script'
Making all in lib/sequence
make[2]: Entering directory '/home/phil/software/warzone2100-3.1.5/lib/sequence'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/phil/software/warzone2100-3.1.5/lib/sequence'
Making all in lib/ivis_opengl
make[2]: Entering directory '/home/phil/software/warzone2100-3.1.5/lib/ivis_opengl'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/phil/software/warzone2100-3.1.5/lib/ivis_opengl'
Making all in lib/gamelib
make[2]: Entering directory '/home/phil/software/warzone2100-3.1.5/lib/gamelib'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/phil/software/warzone2100-3.1.5/lib/gamelib'
Making all in lib/sound
make[2]: Entering directory '/home/phil/software/warzone2100-3.1.5/lib/sound'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/phil/software/warzone2100-3.1.5/lib/sound'
Making all in lib/netplay
make[2]: Entering directory '/home/phil/software/warzone2100-3.1.5/lib/netplay'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/phil/software/warzone2100-3.1.5/lib/netplay'
Making all in lib/widget
make[2]: Entering directory '/home/phil/software/warzone2100-3.1.5/lib/widget'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/phil/software/warzone2100-3.1.5/lib/widget'
Making all in lib/sdl
make[2]: Entering directory '/home/phil/software/warzone2100-3.1.5/lib/sdl'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/phil/software/warzone2100-3.1.5/lib/sdl'
Making all in tools/map
make[2]: Entering directory '/home/phil/software/warzone2100-3.1.5/tools/map'
make all-am
make[3]: Entering directory '/home/phil/software/warzone2100-3.1.5/tools/map'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/home/phil/software/warzone2100-3.1.5/tools/map'
make[2]: Leaving directory '/home/phil/software/warzone2100-3.1.5/tools/map'
Making all in src
make[2]: Entering directory '/home/phil/software/warzone2100-3.1.5/src'
cd .. && ./build_tools/autorevision -t h -o /home/phil/software/warzone2100-3.1.5/src/autorevision.cache > /home/phil/software/warzone2100-3.1.5/src/autorevision.h.new
cmp -s autorevision.h.new autorevision.h && rm autorevision.h.new || mv -f autorevision.h.new autorevision.h
make all-am
make[3]: Entering directory '/home/phil/software/warzone2100-3.1.5/src'
g++ -DHAVE_CONFIG_H -I. -I.. -DYY_NO_INPUT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/AL -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DNDEBUG -DWZ_DATADIR="\"/usr/local/share/warzone2100\"" -DLOCALEDIR="\"/usr/local/share/locale\"" -I.. -I../3rdparty -I../3rdparty/quesoglc -I/usr/include/libdrm -g -Wno-enum-compare -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wcast-align -Wwrite-strings -Wpointer-arith -Wno-format-security -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtScript -DQT_SHARED -fstack-protector -MT challenge.o -MD -MP -MF .deps/challenge.Tpo -c -o challenge.o challenge.cpp
g++ -DHAVE_CONFIG_H -I. -I.. -DYY_NO_INPUT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/AL -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DNDEBUG -DWZ_DATADIR="\"/usr/local/share/warzone2100\"" -DLOCALEDIR="\"/usr/local/share/locale\"" -I.. -I../3rdparty -I../3rdparty/quesoglc -I/usr/include/libdrm -g -Wno-enum-compare -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wcast-align -Wwrite-strings -Wpointer-arith -Wno-format-security -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtScript -DQT_SHARED -fstack-protector -MT design.o -MD -MP -MF .deps/design.Tpo -c -o design.o design.cpp
g++ -DHAVE_CONFIG_H -I. -I.. -DYY_NO_INPUT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/AL -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DNDEBUG -DWZ_DATADIR="\"/usr/local/share/warzone2100\"" -DLOCALEDIR="\"/usr/local/share/locale\"" -I.. -I../3rdparty -I../3rdparty/quesoglc -I/usr/include/libdrm -g -Wno-enum-compare -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wcast-align -Wwrite-strings -Wpointer-arith -Wno-format-security -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtScript -DQT_SHARED -fstack-protector -MT difficulty.o -MD -MP -MF .deps/difficulty.Tpo -c -o difficulty.o difficulty.cpp
g++ -DHAVE_CONFIG_H -I. -I.. -DYY_NO_INPUT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/AL -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DNDEBUG -DWZ_DATADIR="\"/usr/local/share/warzone2100\"" -DLOCALEDIR="\"/usr/local/share/locale\"" -I.. -I../3rdparty -I../3rdparty/quesoglc -I/usr/include/libdrm -g -Wno-enum-compare -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wcast-align -Wwrite-strings -Wpointer-arith -Wno-format-security -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtScript -DQT_SHARED -fstack-protector -MT display3d.o -MD -MP -MF .deps/display3d.Tpo -c -o display3d.o display3d.cpp
g++ -DHAVE_CONFIG_H -I. -I.. -DYY_NO_INPUT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/AL -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DNDEBUG -DWZ_DATADIR="\"/usr/local/share/warzone2100\"" -DLOCALEDIR="\"/usr/local/share/locale\"" -I.. -I../3rdparty -I../3rdparty/quesoglc -I/usr/include/libdrm -g -Wno-enum-compare -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wcast-align -Wwrite-strings -Wpointer-arith -Wno-format-security -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtScript -DQT_SHARED -fstack-protector -MT display.o -MD -MP -MF .deps/display.Tpo -c -o display.o display.cpp
g++ -DHAVE_CONFIG_H -I. -I.. -DYY_NO_INPUT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/AL -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DNDEBUG -DWZ_DATADIR="\"/usr/local/share/warzone2100\"" -DLOCALEDIR="\"/usr/local/share/locale\"" -I.. -I../3rdparty -I../3rdparty/quesoglc -I/usr/include/libdrm -g -Wno-enum-compare -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wcast-align -Wwrite-strings -Wpointer-arith -Wno-format-security -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtScript -DQT_SHARED -fstack-protector -MT drive.o -MD -MP -MF .deps/drive.Tpo -c -o drive.o drive.cpp
g++ -DHAVE_CONFIG_H -I. -I.. -DYY_NO_INPUT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/AL -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DNDEBUG -DWZ_DATADIR="\"/usr/local/share/warzone2100\"" -DLOCALEDIR="\"/usr/local/share/locale\"" -I.. -I../3rdparty -I../3rdparty/quesoglc -I/usr/include/libdrm -g -Wno-enum-compare -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wcast-align -Wwrite-strings -Wpointer-arith -Wno-format-security -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtScript -DQT_SHARED -fstack-protector -MT droid.o -MD -MP -MF .deps/droid.Tpo -c -o droid.o droid.cpp
g++ -DHAVE_CONFIG_H -I. -I.. -DYY_NO_INPUT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/AL -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DNDEBUG -DWZ_DATADIR="\"/usr/local/share/warzone2100\"" -DLOCALEDIR="\"/usr/local/share/locale\"" -I.. -I../3rdparty -I../3rdparty/quesoglc -I/usr/include/libdrm -g -Wno-enum-compare -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wcast-align -Wwrite-strings -Wpointer-arith -Wno-format-security -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtScript -DQT_SHARED -fstack-protector -MT e3demo.o -MD -MP -MF .deps/e3demo.Tpo -c -o e3demo.o e3demo.cpp
mv -f .deps/difficulty.Tpo .deps/difficulty.Po
g++ -DHAVE_CONFIG_H -I. -I.. -DYY_NO_INPUT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/AL -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DNDEBUG -DWZ_DATADIR="\"/usr/local/share/warzone2100\"" -DLOCALEDIR="\"/usr/local/share/locale\"" -I.. -I../3rdparty -I../3rdparty/quesoglc -I/usr/include/libdrm -g -Wno-enum-compare -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wcast-align -Wwrite-strings -Wpointer-arith -Wno-format-security -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtScript -DQT_SHARED -fstack-protector -MT edit3d.o -MD -MP -MF .deps/edit3d.Tpo -c -o edit3d.o edit3d.cpp
In file included from ../lib/framework/string_ext.h:24,
from ../lib/framework/frame.h:40,
from droid.cpp:26:
droid.cpp: In function ‘void droidBurn(DROID*)’:
../lib/framework/debug.h:73:2: warning: enum constant in boolean context [-Wint-in-bool-context]
)
^
../lib/framework/debug.h:96:4: note: in expansion of macro ‘ASSERT_FAILURE’
ASSERT_FAILURE(expr, #expr, location_description, function, __VA_ARGS__) \
^~~~~~~~~~~~~~
../lib/framework/debug.h:107:2: note: in expansion of macro ‘ASSERT_HELPER’
ASSERT_HELPER(expr, AT_MACRO, __FUNCTION__, __VA_ARGS__)
^~~~~~~~~~~~~
droid.cpp:666:3: note: in expansion of macro ‘ASSERT’
ASSERT(LOG_ERROR, "can't burn anything except babarians currently!");
^~~~~~
droid.cpp: In function ‘void initDroidMovement(DROID*)’:
droid.cpp:1960:49: warning: ‘void* memset(void*, int, size_t)’ clearing an object of non-trivial type ‘struct MOVE_CONTROL’; use assignment or value-initialization instead [-Wclass-memaccess]
memset(&psDroid->sMove, 0, sizeof(MOVE_CONTROL));
^
In file included from objectdef.h:31,
from objects.h:27,
from droid.cpp:41:
movedef.h:43:8: note: ‘struct MOVE_CONTROL’ declared here
struct MOVE_CONTROL
^~~~~~~~~~~~
mv -f .deps/e3demo.Tpo .deps/e3demo.Po
g++ -DHAVE_CONFIG_H -I. -I.. -DYY_NO_INPUT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/AL -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DNDEBUG -DWZ_DATADIR="\"/usr/local/share/warzone2100\"" -DLOCALEDIR="\"/usr/local/share/locale\"" -I.. -I../3rdparty -I../3rdparty/quesoglc -I/usr/include/libdrm -g -Wno-enum-compare -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wcast-align -Wwrite-strings -Wpointer-arith -Wno-format-security -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtScript -DQT_SHARED -fstack-protector -MT effects.o -MD -MP -MF .deps/effects.Tpo -c -o effects.o effects.cpp
challenge.cpp: In function ‘void updateChallenge(bool)’:
challenge.cpp:103:14: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
if (fStr == '\0')
^~~~
mv -f .deps/drive.Tpo .deps/drive.Po
g++ -DHAVE_CONFIG_H -I. -I.. -DYY_NO_INPUT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng16 -I/usr/include/AL -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DNDEBUG -DWZ_DATADIR="\"/usr/local/share/warzone2100\"" -DLOCALEDIR="\"/usr/local/share/locale\"" -I.. -I../3rdparty -I../3rdparty/quesoglc -I/usr/include/libdrm -g -Wno-enum-compare -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wcast-align -Wwrite-strings -Wpointer-arith -Wno-format-security -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtScript -DQT_SHARED -fstack-protector -MT feature.o -MD -MP -MF .deps/feature.Tpo -c -o feature.o feature.cpp
make[3]: *** [Makefile:976: challenge.o] Error 1
make[3]: *** Waiting for unfinished jobs....
mv -f .deps/display.Tpo .deps/display.Po
mv -f .deps/design.Tpo .deps/design.Po
mv -f .deps/droid.Tpo .deps/droid.Po
mv -f .deps/edit3d.Tpo .deps/edit3d.Po
mv -f .deps/display3d.Tpo .deps/display3d.Po
mv -f .deps/feature.Tpo .deps/feature.Po
mv -f .deps/effects.Tpo .deps/effects.Po
make[3]: Leaving directory '/home/phil/software/warzone2100-3.1.5/src'
make[2]: *** [Makefile:775: all] Error 2
make[2]: Leaving directory '/home/phil/software/warzone2100-3.1.5/src'
make[1]: *** [Makefile:580: all-recursive] Error 1
make[1]: Leaving directory '/home/phil/software/warzone2100-3.1.5'
make: *** [Makefile:500: all] Error 2