Tremulous Forum

General => Troubleshooting => Topic started by: Kiwi on December 05, 2009, 07:54:35 pm

Title: Compiling Trem
Post by: Kiwi on December 05, 2009, 07:54:35 pm
Hey guys,
I just downloaded the latest svn for trem on my ubuntu server.  I applied some patches, and then compiled it with "make".  Everything went fine, and I got a tremulous.x86 and tremed.x86 out of it.  I tryed to run tremulous.x86 on my ubuntu box, but I get a segmentation fault.  Is this just due to a bad svm/patch, or did I compile/patch something incorrectly.  I was also wondering, can I run tremulous.x86 on my mac.  When I try ./tremulous.x86 from the mac terminal, it tells me that it can't run binaries. (Osx V 10.5.8 )

Thanks,
Kiwi
Title: Re: Compiling Trem
Post by: David on December 05, 2009, 10:16:29 pm
Compile clean SVN and get it working, then do the patches.
Title: Re: Compiling Trem
Post by: Kiwi on December 06, 2009, 03:25:54 pm
I still got a compiling error, on the clean revision of 966.
Here's the errors it gave me:
Code: [Select]
install -s -m 0755 build-linux-x86/q3lcc ../
install -s -m 0755 build-linux-x86/q3cpp ../
install -s -m 0755 build-linux-x86/q3rcc ../
make[2]: Leaving directory `/home/administrator/TremSourceGuid966/tremulous-svn/src/tools/lcc'
make -C src/tools/asm install
make[2]: Entering directory `/home/administrator/TremSourceGuid966/tremulous-svn/src/tools/asm'
gcc -O2 -Wall -Werror -fno-strict-aliasing -o q3asm q3asm.c cmdlib.c
cc1: warnings being treated as errors
cmdlib.c: In function ‘_printf’:
cmdlib.c:189: error: format not a string literal and no format arguments
cmdlib.c: In function ‘Q_getwd’:
cmdlib.c:403: error: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result
make[2]: *** [q3asm] Error 1
make[2]: Leaving directory `/home/administrator/TremSourceGuid966/tremulous-svn/src/tools/asm'
make[1]: *** [tools] Error 2
make[1]: Leaving directory `/home/administrator/TremSourceGuid966/tremulous-svn'
make: *** [release] Error 2