Tried to build the last state.
Nothing has changed, VitaSDK is the current version.
-- Configuring done
-- Generating done
-- Build files have been written to: /home/thesame/vita/crazytaxi_vita/build
/home/thesame/vita/crazytaxi_vita/loader/main.c:120: warning: "CLOCK_MONOTONIC" redefined
120 | #define CLOCK_MONOTONIC 0
|
In file included from /usr/local/vitasdk/arm-vita-eabi/include/psp2/rtc.h:11,
from /home/thesame/vita/crazytaxi_vita/loader/main.c:19:
/usr/local/vitasdk/arm-vita-eabi/include/time.h:273: note: this is the location of the previous definition
273 | #define CLOCK_MONOTONIC ((clockid_t) 4)
|
/home/thesame/vita/crazytaxi_vita/loader/main.c:121:5: error: conflicting types for 'clock_gettime'
121 | int clock_gettime(int clk_id, struct timespec *tp) {
| ^~~~~~~~~~~~~
In file included from /usr/local/vitasdk/arm-vita-eabi/include/psp2/rtc.h:11,
from /home/thesame/vita/crazytaxi_vita/loader/main.c:19:
/usr/local/vitasdk/arm-vita-eabi/include/time.h:167:5: note: previous declaration of 'clock_gettime' was here
167 | int clock_gettime (clockid_t clock_id, struct timespec *tp);
| ^~~~~~~~~~~~~
/home/thesame/vita/crazytaxi_vita/loader/main.c: In function 'MendReplaceTex':
/home/thesame/vita/crazytaxi_vita/loader/main.c:317:13: warning: initialization of 'int' from 'int *' makes integer from pointer without a cast [-Wint-conversion]
317 | int NLS = (int *)(crazytaxi_mod.text_base + 0x0081B15C);
| ^
/home/thesame/vita/crazytaxi_vita/loader/main.c: In function 'MendChangeZBias':
/home/thesame/vita/crazytaxi_vita/loader/main.c:750:28: warning: '<<' in boolean context, did you mean '<'? [-Wint-in-bool-context]
750 | if ( !(s_uSaxA << 31) )
| ~~~~~~~~~^~~~~~
/home/thesame/vita/crazytaxi_vita/loader/main.c: In function 'Chat_TellDestination':
/home/thesame/vita/crazytaxi_vita/loader/main.c:982:24: warning: passing argument 1 of 'Voice_Request' makes integer from pointer without a cast [-Wint-conversion]
982 | return Voice_Request(voice_out, 2, 127);
| ^~~~~~~~~
| |
| int *
/home/thesame/vita/crazytaxi_vita/loader/main.c:982:24: note: expected 'int' but argument is of type 'int *'
/home/thesame/vita/crazytaxi_vita/loader/main.c: At top level:
/home/thesame/vita/crazytaxi_vita/loader/main.c:1086:14: warning: built-in function '__memcpy_chk' declared as non-function [-Wbuiltin-declaration-mismatch]
1086 | extern void *__memcpy_chk;
| ^~~~~~~~~~~~
/home/thesame/vita/crazytaxi_vita/loader/main.c:1087:14: warning: built-in function '__memmove_chk' declared as non-function [-Wbuiltin-declaration-mismatch]
1087 | extern void *__memmove_chk;
| ^~~~~~~~~~~~~
/home/thesame/vita/crazytaxi_vita/loader/main.c:1089:14: warning: built-in function '__strcat_chk' declared as non-function [-Wbuiltin-declaration-mismatch]
1089 | extern void *__strcat_chk;
| ^~~~~~~~~~~~
/home/thesame/vita/crazytaxi_vita/loader/main.c:1091:14: warning: built-in function '__strcpy_chk' declared as non-function [-Wbuiltin-declaration-mismatch]
1091 | extern void *__strcpy_chk;
| ^~~~~~~~~~~~
/home/thesame/vita/crazytaxi_vita/loader/main.c:1094:14: warning: built-in function '__vsnprintf_chk' declared as non-function [-Wbuiltin-declaration-mismatch]
1094 | extern void *__vsnprintf_chk;
| ^~~~~~~~~~~~~~~
/home/thesame/vita/crazytaxi_vita/loader/main.c:1095:14: warning: built-in function '__vsprintf_chk' declared as non-function [-Wbuiltin-declaration-mismatch]
1095 | extern void *__vsprintf_chk;
| ^~~~~~~~~~~~~~
/home/thesame/vita/crazytaxi_vita/loader/main.c: In function 'file_exists':
/home/thesame/vita/crazytaxi_vita/loader/main.c:1581:10: warning: implicit declaration of function 'sceIoGetstat' [-Wimplicit-function-declaration]
1581 | return sceIoGetstat(path, &stat) >= 0;
| ^~~~~~~~~~~~
make[2]: *** [CMakeFiles/CRAZYTAXI.elf.dir/build.make:63: CMakeFiles/CRAZYTAXI.elf.dir/loader/main.c.obj] Error 1
make[1]: *** [CMakeFiles/Makefile2:162: CMakeFiles/CRAZYTAXI.elf.dir/all] Error 2
make: *** [Makefile:84: all] Error 2
Why do you even want to compile it from file if you can't resolve a simple symbol clash? Just move to simpler projects, you clearly don't have the required skillset to contribute.
Tried to build the last state. Nothing has changed, VitaSDK is the current version.