1

Topic: server SPARC ?

Hi,
Think you compile a version of Teewars server for SPARC version of linux ? for the next release ?

Thanks a lot for all you do, i'm addict big_smile


Dexter

2

Re: server SPARC ?

Why don't you just compile it yourself?

3

Re: server SPARC ?

We have no sparc hardware so we can't compile for it. If someone offers to help with this, there is no problems doing so. I recommend that you compile your own server release of the game.

These instructions should work on sparc... I hope..

# mkdir teewars
# cd teewars
# wget http://www.teewars.com/files/teewars-0.3.0-src.zip
# wget http://www.teewars.com/files/bam.zip
# unzip bam.zip
# unzip teewars-0.3.0-src.zip
# cd bam
# ./make_unix.sh
# cd ../teewars-0.3.0-src
# ../bam/src/bam server_release

4

Re: server SPARC ?

Hi,
I use Solaris 10 on a Sun ultraSPARC system,

I instaled gcc and tried to compile with ./make_unix.sh

there was a first problem with function "signal" :

src/support.c: In function `install_signals':
src/support.c:167: attention : déclaration implicite de la fonction « signal »

I think I fixed it putting "#include <signal.h>" in the /* NIX code */

now i have this error :

bash-3.00# ./make_unix.sh
Symbole                 première référence
 non défini                         dans le fichier
sched_yield                         /var/tmp//ccVtikJz.o
ld: fatal :  Erreurs dans le référencement des symboles. Aucun résultat n'a été écrit dans src/bam
collect2: ld a retourné 1 code d'état d'exécution

sorry it's french wink

Do you know this problem with linux x86 ?

Thanks.

5

Re: server SPARC ?

Dexter wrote:

Hi,
I use Solaris 10 on a Sun ultraSPARC system,

I instaled gcc and tried to compile with ./make_unix.sh

there was a first problem with function "signal" :

src/support.c: In function `install_signals':
src/support.c:167: attention : déclaration implicite de la fonction « signal »

I think I fixed it putting "#include <signal.h>" in the /* NIX code */

now i have this error :

bash-3.00# ./make_unix.sh
Symbole                 première référence
 non défini                         dans le fichier
sched_yield                         /var/tmp//ccVtikJz.o
ld: fatal :  Erreurs dans le référencement des symboles. Aucun résultat n'a été écrit dans src/bam
collect2: ld a retourné 1 code d'état d'exécution

sorry it's french wink

Do you know this problem with linux x86 ?

Thanks.

I don't have this problem with linux. The first one is a only a warning, the other error I can't make out what it says.

6

Re: server SPARC ?

"Errors in reference symbols. No results have been written in src/bam"

Whaddaya know, Google Translator actually worked smile

7

Re: server SPARC ?

hum ^^ I'll test with a x86 ^^


thanks tongue

8

Re: server SPARC ?

Dexter wrote:

now i have this error :

bash-3.00# ./make_unix.sh
Symbole                 première référence
 non défini                         dans le fichier
sched_yield                         /var/tmp//ccVtikJz.o
ld: fatal :  Erreurs dans le référencement des symboles. Aucun résultat n'a été écrit dans src/bam
collect2: ld a retourné 1 code d'état d'exécution

You solve this by linking with the library rt. This is done by adding "-lrt" to the last line in build_unix.sh:

gcc -Wall -ansi -pedantic src/lua/src/*.c src/lua/src/lib/*.c src/*.c -o src/bam -I src/lua/include/ -lm -lpthread -lrt $*

9

Re: server SPARC ?

Thanks tongue
I have now the bam, but i can't execute it. I have a "Bus error" :s

I'll see that latter ... ^^