Pages: [1]
  Print  
Author Topic: Building 080/ioquake3svn1438 on Debian Stable  (Read 13457 times)
Cacatoes
Banned for leasing own account
Posts a lot
*

Cakes 73
Posts: 1427


also banned for baiting another to violate rules


« on: August 09, 2008, 10:36:43 AM »

I tried to build OA on Debian Stable because binaries given with 0.8.0 don't work (glibc has to be > 2.4, Debian Stable has 2.3.6 http://packages.debian.org/fr/etch/glibc-doc )

Quote
<Cacatoes> I try to build ioquake3 (in 080 directory) on Debian Stable, it says :
<Cacatoes> DED_CC code/server/sv_bot.c
<Cacatoes> code/server/sv_bot.c:1: error: bad value (generic) for -mtune= switch
<Cacatoes> make[2]: *** [build/release-linux-i386/ded/sv_bot.o] Erreur 1
Quote
<Cacatoes> okay, solved it, it was because of the Makefile using some gcc 4.2 instruction (not recognized by 4.1 I have), had to remove : -mtune=generic
<Cacatoes> now I get many lines about unknown references, and it doesn't build either
=)

Code:
make[2]: entrant dans le répertoire « /home/oa/svnoa/svn/source/080/ioquake3svn1438 »
LD build/release-linux-i386/oa_ded.i386
build/release-linux-i386/ded/sv_bot.o: dans la fonction « BotImport_Print »:
sv_bot.c:(.text+0x1013): référence indéfinie vers « __stack_chk_guard »
sv_bot.c:(.text+0x1071): référence indéfinie vers « __stack_chk_guard »
sv_bot.c:(.text+0x10e4): référence indéfinie vers « __stack_chk_fail »
build/release-linux-i386/ded/sv_client.o: dans la fonction « SV_WriteDownloadToClient »:
sv_client.c:(.text+0x2e1): référence indéfinie vers « __stack_chk_guard »
sv_client.c:(.text+0x4ff): référence indéfinie vers « __stack_chk_guard »
sv_client.c:(.text+0xafa): référence indéfinie vers « __stack_chk_fail »
build/release-linux-i386/ded/sv_client.o: dans la fonction « SV_SendClientGameState »:
[...]

sys_unix.c:(.text+0x4c3): référence indéfinie vers « __stack_chk_guard »
sys_unix.c:(.text+0x5f5): référence indéfinie vers « __stack_chk_guard »
sys_unix.c:(.text+0x777): référence indéfinie vers « __stack_chk_fail »
build/release-linux-i386/ded/con_tty.o: dans la fonction « CON_Init »:
con_tty.c:(.text+0x20e): référence indéfinie vers « __stack_chk_guard »
con_tty.c:(.text+0x299): référence indéfinie vers « __stack_chk_guard »
con_tty.c:(.text+0x339): référence indéfinie vers « __stack_chk_fail »
collect2: ld returned 1 exit status
make[2]: *** [build/release-linux-i386/oa_ded.i386] Erreur 1
make[2]: quittant le répertoire « /home/oa/svnoa/svn/source/080/ioquake3svn1438 »
make[1]: *** [targets] Erreur 2
make[1]: quittant le répertoire « /home/oa/svnoa/svn/source/080/ioquake3svn1438 »
make: *** [release] Erreur 2
Logged

Todo: Walk the cat.
CFQ
---
Member


Cakes 0
Posts: 173


---


« Reply #1 on: August 09, 2008, 11:02:40 AM »

----
« Last Edit: August 13, 2008, 09:11:16 PM by CFQ » Logged

I blanked my posts because I don't like this forum anymore! BAWWWWW
Cacatoes
Banned for leasing own account
Posts a lot
*

Cakes 73
Posts: 1427


also banned for baiting another to violate rules


« Reply #2 on: August 09, 2008, 12:06:04 PM »

Having removed the optimizations you said, the result is the same.
Logged

Todo: Walk the cat.
CFQ
---
Member


Cakes 0
Posts: 173


---


« Reply #3 on: August 09, 2008, 12:08:00 PM »

----
« Last Edit: August 13, 2008, 09:11:33 PM by CFQ » Logged

I blanked my posts because I don't like this forum anymore! BAWWWWW
Cacatoes
Banned for leasing own account
Posts a lot
*

Cakes 73
Posts: 1427


also banned for baiting another to violate rules


« Reply #4 on: August 09, 2008, 02:38:59 PM »

Indeed I forgot to comment one of the section (32 bits one), thanks for the tip Wink

Hope I did nothing wrong, but these 0.8.0 binaries should work on Debian Stable :
http://download.tuxfamily.org/openarena/rel/080/oa080-i386-older_glibc.tgz

I'll post some binaries based on sources let on http://furver.se/oa_070_70/ soon.

Logged

Todo: Walk the cat.
sago007
Posts a lot
*

Cakes 62
Posts: 1664


Open Arena Developer


WWW
« Reply #5 on: August 09, 2008, 02:40:41 PM »

I have slightly newer source tar ball that can create working dedicated servers, I'll upload it soon

EDIT:
Try building from this: http://brie.ostenfeld.dk/~poul19/public_files/oa/dev080/ioquake3serverFix.tar.bz2
(You will still need any incompatible compile flags fixed, but the server can be joined)
« Last Edit: August 09, 2008, 03:02:05 PM by sago007 » Logged

There are nothing offending in my posts.
Cacatoes
Banned for leasing own account
Posts a lot
*

Cakes 73
Posts: 1427


also banned for baiting another to violate rules


« Reply #6 on: August 09, 2008, 05:24:33 PM »

Thanks Sago, I zipped both your files and mine so that they are available here :
http://download.tuxfamily.org/openarena/rel/080/oa080-serverfix.zip

(mines are in old_glibc subdirectory)
Logged

Todo: Walk the cat.
Pages: [1]
  Print  
 
Jump to: