Moderators: Joe Kari, Pardner, TheDoctor
[smg@gserver src]$ make
==> Making SG [RELEASE] (engine and mod)
cd ./code && perl ./unix/cons -- vm noso
GCC version: gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-50) - x86_64-redhat-linux
which: no ccache in (/usr/local/bin:/bin:/usr/bin:/home/smg/bin)
cpu : x86
OS : Linux
libc: 2.5
configured for release build
CFLAGS: -pipe -fsigned-char -DNDEBUG -O6 -m32 -mtune=pentiumpro -march=pentium -fomit-frame-pointer -ffast-math -falign-loops=2 -falign-jumps=2 -falign-functions=2 -fno-strict-aliasing -fstrength-reduce
gcc -pipe -fsigned-char -DNDEBUG -O6 -m32 -mtune=pentiumpro -march=pentium -fomit-frame-pointer -ffast-math -falign-loops=2 -falign-jumps=2 -falign-functions=2 -fno-strict-aliasing -fstrength-reduce -DUSE_OPENAL -DUSE_MUMBLE -DUSE_CODEC_VORBIS -I/usr/X11R6/include -c release-x86-Linux-2.5/core/client/game/q_shared.c -o release-x86-Linux-2.5/core/client/game/q_shared.o
In file included from /usr/include/features.h:352,
from /usr/include/assert.h:36,
from release-x86-Linux-2.5/core/client/game/q_shared.h:97,
from release-x86-Linux-2.5/core/client/game/q_shared.c:25:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory
cons: *** [release-x86-Linux-2.5/core/client/game/q_shared.o] Error 1
cons: errors constructing release-x86-Linux-2.5/core/client/game/q_shared.o
make: *** [all] Error 2
Pardner wrote:I have no idea how you would go about compiling on Linux, but I am guessing it wouldnt be that much different. If you are on multiple platforms, try running through the tutorial for windows just to get the hang of it.
make
COMPILING ON GNU/LINUX and OpenSolaris/Solaris
==================
A Makefile is available in the base source folder. Just run "make" to
start compiling. As Scons is still used for the compilation, you will
need the perl interpreter on your station.
wget http://smokinguns.svn.sourceforge.net/viewvc/smokinguns/branches/1.1/?view=tar -O sg-code-v11.gz
tar xvf sg-code-v11.gz
cd 1.1/
BUILD_CLIENT=0 BUILD_GAME_QVM=0 make
/dev/random wrote:Just out of interest; this server is not gonna be available to the public (internet), is it? Why don't you run a linux distribution which uses a more recent glibc?
/dev/random wrote:Which exact error occurs when running a pure server?
Server is Pure