Can't make warzone

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
Post Reply
JaredThane
New user
Posts: 1
Joined: 01 Feb 2007, 15:06

Can't make warzone

Post by JaredThane »

Here is the scoop:

Code: Select all

jared@jared-desktop:/tmp/warzone2100-0.2.2$ ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for ranlib... ranlib
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for memory.h... (cached) yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking whether closedir returns void... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether stat accepts an empty string... no
checking for vprintf... yes
checking for _doprnt... no
checking for gethostname... yes
checking for memmove... yes
checking for memset... yes
checking for sqrt... no
checking for strchr... yes
checking for strdup... yes
checking for strncasecmp... yes
checking for strrchr... yes
checking for strstr... yes
checking for stdbool.h that conforms to C99... (cached) yes
checking for _Bool... (cached) yes
checking whether time.h and sys/time.h may both be included... yes
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.1.4... yes
checking for presence of SDL_net... Found SDL_net in path
checking GL/gl.h usability... yes
checking GL/gl.h presence... yes
checking for GL/gl.h... yes
checking for main in -lGL... yes
checking OpenGL... yes
checking AL/al.h usability... yes
checking AL/al.h presence... yes
checking for AL/al.h... yes
checking for main in -lopenal... yes
checking for main in -lalut... no
checking OpenAL... yes
checking for Ogg... yes
checking for Vorbis... yes
checking for mad_stream_init in -lmad... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating lib/framework/Makefile
config.status: creating lib/gamelib/Makefile
config.status: creating lib/ivis_opengl/Makefile
config.status: creating lib/ivis02/Makefile
config.status: creating lib/netplay/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 src/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

Warzone will compile with the following components:

OpenGL acceleration: yes
OpenAL sound system: yes
Audio CD support: no
MP3 music support: yes
OGG music support: yes

jared@jared-desktop:/tmp/warzone2100-0.2.2$

jared@jared-desktop:/tmp/warzone2100-0.2.2$ make
make all-recursive
make[1]: Entering directory `/tmp/warzone2100-0.2.2'
Making all in lib
make[2]: Entering directory `/tmp/warzone2100-0.2.2/lib'
Making all in framework
make[3]: Entering directory `/tmp/warzone2100-0.2.2/lib/framework'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/warzone2100-0.2.2/lib/framework'
Making all in script
make[3]: Entering directory `/tmp/warzone2100-0.2.2/lib/script'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/warzone2100-0.2.2/lib/script'
Making all in sequence
make[3]: Entering directory `/tmp/warzone2100-0.2.2/lib/sequence'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/warzone2100-0.2.2/lib/sequence'
Making all in ivis_opengl
make[3]: Entering directory `/tmp/warzone2100-0.2.2/lib/ivis_opengl'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/warzone2100-0.2.2/lib/ivis_opengl'
Making all in ivis02
make[3]: Entering directory `/tmp/warzone2100-0.2.2/lib/ivis02'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/warzone2100-0.2.2/lib/ivis02'
Making all in gamelib
make[3]: Entering directory `/tmp/warzone2100-0.2.2/lib/gamelib'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/warzone2100-0.2.2/lib/gamelib'
Making all in sound
make[3]: Entering directory `/tmp/warzone2100-0.2.2/lib/sound'
if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../framework -I../gamelib -I../.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -g -O2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -DYY_STATIC -m32 -MT openal_track.o -MD -MP -MF ".deps/openal_track.Tpo" -c -o openal_track.o openal_track.c; \
then mv -f ".deps/openal_track.Tpo" ".deps/openal_track.Po"; else rm -f ".deps/openal_track.Tpo"; exit 1; fi
openal_track.c:8:21: error: AL/alut.h: No such file or directory
openal_track.c: In function ‘sound_Update’:
openal_track.c:141: warning: pointer targets in passing argument 2 of ‘alDeleteSources’ differ in signedness
openal_track.c: In function ‘sound_QueueSamplePlaying’:
openal_track.c:181: warning: pointer targets in passing argument 2 of ‘alDeleteSources’ differ in signedness
openal_track.c: In function ‘sound_ReadTrackFromFile’:
openal_track.c:213: warning: implicit declaration of function ‘alutLoadWAVFile’
openal_track.c:215: warning: implicit declaration of function ‘alutUnloadWAV’
openal_track.c: In function ‘sound_ReadTrackFromBuffer’:
openal_track.c:235: warning: implicit declaration of function ‘alutLoadWAVMemory’
openal_track.c: In function ‘sound_Play2DSample’:
openal_track.c:310: warning: pointer targets in passing argument 2 of ‘alGenSources’ differ in signedness
openal_track.c: In function ‘sound_Play3DSample’:
openal_track.c:345: warning: pointer targets in passing argument 2 of ‘alGenSources’ differ in signedness
openal_track.c: In function ‘sound_SampleIsFinished’:
openal_track.c:510: warning: pointer targets in passing argument 2 of ‘alDeleteSources’ differ in signedness
make[3]: *** [openal_track.o] Error 1
make[3]: Leaving directory `/tmp/warzone2100-0.2.2/lib/sound'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/warzone2100-0.2.2/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/warzone2100-0.2.2'
make: *** [all] Error 2
Am I missing something???

//Edit by Kamaze: Added [ code ] Tags.
Last edited by Kamaze on 01 Feb 2007, 17:12, edited 1 time in total.
User avatar
DevUrandom
Regular
Regular
Posts: 1690
Joined: 31 Jul 2006, 23:14

Re: Can't make warzone

Post by DevUrandom »

1st: 0.2.2 is far outdated and no longer supported. 2.0.5 is current, get it from here: http://wz2100.net/downloads.html
2nd: You are missing alut(-dev). (You don't need alut for 2.0.5.)
Post Reply