Quantcast
Channel: Ubuntu Forums - Apple Hardware Users
Viewing all articles
Browse latest Browse all 2868

compiling urban terror on ppc

$
0
0
i recently revived a PowerMAC G5 that didnt have a hard drive so i installed Lubuntu 14.04.1 ppc on a new harddrive.
well i love urban terror and want to get it runing on this machine. i downloaded the source for iourbanterror source and extractd it a folder and when running the "sudo make" command i get some errors. i dont know what to do from here. any tips on where to go would be great.
[sudo] password for bobby:
make[1]: Entering directory `/home/bobby/UrbanTerror/source/ioUrbanTerrorClientSource'
make -C code/tools/lcc install
make[2]: Entering directory `/home/bobby/UrbanTerror/source/ioUrbanTerrorClientSource/code/tools/lcc'
install -s -m 0755 build-linux-ppc64/q3lcc ../
install -s -m 0755 build-linux-ppc64/q3cpp ../
install -s -m 0755 build-linux-ppc64/q3rcc ../
make[2]: Leaving directory `/home/bobby/UrbanTerror/source/ioUrbanTerrorClientSource/code/tools/lcc'
make -C code/tools/asm install
make[2]: Entering directory `/home/bobby/UrbanTerror/source/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]
int v, v2;
^
q3asm.c:958:7: error: variable ‘v’ set but not used [-Werror=unused-but-set-variable]
int v, v2;
^
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]
printf(text);
^
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]
getcwd (out, 256);
^
cc1: all warnings being treated as errors
make[2]: *** [q3asm] Error 1
make[2]: Leaving directory `/home/bobby/UrbanTerror/source/ioUrbanTerrorClientSource/code/tools/asm'
make[1]: *** [tools] Error 2
make[1]: Leaving directory `/home/bobby/UrbanTerror/source/ioUrbanTerrorClientSource'
make: *** [release] Error 2

Viewing all articles
Browse latest Browse all 2868

Trending Articles