Hello

I'm trying to compile R1Q2 to run on my 64bit Xubuntu distro.
I compiled a mod for Quake2 yesterday and when I used the precompiled binaries, the game gives me a segmentation fault.
It then suggested that I downloaded the 'old mod' version but I think 'old mod' means 'compiled ages ago'. I just compiled this yesterday so I figured that wasn't the problem.
So I went ahead and tried to compile R1Q2 myself but that failed. Below is the 'log' and any other necessary information.
dennisf@IR1337:~/Desktop/dev/R1Q2/binaries$ make --debug
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for x86_64-pc-linux-gnu
Reading makefiles...
Updating goal targets....
File `default' does not exist.
File `all' does not exist.
File `r1q2ded' does not exist.
Must remake target `r1q2ded'.
make -C r1q2ded
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for x86_64-pc-linux-gnu
Reading makefiles...
Updating goal targets....
File `default' does not exist.
File `r1q2ded' does not exist.
File `common.o' does not exist.
Must remake target `common.o'.
make[1]: Entering directory `/home/dennisf/Desktop/dev/R1Q2/binaries/r1q2ded'
cc -DDEDICATED_ONLY -DANTICHEAT -DNDEBUG -DLINUX -O2 -fno-strict-aliasing -Wall -ffloat-store -pipe -g -MF .depends/common.d -MMD -c -o common.o ../../qcommon/common.c
In file included from ../../qcommon/qcommon.h:33,
from ../../qcommon/common.c:21:
../../qcommon/../game/q_shared.h:36:18: warning: zlib.h: No such file or directory
../../qcommon/common.c: In function ‘Com_Printf’:
../../qcommon/common.c:363: warning: ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
../../qcommon/common.c: In function ‘ZLibDecompress’:
../../qcommon/common.c:2568: error: ‘z_stream’ undeclared (first use in this function)
../../qcommon/common.c:2568: error: (Each undeclared identifier is reported only once
../../qcommon/common.c:2568: error: for each function it appears in.)
../../qcommon/common.c:2568: error: expected ‘;’ before ‘zs’
../../qcommon/common.c:2571: error: ‘zs’ undeclared (first use in this function)
../../qcommon/common.c:2579: warning: implicit declaration of function ‘inflateInit2’
../../qcommon/common.c:2580: error: ‘Z_OK’ undeclared (first use in this function)
../../qcommon/common.c:2588: warning: implicit declaration of function ‘inflate’
../../qcommon/common.c:2588: error: ‘Z_FINISH’ undeclared (first use in this function)
../../qcommon/common.c:2589: error: ‘Z_STREAM_END’ undeclared (first use in this function)
../../qcommon/common.c:2595: warning: implicit declaration of function ‘inflateEnd’
../../qcommon/common.c: In function ‘ZLibCompressChunk’:
../../qcommon/common.c:2607: error: ‘z_stream’ undeclared (first use in this function)
../../qcommon/common.c:2607: error: expected ‘;’ before ‘zs’
../../qcommon/common.c:2610: error: ‘zs’ undeclared (first use in this function)
../../qcommon/common.c:2620: error: ‘Z_NULL’ undeclared (first use in this function)
../../qcommon/common.c:2624: error: ‘Z_BINARY’ undeclared (first use in this function)
../../qcommon/common.c:2628: warning: implicit declaration of function ‘deflateInit2’
../../qcommon/common.c:2628: error: ‘Z_DEFLATED’ undeclared (first use in this function)
../../qcommon/common.c:2628: error: ‘Z_DEFAULT_STRATEGY’ undeclared (first use in this function)
../../qcommon/common.c:2629: error: ‘Z_OK’ undeclared (first use in this function)
../../qcommon/common.c:2632: warning: implicit declaration of function ‘deflate’
../../qcommon/common.c:2632: error: ‘Z_FINISH’ undeclared (first use in this function)
../../qcommon/common.c:2633: error: ‘Z_STREAM_END’ undeclared (first use in this function)
../../qcommon/common.c:2636: warning: implicit declaration of function ‘deflateEnd’
make[1]: *** [common.o] Error 1
make[1]: Leaving directory `/home/dennisf/Desktop/dev/R1Q2/binaries/r1q2ded'
make: *** [r1q2ded] Error 2
More information here:
dennisf@IR1337:~/quake2$ make --version
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for x86_64-pc-linux-gnu
Linux Distribution:
dennisf@IR1337:~/quake2$ uname -a
Linux IR1337 2.6.27-11-generic #1 SMP Thu Jan 29 19:28:32 UTC 2009 x86_64 GNU/Linux
(Xubuntu 8.10 Intrepid Ibex)
The mod which I'm trying to run is called DDay Normandy.
http://www.ddaynormandy.com/ddayIf you are looking for me and other contributors, you can find us at the forums

FYI the EGL precompiled binary error:
map rmg1
------- Loading gamex86_64.so -------
dlopen(): /home/dennisf/quake2/./dday/gamex86_64.so: undefined symbol: POL_UserPrecache
Attempting to load with lazy symbols...ok
Loaded Game DLL, version 3
==== InitGame ====
COUNT: 9
Pinging master server 74.86.155.169:27900
------- Server Initialization -------
No .ent File for rmg1.bsp
Loading map objective pic dday/pics/objectives/rmg1.pcx...done.
=====================================================
Segmentation Fault
=====================================================
A crash has occured within R1Q2 or the Game DLL (mod)
that you are running. This is most likely caused by
using the wrong server binary (eg, r1q2ded instead of
r1q2ded-old) for the mod you are running. The server
README on the R1Q2 forums has more information about
which binaries you should be using.
If possible, try re-building R1Q2 and the mod you are
running from source code to ensure it isn't a compile
problem. If the crash still persists, please post the
following debug info on the R1Q2 forums with details
including the mod name, version, Linux distribution
and any other pertinent information.
Stack dump (18 frames):
00: ./r1q2ded-x86_64 [0x426ca7]
01: /lib/libc.so.6 [0x7f9fd7934060]
02: /lib/libc.so.6(strcpy+0x30) [0x7f9fd7983160]
03: /home/dennisf/quake2/./dday/gamex86_64.so(InitMOS_List+0x1cb) [0x7f9fd769ffdb]
04: /home/dennisf/quake2/./dday/gamex86_64.so(InitTeam+0xf4) [0x7f9fd7660b6c]
05: /home/dennisf/quake2/./dday/gamex86_64.so(SP_info_team_start+0x3c5) [0x7f9fd76617fb]
06: /home/dennisf/quake2/./dday/gamex86_64.so(ED_CallSpawn+0xdb) [0x7f9fd767e1af]
07: /home/dennisf/quake2/./dday/gamex86_64.so(SpawnEntities2+0x40c) [0x7f9fd767f3dc]
08: ./r1q2ded-x86_64 [0x4181c2]
09: ./r1q2ded-x86_64 [0x41885f]
10: ./r1q2ded-x86_64 [0x41045f]
11: ./r1q2ded-x86_64 [0x41063a]
12: ./r1q2ded-x86_64 [0x403ecb]
13: ./r1q2ded-x86_64 [0x402a25]
14: ./r1q2ded-x86_64 [0x40a2fb]
15: ./r1q2ded-x86_64 [0x427727]
16: /lib/libc.so.6(__libc_start_main+0xe6) [0x7f9fd791f466]
17: ./r1q2ded-x86_64 [0x40276a]
Version: r1q2ded-x86_64 b7864 (Linux x86-64) Binary Build (Oct 1 2008)
OS Info: Linux IR1337 2.6.27-11-generic #1 SMP Thu Jan 29 19:28:32 UTC 2009 x86_64
Loaded libraries:
[0x140324500992000x-0x140324501536128x] /lib/libm.so.6
[0x140324498796544x-0x140324498890480x] /usr/lib/libz.so.1
[0x140324496683008x-0x140324496693864x] /lib/libdl.so.2
[0x140324493070336x-0x140324494621496x] /lib/libc.so.6
[0x140324503633920x-0x140324503766004x] /lib64/ld-linux-x86-64.so.2
[0x140324490125312x-0x140324490979720x] /home/dennisf/quake2/./dday/gamex86_64.so
[0x140324487979008x-0x140324488026860x] /lib/libnss_files.so.2
[0x140324485873664x-0x140324485881976x] /lib/libnss_mdns4_minimal.so.2
[0x140324483751936x-0x140324483770788x] /lib/libnss_dns.so.2
[0x140324481568768x-0x140324481657468x] /lib/libresolv.so.2
[0x140324479373312x-0x140324479467104x] /lib/libgcc_s.so.1
Segmentation fault
I tried this with baseq2 as well and it still crashed
