Urban Terror Forums: compile fails - Urban Terror Forums

Jump to content

 Login | Register 
Advertisement
Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

compile fails Rate Topic: -----

#1 User is offline   haggis Icon

  • Account: haggis
  • Joined: 01-April 12
  • Posts: 4

Posted 01 April 2012 - 06:56 AM

Hello,
I can't get UrT running on my 64bit Mint system. So I want to try recompiling the source myself. However, I'm stuck at this point:


haggis@haggis-lap ~/Downloads/ioUrbanTerrorClientSource $ make
...
make -C code/tools/asm install
make[2]: Entering directory `/home/haggis/Downloads/ioUrbanTerrorClientSource/code/tools/asm'
gcc -O2 -Wall -Werror -fno-strict-aliasing -o q3asm q3asm.c cmdlib.c
q3asm.c: In function ‘TryAssembleENDPROC’:
q3asm.c:958:10: error: variable ‘v2’ set but not used [-Werror=unused-but-set-variable]
q3asm.c:958:7: error: variable ‘v’ set but not used [-Werror=unused-but-set-variable]
cc1: all warnings being treated as errors

cmdlib.c: In function ‘_printf’:
cmdlib.c:188:3: error: format not a string literal and no format arguments [-Werror=format-security]
cmdlib.c: In function ‘Q_getwd’:
cmdlib.c:402:11: error: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result [-Werror=unused-result]
cc1: all warnings being treated as errors

make[2]: *** [q3asm] Error 1
make[2]: Leaving directory `/home/haggis/Downloads/ioUrbanTerrorClientSource/code/tools/asm'
make[1]: *** [tools] Error 2
make[1]: Leaving directory `/home/haggis/Downloads/ioUrbanTerrorClientSource'
make: *** [release] Error 2



Any ideas?

Regards, haggis

This post has been edited by haggis: 01 April 2012 - 06:57 AM



#3 User is offline   haggis Icon

  • Account: haggis
  • Joined: 01-April 12
  • Posts: 4

Posted 01 April 2012 - 02:38 PM

Thank you Barbatos!

Line 204 is now:
BASE_CFLAGS = -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes -pipe -DC_ONLY


But still same errors. How can I deactivate -Werror flag? Can't find that string in makefile.

haggis


#5 User is offline   haggis Icon

  • Account: haggis
  • Joined: 01-April 12
  • Posts: 4

Posted 01 April 2012 - 05:17 PM

Thank you! Build successfull!

But sadly I still get no Menu, only "stdin is not a tty, tty console mode failed". And www0.org build isn't available any more :(


edit: this helped, yeha!!
http://www.urbanterr...777#entry325777

This post has been edited by haggis: 01 April 2012 - 05:23 PM


bullet_loaderAdvertisement

#6 User is offline   freggell Icon

  • Account: freggell
  • Country:
  • Joined: 23-March 10
  • Posts: 23

Posted 02 April 2012 - 07:50 AM

View Posthaggis, on 01 April 2012 - 05:17 PM, said:

Thank you! Build successfull!

But sadly I still get no Menu, only "stdin is not a tty, tty console mode failed". And www0.org build isn't available any more :(


edit: this helped, yeha!!
http://www.urbanterr...777#entry325777



The www0.org build is still available. But has been moved to urbanzone.
http://urban-zone.or...=Downloads&c=20

should be in the list.

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users

Advertisement


Copyright © 1999-2024 Frozensand Games Limited  |  All rights reserved  |  Urban Terror™ and FrozenSand™ are trademarks of Frozensand Games Limited

Frozensand Games is a Limited company registered in England and Wales. Company Reg No: 10343942