Author Topic: Compiling Trem  (Read 1817 times)

Kiwi

  • Posts: 859
  • Turrets: +29/-9
Compiling Trem
« 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

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: Compiling Trem
« Reply #1 on: December 05, 2009, 10:16:29 pm »
Compile clean SVN and get it working, then do the patches.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

Kiwi

  • Posts: 859
  • Turrets: +29/-9
Re: Compiling Trem
« Reply #2 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