Urban Terror Forums: Compile Error on Rasberry - Urban Terror Forums

Jump to content

 Login | Register 
Advertisement
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Compile Error on Rasberry Rate Topic: -----

#1 User is offline   bermas66 Icon

Posted 02 April 2022 - 03:18 PM

I am trying to setup a server. In order to do that I only need the Quake3-UrT-Ded executable for my PI4 (ARM based).

Anyway I have some issue in compiling it:

In file included from code/client/client.h:25,
from code/client/cl_ui.c:23:
code/client/cl_ui.c: In function ‘CL_UISystemCalls’:
code/client/../qcommon/qcommon.h:344:16: error: incompatible type for argument 4 of ‘vsnprintf’
#define VMA(x) VM_ArgPtr(args[x])
^~~~~~~~~~~~~~~~~~
code/client/cl_ui.c:1125:60: note: in expansion of macro ‘VMA’
return Q_vsnprintf( VMA(1), *((size_t *)VMA(2)), VMA(3), VMA(4));
^~~
In file included from code/client/../qcommon/q_shared.h:100,
from code/client/client.h:24,
from code/client/cl_ui.c:23:
/usr/include/stdio.h:359:57: note: expected ‘__gnuc_va_list’ {aka ‘__va_list’} but argument is of type ‘void *’
const char *__restrict __format, __gnuc_va_list __arg)
~~~~~~~~~~~~~~~^~~~~
make[2]: *** [Makefile:1736: build/release-linux-armv7l/client/cl_ui.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/home/pi/ioq3-for-UrbanTerror-4'
make[1]: *** [Makefile:1005: targets] Error 2
make[1]: Leaving directory '/home/pi/ioq3-for-UrbanTerror-4'
make: *** [Makefile:982: release] Error 2

I am using gcc-9.1

Please may you help me about that error? Everything else is compiling fine (I just had to modifiy the fpu_control.h include in code/unix/unix_main.c)

Thanks,
Massimo

This post has been edited by bermas66: 02 April 2022 - 03:18 PM

Loser, I killed you!

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

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