Furthermore, I have one more question.
Is there a way to run my x84_64 compiled version on the IBM system? (ppc64)
That would save me lots of time.
Just in case, I am gonna post the output:
p.s. I have shitty privileges that don't help me install/update any of the
libraries. Worst, our admin rarely responds.
--
rmc104:~/minoru/cfe2/yasirTemp/ioquake3dev/svfb_201110271440/ioquake3dev_clean[7986]%
make USE_LOCAL_HEADERS=0 LDFLAGS=-L.
make[1]: Entering directory
`/r/home7/yasir/minoru/cfe2/yasirTemp/ioquake3dev/svfb_201110271440/ioquake3dev_clean'
Building ioquake3 in build/release-linux-ppc64:
PLATFORM: linux
ARCH: ppc64
VERSION: 1.36
COMPILE_PLATFORM: linux
COMPILE_ARCH: ppc64
CC: cc
CFLAGS:
-MMD
-Wall
-fno-strict-aliasing
-Wimplicit
-Wstrict-prototypes
-fopenmp
-pipe
-DUSE_ICON
-I/usr/include/SDL
-D_GNU_SOURCE=1
-D_REENTRANT
-DUSE_OPENAL
-DUSE_CURL
-maltivec
-m64
-DUSE_MUMBLE
-DUSE_VOIP
-DFLOATING_POINT
-DUSE_ALLOCA
-Icode/libspeex/include
-DPRODUCT_VERSION="1.36"
-DNDEBUG
-O3
-ffast-math
-funroll-loops
-fomit-frame-pointer
LDFLAGS:
-L.
LIBS:
-ldl
-lm
Output:
build/release-linux-ppc64/ioq3ded.ppc64
build/release-linux-ppc64/ioquake3.ppc64
build/release-linux-ppc64/baseq3/cgameppc64.so
build/release-linux-ppc64/baseq3/qagameppc64.so
build/release-linux-ppc64/baseq3/uippc64.so
build/release-linux-ppc64/missionpack/cgameppc64.so
build/release-linux-ppc64/missionpack/qagameppc64.so
build/release-linux-ppc64/missionpack/uippc64.so
make[2]: Entering directory
`/r/home7/yasir/minoru/cfe2/yasirTemp/ioquake3dev/svfb_201110271440/ioquake3dev_clean'
make[2]: `build/release-linux-ppc64/ioq3ded.ppc64' is up to date.
CC code/jpeg-6b/jerror.c
In file included from code/jpeg-6b/../renderer/../SDL12/include/SDL_config.h:42,
from code/jpeg-6b/../renderer/../SDL12/include/SDL_opengl.h:25,
from code/jpeg-6b/../renderer/qgl.h:31,
from code/jpeg-6b/../renderer/tr_local.h:31,
from code/jpeg-6b/jerror.c:21:
code/jpeg-6b/../renderer/../SDL12/include/SDL_config_minimal.h:38: error:
conflicting types for 'size_t'
/usr/lib/gcc/powerpc-linux-gnu/4.4.5/include/stddef.h:211: note: previous
declaration of 'size_t' was here
make[2]: *** [build/release-linux-ppc64/client/jerror.o] Error 1
make[2]: Leaving directory
`/r/home7/yasir/minoru/cfe2/yasirTemp/ioquake3dev/svfb_201110271440/ioquake3dev_clean'
make[1]: *** [targets] Error 2
make[1]: Leaving directory
`/r/home7/yasir/minoru/cfe2/yasirTemp/ioquake3dev/svfb_201110271440/ioquake3dev_clean'
make: *** [release] Error 2
rmc104:~/minoru/cfe2/yasirTemp/ioquake3dev/svfb_201110271440/ioquake3dev_clean[7987]%
--
________________________________
From: Yasir I. Al-Dosary - zgzg2020™ <yasiraldos...@yahoo.com>
To: Yasir I. Al-Dosary - zgzg2020™ <yasiraldos...@yahoo.com>; Primary ioquake3
Discussion/Development list <ioquake3@lists.ioquake.org>
Sent: Tuesday, November 1, 2011 9:23 PM
Subject: Re: [ioquake3] How do I build ioquake3 on IBM PowerPC?
Hello all,
It seems the problem was from gl.h and glu.h were not installed into my system.
(Sorry about the noise)
Anyways, I am now stuck with a problem of:
SDL_config_minimal.h:38: error: conflicting types for 'size_t'
Any ideas would be appreciated!
Yasir
________________________________
From: Yasir I. Al-Dosary - zgzg2020™ <yasiraldos...@yahoo.com>
To: ioquake3 <ioquake3@lists.ioquake.org>
Sent: Tuesday, November 1, 2011 2:07 PM
Subject: [ioquake3] How do I build ioquake3 on IBM PowerPC?
Sorry about the double message! ><; I made a mistake with the title.
Please disregard the previous message!
Thanks!
________________________________
From: Yasir I. Al-Dosary - zgzg2020™ <yasiraldos...@yahoo.com>
To: ioquake3 <ioquake3@lists.ioquake.org>
Sent: Tuesday, November 1, 2011 2:06 PM
Subject: How do I run 32-bit build on 64-bit machine?
Hello all,
I have been coding ioquake3 on Windows for sometime, and I am somewhat familiar
with the options and all.
Recently, I had to move my work to Linux. I am an total noobie to Linux. Anyway,
At first, I was compiling on a machine that is equipped with an Intel Xeon
8-core CPU and:
charmy:~/minoru/cfe2/yasirTemp/ioquake3dev/best_linux_20111012/ioquake3dev_clean[7805]%
uname -a
Linux charmy 2.6.32-33-server #72-Ubuntu SMP Fri Jul 29 21:21:55 UTC 2011
x86_64 GNU/Linux
I managed to run the Game perfectly.
However, I MUST move to a different server.
The new server is an IBM POWER5+ server and:
Linux rmc104 2.6.32-5-powerpc64 #1 SMP Tue Jun 14 11:04:52 UTC 2011 ppc64
GNU/Linux
At first, I had problems with the "skipping -lSDL mismatch error", that the
libraries on our
server were 32-bit, while the compilation was for 64-bit, as I was told.
Even though I have no experience there, I looked through the Makefile, and
found something that seemed related to the 32-bit issue. So, I did:
make BASE_CFLAGS += -m32
And, that got rid of that error.
However, then came a flood errors. After searching on the net, I found:
make USE_LOCAL_HEADERS=0
And that got rid of those errors.
However, now I am stuck with a different set of errors. I searched
unsuccessfully. Could anyone help me out with them?
--make output:
ras:~/minoru/cfe2/yasirTemp/ioquake3dev/svfb_201110271440/ioquake3dev_clean[7797]%
make USE_LOCAL_HEADERS=0
make: sdl-config: Command not found
make[1]: Entering directory
`/r/home7/yasir/minoru/cfe2/yasirTemp/ioquake3dev/svfb_201110271440/ioquake3dev_clean'
Building ioquake3 in build/release-linux-i386:
PLATFORM: linux
ARCH: i386
VERSION:
1.36
COMPILE_PLATFORM: linux
COMPILE_ARCH: i386
CC: cc
CFLAGS:
-MMD
-Wall
-fno-strict-aliasing
-Wimplicit
-Wstrict-prototypes
-fopenmp
-pipe
-DUSE_ICON
-DUSE_OPENAL
-DUSE_CURL
-m32
-DUSE_MUMBLE
-DUSE_VOIP
-DFLOATING_POINT
-DUSE_ALLOCA
-Icode/libspeex/include
-DPRODUCT_VERSION="1.36"
-DNDEBUG
-O3
-march=i586
-fomit-frame-pointer
-ffast-math
-funroll-loops
-falign-loops=2
-falign-jumps=2
-falign-functions=2
-fstrength-reduce
LDFLAGS:
LIBS:
-ldl
-lm
Output:
build/release-linux-i386/ioq3ded.i386
build/release-linux-i386/ioquake3.i386
build/release-linux-i386/baseq3/cgamei386.so
build/release-linux-i386/baseq3/qagamei386.so
build/release-linux-i386/baseq3/uii386.so
build/release-linux-i386/missionpack/cgamei386.so
build/release-linux-i386/missionpack/qagamei386.so
build/release-linux-i386/missionpack/uii386.so
make[2]: Entering directory
`/r/home7/yasir/minoru/cfe2/yasirTemp/ioquake3dev/svfb_201110271440/ioquake3dev_clean'
make[2]: `build/release-linux-i386/ioq3ded.i386' is up to date.
CC
code/jpeg-6b/jerror.c
In file included from code/jpeg-6b/../renderer/tr_local.h:31,
from code/jpeg-6b/jerror.c:21:
code/jpeg-6b/../renderer/qgl.h:32:25: warning: SDL_opengl.h: No such file or
directory
In file included from code/jpeg-6b/../renderer/tr_local.h:31,
from code/jpeg-6b/jerror.c:21:
code/jpeg-6b/../renderer/qgl.h:42: error: expected ')' before
'qglActiveTextureARB'
code/jpeg-6b/../renderer/qgl.h:43: error: expected ')' before
'qglClientActiveTextureARB'
code/jpeg-6b/../renderer/qgl.h:44: error: expected ')' before
'qglMultiTexCoord2fARB'
code/jpeg-6b/../renderer/qgl.h:46: error: expected ')' before 'qglLockArraysEXT'
code/jpeg-6b/../renderer/qgl.h:47: error: expected ')' before
'qglUnlockArraysEXT'
In file included from
code/jpeg-6b/jerror.c:21:
code/jpeg-6b/../renderer/tr_local.h:97: error: expected
specifier-qualifier-list before 'GLuint'
In file included from code/jpeg-6b/jerror.c:21:
code/jpeg-6b/../renderer/tr_local.h:1633: error: expected
specifier-qualifier-list before 'GLboolean'
make[2]: *** [build/release-linux-i386/client/jerror.o] Error 1
make[2]: Leaving directory
`/r/home7/yasir/minoru/cfe2/yasirTemp/ioquake3dev/svfb_201110271440/ioquake3dev_clean'
make[1]: *** [targets] Error 2
make[1]: Leaving directory
`/r/home7/yasir/minoru/cfe2/yasirTemp/ioquake3dev/svfb_201110271440/ioquake3dev_clean'
make: *** [release] Error 2
---
Best regards,
Yasir
_______________________________________________
ioquake3 mailing list
ioquake3@lists.ioquake.org
http://lists.ioquake.org/listinfo.cgi/ioquake3-ioquake.org
By sending this message I agree to love ioquake3 and libsdl.
_______________________________________________
ioquake3 mailing list
ioquake3@lists.ioquake.org
http://lists.ioquake.org/listinfo.cgi/ioquake3-ioquake.org
By sending this message I agree to love ioquake3 and libsdl.