How do I fix errors

Other talk that doesn't fit elsewhere.
This is for General Discussion, not General chat.

How do I fix errors

Postby William » 15 Dec 2016, 03:36

when I install warzone 2100 I get these errors please help!
[code][/code]william@ubuntu:~/wz2100legacy-microwave_rebase-07-17-2013$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '1000' is supported by ustar format... yes
checking whether GID '1000' 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 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 for bison... bison -y
checking for bison >= 1.31... found 3.0.4, ok
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for flex >= 2.5.33... found 2.6.1, ok
checking for flex != 2.5.34... not found, good
checking whether perl executable path has been provided... no
checking for perl... /usr/bin/perl
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for perl version... This is perl 5, version 22, subversion 2 (v5.22.2) built for x86_64-linux-gnu-thread-multi
checking for gawk... (cached) gawk
checking for zip... zip
checking for unzip... unzip

zip error: Nothing to do! (filesynctest.zip)
checking for a2x... a2x
checking for wkhtmltopdf... wkhtmltopdf
checking how to run the C preprocessor... gcc -E
checking for egrep... /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 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
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
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 0.29.1, ok
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 OGGVORBIS... yes
checking for GLee... no
checking for GLee.h...
checking for GLee.h with -I/usr/local/include/GL... no
checking for GLee.h with -I/usr/include/GL... no
checking GLee.h usability... no
checking GLee.h presence... no
checking for GLee.h... no
configure: Using integrated GLee
checking for nearbyint in -lm... yes
checking for XSetSelectionOwner in -lX11... yes
checking Xm/Xm.h usability... no
checking Xm/Xm.h presence... no
checking for Xm/Xm.h... no
checking for XmCreateErrorDialog in -lXm... no
checking popt.h usability... yes
checking popt.h presence... yes
checking for popt.h... yes
checking for poptGetContext in -lpopt... yes
checking physfs.h usability... yes
checking physfs.h presence... yes
checking for physfs.h... yes
checking for PHYSFS_init in -lphysfs... yes
checking SDL_opengl.h usability... yes
checking SDL_opengl.h presence... yes
checking for SDL_opengl.h... yes
checking for main in -lGL... yes
checking for main in -lGLU... yes
checking for FRIBIDI... yes
checking for FREETYPE... yes
checking for GLEW... 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 win32/Makefile
config.status: creating win32/nsis/Makefile
config.status: creating lib/Makefile
config.status: creating lib/framework/Makefile
config.status: creating lib/exceptionhandler/Makefile
config.status: creating lib/gamelib/Makefile
config.status: creating lib/iniparser/Makefile
config.status: creating lib/ivis_opengl/Makefile
config.status: creating lib/ivis_common/Makefile
config.status: creating lib/netplay/Makefile
config.status: creating lib/netplay/miniupnpc/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 lib/libglc/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

Configuration successful for Warzone 2100 Legacy microwave_rebase.
---------------------------------------------------------
Configuration summary:
---------------------------------------------------------
Operating system: linux-gnu
Processor architecture: x86_64
C Compiler used: gcc
C++ Compiler used: g++
CFLAGS: -fstack-protector
CXXFLAGS: -fstack-protector
LDFLAGS: -rdynamic

Type make to compile Warzone 2100 Legacy.
william@ubuntu:~/wz2100legacy-microwave_rebase-07-17-2013$ sudo make
[sudo] password for william:
make all-recursive
make[1]: Entering directory '/home/william/wz2100legacy-microwave_rebase-07-17-2013'
Making all in win32
make[2]: Entering directory '/home/william/wz2100legacy-microwave_rebase-07-17-2013/win32'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/william/wz2100legacy-microwave_rebase-07-17-2013/win32'
Making all in lib
make[2]: Entering directory '/home/william/wz2100legacy-microwave_rebase-07-17-2013/lib'
Making all in framework
make[3]: Entering directory '/home/william/wz2100legacy-microwave_rebase-07-17-2013/lib/framework'
make all-am
make[4]: Entering directory '/home/william/wz2100legacy-microwave_rebase-07-17-2013/lib/framework'
gcc -DHAVE_CONFIG_H -I. -I../.. -DYY_NO_INPUT -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -DNDEBUG -DWZ_DATADIR="\"/usr/local/share/wz2100legacy\"" -DLOCALEDIR="\"/usr/local/share/locale\"" -I../.. -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wcast-align -Wwrite-strings -Wpointer-arith -Wno-format-security -Wno-pointer-to-int-cast -Wno-strict-aliasing -Wstrict-prototypes -Wdeclaration-after-statement -Wc++-compat -Wno-c++-compat -Wno-switch -Wno-enum-compare -fstack-protector -MT resource_lexer.lex.o -MD -MP -MF .deps/resource_lexer.lex.Tpo -c -o resource_lexer.lex.o resource_lexer.lex.c
resource_lexer.l:48:25: error: redefinition of ‘res_get_lineno’
# define yyget_lineno res_get_lineno
^
resource_lexer.lex.c:1802:5: note: in expansion of macro ‘res_get_lineno’
int res_get_lineno (void)
^~~~~~~~~~~~~~
resource_lexer.l:48:25: note: previous definition of ‘res_get_lineno’ was here
# define yyget_lineno res_get_lineno
^
resource_lexer.l:53:5: note: in expansion of macro ‘res_get_lineno’
int yyget_lineno()
^~~~~~~~~~~~~~
resource_lexer.l:49:25: error: redefinition of ‘res_get_text’
# define yyget_text res_get_text
^
resource_lexer.lex.c:1836:7: note: in expansion of macro ‘res_get_text’
char *res_get_text (void)
^~~~~~~~~~~~
resource_lexer.l:49:25: note: previous definition of ‘res_get_text’ was here
# define yyget_text res_get_text
^
resource_lexer.l:59:7: note: in expansion of macro ‘res_get_text’
char* yyget_text()
^~~~~~~~~~~~
resource_lexer.l:147:5: error: redefinition of ‘res_lex_destroy’
{
^
resource_lexer.lex.c:1909:5: note: previous definition of ‘res_lex_destroy’ was here
int res_lex_destroy (void)
^~~~~~~~~~~~~~~
Makefile:484: recipe for target 'resource_lexer.lex.o' failed
make[4]: *** [resource_lexer.lex.o] Error 1
make[4]: Leaving directory '/home/william/wz2100legacy-microwave_rebase-07-17-2013/lib/framework'
Makefile:411: recipe for target 'all' failed
make[3]: *** [all] Error 2
make[3]: Leaving directory '/home/william/wz2100legacy-microwave_rebase-07-17-2013/lib/framework'
Makefile:416: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/william/wz2100legacy-microwave_rebase-07-17-2013/lib'
Makefile:519: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/william/wz2100legacy-microwave_rebase-07-17-2013'
Makefile:438: recipe for target 'all' failed
make: *** [all] Error 2
william@ubuntu:~/wz2100legacy-microwave_rebase-07-17-2013$ sudo make install
Making install in win32
make[1]: Entering directory '/home/william/wz2100legacy-microwave_rebase-07-17-2013/win32'
make[2]: Entering directory '/home/william/wz2100legacy-microwave_rebase-07-17-2013/win32'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/william/wz2100legacy-microwave_rebase-07-17-2013/win32'
make[1]: Leaving directory '/home/william/wz2100legacy-microwave_rebase-07-17-2013/win32'
Making install in lib
make[1]: Entering directory '/home/william/wz2100legacy-microwave_rebase-07-17-2013/lib'
Making install in framework
make[2]: Entering directory '/home/william/wz2100legacy-microwave_rebase-07-17-2013/lib/framework'
make install-am
make[3]: Entering directory '/home/william/wz2100legacy-microwave_rebase-07-17-2013/lib/framework'
gcc -DHAVE_CONFIG_H -I. -I../.. -DYY_NO_INPUT -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -DNDEBUG -DWZ_DATADIR="\"/usr/local/share/wz2100legacy\"" -DLOCALEDIR="\"/usr/local/share/locale\"" -I../.. -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wcast-align -Wwrite-strings -Wpointer-arith -Wno-format-security -Wno-pointer-to-int-cast -Wno-strict-aliasing -Wstrict-prototypes -Wdeclaration-after-statement -Wc++-compat -Wno-c++-compat -Wno-switch -Wno-enum-compare -fstack-protector -MT resource_lexer.lex.o -MD -MP -MF .deps/resource_lexer.lex.Tpo -c -o resource_lexer.lex.o resource_lexer.lex.c
resource_lexer.l:48:25: error: redefinition of ‘res_get_lineno’
# define yyget_lineno res_get_lineno
^
resource_lexer.lex.c:1802:5: note: in expansion of macro ‘res_get_lineno’
int res_get_lineno (void)
^~~~~~~~~~~~~~
resource_lexer.l:48:25: note: previous definition of ‘res_get_lineno’ was here
# define yyget_lineno res_get_lineno
^
resource_lexer.l:53:5: note: in expansion of macro ‘res_get_lineno’
int yyget_lineno()
^~~~~~~~~~~~~~
resource_lexer.l:49:25: error: redefinition of ‘res_get_text’
# define yyget_text res_get_text
^
resource_lexer.lex.c:1836:7: note: in expansion of macro ‘res_get_text’
char *res_get_text (void)
^~~~~~~~~~~~
resource_lexer.l:49:25: note: previous definition of ‘res_get_text’ was here
# define yyget_text res_get_text
^
resource_lexer.l:59:7: note: in expansion of macro ‘res_get_text’
char* yyget_text()
^~~~~~~~~~~~
resource_lexer.l:147:5: error: redefinition of ‘res_lex_destroy’
{
^
resource_lexer.lex.c:1909:5: note: previous definition of ‘res_lex_destroy’ was here
int res_lex_destroy (void)
^~~~~~~~~~~~~~~
Makefile:484: recipe for target 'resource_lexer.lex.o' failed
make[3]: *** [resource_lexer.lex.o] Error 1
make[3]: Leaving directory '/home/william/wz2100legacy-microwave_rebase-07-17-2013/lib/framework'
Makefile:585: recipe for target 'install' failed
make[2]: *** [install] Error 2
make[2]: Leaving directory '/home/william/wz2100legacy-microwave_rebase-07-17-2013/lib/framework'
Makefile:416: recipe for target 'install-recursive' failed
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory '/home/william/wz2100legacy-microwave_rebase-07-17-2013/lib'
Makefile:519: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1
william@ubuntu:~/wz2100legacy-microwave_rebase-07-17-2013$ wz2100legacy-microwave_rebase-07-17-2013
William
Trained
Trained
 
Posts: 165
Joined: 02 Sep 2015, 22:39

Re: How do I fix errors

Postby William » 15 Dec 2016, 03:39

help anyone??
William
Trained
Trained
 
Posts: 165
Joined: 02 Sep 2015, 22:39

Re: How do I fix errors

Postby Berg » 15 Dec 2016, 03:43

wz2100legacy-microwave_rebase-07-17-2013 looks like a 3 year old release by subsentient which has nothing to do with this project.
Try asking in the legacy forum if they have one or email the author.
User avatar
Berg
Regular
Regular
 
Posts: 1811
Joined: 02 Sep 2007, 23:25
Location: Australia

Re: How do I fix errors

Postby William » 16 Dec 2016, 00:29

I don't know where the legacy forum is.
William
Trained
Trained
 
Posts: 165
Joined: 02 Sep 2015, 22:39

Re: How do I fix errors

Postby Berg » 16 Dec 2016, 01:15

That version of warzone looks to be not related to this project.
I don’t know where legacy is hosted either go look at the place you got that download from.
User avatar
Berg
Regular
Regular
 
Posts: 1811
Joined: 02 Sep 2007, 23:25
Location: Australia

Re: How do I fix errors

Postby William » 17 Dec 2016, 03:39

William
Trained
Trained
 
Posts: 165
Joined: 02 Sep 2015, 22:39


Return to Other Talk