Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Quake III Source Code Released! Anyone get it to compile?
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
nukem996
l33t
l33t


Joined: 13 Nov 2003
Posts: 776

PostPosted: Sat Aug 20, 2005 7:28 am    Post subject: Quake III Source Code Released! Anyone get it to compile? Reply with quote

I just downloaded the Quake III Source Code and I am trying to compile it under an AMD64 to bench 64bit Q3A vs 32bit Q3A. Anyway I tried this compile command as per the readme

Code:

./unix/cons -- gcc=gcc-3.4.4 g++=g++3.4.4


and all I get is : No such file or directory. The readme does say it needs gcc-2.95 but I thought I would get compile errors if anything. Has anyone else figured it out?
Back to top
View user's profile Send private message
bob_111
Apprentice
Apprentice


Joined: 12 Oct 2004
Posts: 155

PostPosted: Sat Aug 20, 2005 9:19 am    Post subject: Reply with quote

Are your sure its the actual engine source not the regular mod making source ? Could i please get a URL from where you downloaded it. Thanks.

- bob_111
Back to top
View user's profile Send private message
cylgalad
Veteran
Veteran


Joined: 18 Apr 2003
Posts: 1327
Location: France

PostPosted: Sat Aug 20, 2005 9:26 am    Post subject: Reply with quote

Goto: https://forums.gentoo.org/viewtopic-t-372046.html
Back to top
View user's profile Send private message
cylgalad
Veteran
Veteran


Joined: 18 Apr 2003
Posts: 1327
Location: France

PostPosted: Sat Aug 20, 2005 9:42 am    Post subject: Reply with quote

Also reading the README.txt may help, I don't think it compiles "out-of-the-box", unless you have gcc-2.95.
Try :
Code:
cd code
perl unix/cons

But it won't do much...
Maybe wait till some people get a clean-up release (and add it to portage ;))
Back to top
View user's profile Send private message
DoktorSeven
Apprentice
Apprentice


Joined: 21 Feb 2003
Posts: 194
Location: Here, somewhere

PostPosted: Sat Aug 20, 2005 2:03 pm    Post subject: Reply with quote

Seems like you have to use dos2unix on a lot of code files, otherwise it'll spit out a lot of syntax errors.

Edit: seems I got it to at least compile and run by following http://www.quakesrc.org/forums/viewtopic.php?p=46965&#46965 and running dos2unix on any set of files that give me trouble; need pak0.pk3 from the q3 cd and pak1-pak8.pk3 from the 132b patch in code/install/baseq3; run linuxquake3 from code/install.
_________________
WARNING: this post may be filled with lies and/or extreme sarcasm.
I write stuff on the internet, just like everyone else. I'M SPECIAL
Back to top
View user's profile Send private message
LubosD
Apprentice
Apprentice


Joined: 30 Jun 2005
Posts: 211
Location: Czech Republic

PostPosted: Sat Aug 20, 2005 3:59 pm    Post subject: Reply with quote

I've compiled it successfully with my P4 optimizations. I have +10 FPS in benchmarks where I usually have 170 FPS.
Back to top
View user's profile Send private message
LubosD
Apprentice
Apprentice


Joined: 30 Jun 2005
Posts: 211
Location: Czech Republic

PostPosted: Sat Aug 20, 2005 4:23 pm    Post subject: Reply with quote

ftp.idsoftware.com is overloaded - it's better to use bittorrent (TuxWarez)
Back to top
View user's profile Send private message
AdolescentFred
n00b
n00b


Joined: 17 Apr 2004
Posts: 49
Location: Oxfordshire, England

PostPosted: Sat Aug 20, 2005 9:38 pm    Post subject: Reply with quote

Code:
...
debug-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.c:1163: warning: matching constraint does not allow a register
cons: *** [debug-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.o] Error 1
cons: errors constructing debug-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.o


doesnt like amd64 methinks
_________________
I am 15
Current System:
Pure gentoo Amd64: Asus A8V mobo, Athlon 64 3200++, dual 1024MB ddr400, Nvidia 4800 ti SE, onboard sound
Back to top
View user's profile Send private message
nukem996
l33t
l33t


Joined: 13 Nov 2003
Posts: 776

PostPosted: Sat Aug 20, 2005 11:47 pm    Post subject: Reply with quote

hmmm I get this compile error on my AMD64

Code:

CFLAGS: -pipe -fsigned-char -march=k8 -pipe -fomit-frame-pointer -g -Wall -O3
q3lcc -DQ3_VM -DCGAME -S -Wf-target=bytecode -Wf-g -Icgame -Igame -Iq3_ui -c deb
ug-x86-Linux-2.3/Q3/cgame/cgame/cg_main.c -o debug-x86-Linux-2.3/Q3/cgame/cgame/
cg_main.asm
cpp: debug-x86-Linux-2.3/Q3/cgame/cgame/cg_main.c:24 Syntax error in #include
cpp: debug-x86-Linux-2.3/Q3/cgame/cgame/cg_main.c:26 Syntax error in #ifdef/#ifn
def
cpp: debug-x86-Linux-2.3/Q3/cgame/cgame/cg_main.c:68 Syntax error in #ifdef/#ifn
def
cpp: debug-x86-Linux-2.3/Q3/cgame/cgame/cg_main.c:186 Syntax error in #ifdef/#if
ndef
cpp: debug-x86-Linux-2.3/Q3/cgame/cgame/cg_main.c:267 Syntax error in #ifdef/#if
ndef
cpp: debug-x86-Linux-2.3/Q3/cgame/cgame/cg_main.c:269 Syntax error in #else
cpp: debug-x86-Linux-2.3/Q3/cgame/cgame/cg_main.c:271 Syntax error in #endif
cpp: debug-x86-Linux-2.3/Q3/cgame/cgame/cg_main.c:285 Syntax error in #ifdef/#if
ndef
cpp: debug-x86-Linux-2.3/Q3/cgame/cgame/cg_main.c:441 Syntax error in #ifdef/#if
ndef
cpp: debug-x86-Linux-2.3/Q3/cgame/cgame/cg_main.c:547 Syntax error in #ifdef/#if
ndef
cpp: debug-x86-Linux-2.3/Q3/cgame/cgame/cg_main.c:562 Syntax error in #ifdef/#if
ndef
cpp: debug-x86-Linux-2.3/Q3/cgame/cgame/cg_main.c:593 Syntax error in #ifdef/#if
ndef
cpp: debug-x86-Linux-2.3/Q3/cgame/cgame/cg_main.c:609 Syntax error in #else
cpp: debug-x86-Linux-2.3/Q3/cgame/cgame/cg_main.c:615 Syntax error in #endif
cpp: debug-x86-Linux-2.3/Q3/cgame/cgame/cg_main.c:627 Syntax error in #ifdef/#if
ndef
cpp: debug-x86-Linux-2.3/Q3/cgame/cgame/cg_main.c:654 Syntax error in #ifdef/#if
ndef
cpp: debug-x86-Linux-2.3/Q3/cgame/cgame/cg_main.c:665 Syntax error in #ifdef/#if
ndef
cpp: debug-x86-Linux-2.3/Q3/cgame/cgame/cg_main.c:675 Syntax error in #ifdef/#if
ndef
cpp: debug-x86-Linux-2.3/Q3/cgame/cgame/cg_main.c:740 Syntax error in #ifdef/#if
ndef
cpp: debug-x86-Linux-2.3/Q3/cgame/cgame/cg_main.c:768 Syntax error in #ifdef/#if
ndef
cpp: debug-x86-Linux-2.3/Q3/cgame/cgame/cg_main.c:859 Syntax error in #ifdef/#if
ndef
cpp: debug-x86-Linux-2.3/Q3/cgame/cgame/cg_main.c:889 Syntax error in #ifdef/#if
ndef
cpp: debug-x86-Linux-2.3/Q3/cgame/cgame/cg_main.c:891 Syntax error in #else
cpp: debug-x86-Linux-2.3/Q3/cgame/cgame/cg_main.c:893 Syntax error in #endif
cpp: debug-x86-Linux-2.3/Q3/cgame/cgame/cg_main.c:900 Syntax error in #ifdef/#if
ndef
cpp: debug-x86-Linux-2.3/Q3/cgame/cgame/cg_main.c:902 Syntax error in #else
cpp: debug-x86-Linux-2.3/Q3/cgame/cgame/cg_main.c:904 Syntax error in #endif
cpp: debug-x86-Linux-2.3/Q3/cgame/cgame/cg_main.c:913 Syntax error in #ifdef/#if
ndef
cpp: debug-x86-Linux-2.3/Q3/cgame/cgame/cg_main.c:927 Syntax error in #ifdef/#if
ndef
cpp: debug-x86-Linux-2.3/Q3/cgame/cgame/cg_main.c:958 Syntax error in #ifdef/#if
ndef
cpp: debug-x86-Linux-2.3/Q3/cgame/cgame/cg_main.c:989 Syntax error in #ifdef/#if
ndef
cpp: debug-x86-Linux-2.3/Q3/cgame/cgame/cg_main.c:991 Syntax error in #else
cpp: debug-x86-Linux-2.3/Q3/cgame/cgame/cg_main.c:994 Syntax error in #endif
cpp: debug-x86-Linux-2.3/Q3/cgame/cgame/cg_main.c:995 Syntax error in #ifdef/#if
ndef
cpp: debug-x86-Linux-2.3/Q3/cgame/cgame/cg_main.c:1068 Syntax error in #ifdef/#i
fndef
cpp: debug-x86-Linux-2.3/Q3/cgame/cgame/cg_main.c:1194 Syntax error in #ifdef/#i
fndef
cpp: debug-x86-Linux-2.3/Q3/cgame/cgame/cg_main.c:1709 Syntax error in #ifdef/#i
fndef
cpp: debug-x86-Linux-2.3/Q3/cgame/cgame/cg_main.c:1915 Syntax error in #ifdef/#i
fndef
cpp: debug-x86-Linux-2.3/Q3/cgame/cgame/cg_main.c:1933 Syntax error in #ifdef/#i
fndef
cpp: debug-x86-Linux-2.3/Q3/cgame/cgame/cg_main.c:1954 Syntax error in #ifdef/#i
fndef
cpp: debug-x86-Linux-2.3/Q3/cgame/cgame/cg_main.c:1985 Syntax error in #ifdef/#i
fndef
cons: *** [debug-x86-Linux-2.3/Q3/cgame/cgame/cg_main.asm] Error 1
cons: errors constructing debug-x86-Linux-2.3/Q3/cgame/cgame/cg_main.asm

Back to top
View user's profile Send private message
onehalf
n00b
n00b


Joined: 26 Jun 2005
Posts: 9

PostPosted: Sun Aug 21, 2005 12:14 am    Post subject: Reply with quote

nukem996:

Try using doing this in the code directory:
Code:

for i in $(find .); do
dos2unix $i
done
chmod +x qvmtools/*


Unfortunately it still b0rkes out on x86asm later on, so much for amd64.

EDIT: obviously, you need dos2unix installed (it's in portage)
Back to top
View user's profile Send private message
Nico.be
n00b
n00b


Joined: 21 Aug 2005
Posts: 1

PostPosted: Sun Aug 21, 2005 12:26 am    Post subject: Reply with quote

i have follow this and it's working for me on my laptop centrino/ati radeon :)
http://www.quakesrc.org/forums/viewtopic.php?p=46965

here is just a simple bash to do it
place it in the same dir as quake3-1.32b-source.zip and run it (go drinkring some cofee ^^)

Code:

#!/bin/bash
unzip -a quake3-1.32b-source.zip
cd quake3-1.32b
cd lcc/src
perl -pi.bk -e 's/\r//' *.md
cd ../..
cd code/cgame
perl -pi.bk -e 's/\r//' *.c *.h
cd ../..
cd code/game
perl -pi.bk -e 's/\r//' *.c *.h
cd ../..
cd code/ui/
perl -pi.bk -e 's/\r//' *.c *.h
cd ../..
cd code/q3_ui/
perl -pi.bk -e 's/\r//' *.c *.h
cd ../..
cd code
perl unix/cons


i hope that it will help you :)

oups forget to say that you will found the bin,... in quake3-1.32b/code/install
Back to top
View user's profile Send private message
nukem996
l33t
l33t


Joined: 13 Nov 2003
Posts: 776

PostPosted: Sun Aug 21, 2005 4:13 am    Post subject: Reply with quote

Nice.be: Thanks, Your script seems to have worked, compiling now.

EDIT: I changed the last line from

Code:

perl unix/cons


To

Code:

perl unix/cons -- release


To take out all the debug crap.


Last edited by nukem996 on Sun Aug 21, 2005 4:19 am; edited 1 time in total
Back to top
View user's profile Send private message
nukem996
l33t
l33t


Joined: 13 Nov 2003
Posts: 776

PostPosted: Sun Aug 21, 2005 4:18 am    Post subject: Reply with quote

Well it crapped out on me but I did find out two things. All the CFLAGS are in code/Construct. The first time it craped out was because it compiles with -mcpu=pentiumpro, I changed it to my CFLAGS and everything seemed to work until it got to the asm stuff. It seems all 64bit people get the same problem no matter what distro they are using.

Code:

gcc -pipe -fsigned-char -march=k8 -pipe -O3 -fomit-frame-pointer -ffast-math -ma
lign-loops=2 -malign-jumps=2 -malign-functions=2 -fno-strict-aliasing -fstrength
-reduce -DDEDICATED -DC_ONLY -c release-x86-Linux-2.3/core/dedicated/qcommon/vm_
x86.c -o release-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.o
release-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.c:1: warning: -malign-loops
is obsolete, use -falign-loops
release-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.c:1: warning: -malign-jumps
is obsolete, use -falign-jumps
release-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.c:1: warning: -malign-functi
ons is obsolete, use -falign-functions
release-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.c:79: error: initializer ele
ment is not constant
release-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.c:83: error: initializer ele
ment is not constant
release-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.c: In function `VM_Compile':
release-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.c:455: warning: cast from po
inter to integer of different size
release-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.c:465: warning: cast from po
inter to integer of different size
release-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.c:475: warning: cast from po
inter to integer of different size
release-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.c:491: warning: cast from po
inter to integer of different size
release-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.c:506: warning: cast from po
inter to integer of different size
release-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.c:521: warning: cast from po
inter to integer of different size
release-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.c:561: warning: cast from po
inter to integer of different size
release-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.c:566: warning: cast from po
inter to integer of different size
release-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.c:594: warning: cast from po
inter to integer of different size
release-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.c:597: warning: cast from po
inter to integer of different size
release-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.c:602: warning: cast from po
inter to integer of different size
release-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.c:607: warning: cast from po
inter to integer of different size
release-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.c:624: warning: cast from po
inter to integer of different size
release-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.c:629: warning: cast from po
inter to integer of different size
release-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.c:635: warning: cast from po
inter to integer of different size
release-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.c:640: warning: cast from po
inter to integer of different size
release-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.c:654: warning: cast from po
inter to integer of different size
release-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.c:660: warning: cast from po
inter to integer of different size
release-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.c:666: warning: cast from po
inter to integer of different size
release-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.c:672: warning: cast from po
inter to integer of different size
release-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.c:683: warning: cast from po
inter to integer of different size
release-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.c:692: warning: cast from po
inter to integer of different size
release-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.c:701: warning: cast from po
inter to integer of different size
release-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.c:713: warning: cast from po
inter to integer of different size
release-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.c:723: warning: cast from po
inter to integer of different size
release-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.c:733: warning: cast from po
inter to integer of different size
release-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.c:743: warning: cast from po
inter to integer of different size
release-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.c:753: warning: cast from po
inter to integer of different size
release-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.c:763: warning: cast from po
inter to integer of different size
release-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.c:773: warning: cast from po
inter to integer of different size
release-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.c:783: warning: cast from po
inter to integer of different size
release-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.c:793: warning: cast from po
inter to integer of different size
release-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.c:803: warning: cast from po
inter to integer of different size
release-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.c:815: warning: cast from po
inter to integer of different size
release-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.c:827: warning: cast from po
inter to integer of different size
release-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.c:839: warning: cast from po
inter to integer of different size
release-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.c:851: warning: cast from po
inter to integer of different size
release-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.c:863: warning: cast from po
inter to integer of different size
release-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.c:875: warning: cast from po
inter to integer of different size
release-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.c:1029: warning: cast from p
ointer to integer of different size
release-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.c:1045: warning: cast from p
ointer to integer of different size
release-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.c:1065: warning: cast from p
ointer to integer of different size
release-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.c: In function `VM_CallCompi
led':
release-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.c:1163: warning: matching co
nstraint does not allow a register
release-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.c:1163: warning: matching co
nstraint does not allow a register
release-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.c:1163: warning: matching co
nstraint does not allow a register
release-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.c:1163: warning: matching co
nstraint does not allow a register
cons: *** [release-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.o] Error 1
cons: errors constructing release-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.o

Back to top
View user's profile Send private message
Pol
Tux's lil' helper
Tux's lil' helper


Joined: 01 May 2003
Posts: 113

PostPosted: Sun Aug 21, 2005 8:53 am    Post subject: Reply with quote

yeah I got it working too ;)

Here are the instructions:

1) dos2unix every files in code and code/unix
2) chmod +x every files in code and code/unix
3) edit the file Construct and change the line:
Quote:

$config='debug';

in
Quote:

$config='release';


4) edit the Makefile in code and replace 'sparkle' by the hostname of your computer.
5) run 'make all'

And it should work ;)

I got the binary working in the directory:
quake3-1.32b/code/release-x86-Linux-2.3/core/client-smp/unix

Quote:

[~/Desktop/quake3-1.32b-source/quake3-1.32b/code/release-x86-Linux-2.3/core/client-smp/unix]$ ls -l linuxquake3-smp
-rwxr-xr-x 2 pol users 1228110 aoû 20 18:07 linuxquake3-smp


Quote:

[~]$ quake3 --version


==============================================================
Linux Quake3 Full Executable [Aug 20 2005 18:07:17]
local install: ./quake3.x86
==============================================================




I hope it helps ;)

Cya around !
Back to top
View user's profile Send private message
hensan
l33t
l33t


Joined: 26 Jun 2003
Posts: 868
Location: Sweden

PostPosted: Sun Aug 21, 2005 9:12 am    Post subject: Reply with quote

Just a quick tip: Running unzip with the -a flag will automatically convert the line breaks for you, no need for dos2unix or homebrewed scripts.
Back to top
View user's profile Send private message
nbkolchin
Apprentice
Apprentice


Joined: 07 Feb 2004
Posts: 290
Location: Russia, Saint-Petersburg

PostPosted: Sun Aug 21, 2005 9:51 am    Post subject: Reply with quote

Have anybody fixed embedded assembler for correct compilation with gcc3/4?
Back to top
View user's profile Send private message
Pol
Tux's lil' helper
Tux's lil' helper


Joined: 01 May 2003
Posts: 113

PostPosted: Sun Aug 21, 2005 9:52 am    Post subject: Reply with quote

problem with assembler? I got no one ...
Back to top
View user's profile Send private message
Pol
Tux's lil' helper
Tux's lil' helper


Joined: 01 May 2003
Posts: 113

PostPosted: Sun Aug 21, 2005 10:02 am    Post subject: Reply with quote

btw, is it possible to include a PunkBuster inside the src ? Because we can't play with the source we build on the net unfortunately... (at least on punkbusters servers)
Back to top
View user's profile Send private message
v3rtigo
Apprentice
Apprentice


Joined: 15 Jun 2004
Posts: 179

PostPosted: Sun Aug 21, 2005 4:41 pm    Post subject: Reply with quote

Pol wrote:
btw, is it possible to include a PunkBuster inside the src ? Because we can't play with the source we build on the net unfortunately... (at least on punkbusters servers)


no you can't thats what sux :cry:

pb has different licence and id can't release the source of it w/o eb premision.
Back to top
View user's profile Send private message
nukem996
l33t
l33t


Joined: 13 Nov 2003
Posts: 776

PostPosted: Sun Aug 21, 2005 7:13 pm    Post subject: Reply with quote

Anyone get this to work on x86_64?
Back to top
View user's profile Send private message
Elim
Tux's lil' helper
Tux's lil' helper


Joined: 05 Aug 2004
Posts: 100
Location: Here, there and everywhere. Mostly in the EU

PostPosted: Sun Aug 21, 2005 8:27 pm    Post subject: Reply with quote

AdolescentFred wrote:
Code:
...
debug-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.c:1163: warning: matching constraint does not allow a register
cons: *** [debug-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.o] Error 1
cons: errors constructing debug-x86-Linux-2.3/core/dedicated/qcommon/vm_x86.o


doesnt like amd64 methinks


Actually yes it does:

I compiled the code with these settings ( in .../code/Construct ) and had no problems:

Code:

$BASE_CFLAGS = $COMMON_CFLAGS . '-DNDEBUG -O6 -march=k8 -pipe -fomit-frame-pointer -ffast-math -falign-loops=2 -falign-jumps=2 -falign-functions=2 -fno-strict-aliasing -fstrength-reduce ';
   $BSPC_BASE_CFLAGS = $BASE_CFLAGS . '-DLINUX -DBSPC -Dstricmp=strcasecmp ';


However i did compile it on my 32bit system so im not sure whether its just compiling it as a 32bit binary anyway... I will mirror the archive of the compiled source code if anyone wants to see.
_________________
Windows is great, for filling my waste bin. Linux is great but its not working on my toaster (yet)
Back to top
View user's profile Send private message
onehalf
n00b
n00b


Joined: 26 Jun 2005
Posts: 9

PostPosted: Mon Aug 22, 2005 3:56 am    Post subject: Reply with quote

Elim, I'm still getting the same error (that vm_x86.o thing). Are you compiling the lcc code or running cons?
Back to top
View user's profile Send private message
nukem996
l33t
l33t


Joined: 13 Nov 2003
Posts: 776

PostPosted: Mon Aug 22, 2005 4:00 am    Post subject: Reply with quote

He compiled it on a 32bit system so the binaries are 32bit if your not sure goto the quake3 binary that you guy and run file on it.
Back to top
View user's profile Send private message
no4b
Bodhisattva
Bodhisattva


Joined: 18 Jan 2004
Posts: 774
Location: Tarnów, Poland

PostPosted: Mon Aug 22, 2005 11:31 am    Post subject: Reply with quote

nukem996 wrote:
Anyone get this to work on x86_64?


-m32... it doesn't compile without it.
Back to top
View user's profile Send private message
Elim
Tux's lil' helper
Tux's lil' helper


Joined: 05 Aug 2004
Posts: 100
Location: Here, there and everywhere. Mostly in the EU

PostPosted: Mon Aug 22, 2005 11:50 am    Post subject: hang on... Reply with quote

I set the cflags so that it would compile as a 64 bit program, could it be that its a 64 bit binary linked to 32 bit libraries?
_________________
Windows is great, for filling my waste bin. Linux is great but its not working on my toaster (yet)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum