03-26-2015, 01:00 AM
(This post was last modified: 09-21-2015, 09:45 PM by DragonNeos.)
What are the required files and programs needed to be able to compile JpcspTrace? Based on the Makefile, I assume we would need the following programs installed:
- GNU Make
- PSPSDK
- ProCFW
What would be the required command to type in the Command Prompt? I ended up getting this:
GNU Make seems to be very prone to freezing at the Command Prompt and requires multiple use of the same command in order to completely compile the files.
- GNU Make
- PSPSDK
- ProCFW
What would be the required command to type in the Command Prompt? I ended up getting this:
Code:
C:\...>make JpcspTrace.prx
psp-gcc -IC:/pspsdk/psp/sdk/include/libc -I../../../procfw/include -I. -IC:/psps
dk/psp/sdk/include -Os -G0 -Wall -fno-pic -fno-inline -D_PSP_FW_VERSION=150 -c
-o main.o main.c
main.c:25:24: error: systemctrl.h: No such file or directory
main.c:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nextS
tartModuleHandler'
main.c: In function 'patchSyscall':
main.c:361: warning: implicit declaration of function 'sctrlHENFindFunction'
main.c: At top level:
main.c:535: error: expected ')' before '*' token
main.c: In function 'module_start':
main.c:785: error: 'nextStartModuleHandler' undeclared (first use in this functi
on)
main.c:785: error: (Each undeclared identifier is reported only once
main.c:785: error: for each function it appears in.)
main.c:785: warning: implicit declaration of function 'sctrlHENSetStartModuleHan
dler'
main.c:785: error: 'startModuleHandler' undeclared (first use in this function)
make: *** [main.o] Error 1
Code:
C:\...>make JpcspTraceUser.prx
psp-gcc -I. -I/include -Os -G0 -Wall -fno-pic -fno-inline -D_PSP_FW_VERSION=150
-L. -LC:/pspsdk/psp/sdk/lib -specs=C:/pspsdk/psp/sdk/lib/prxspecs -Wl,-q,-TC:/p
spsdk/psp/sdk/lib/linkfile.prx -mno-crt0 -nostartfiles user.o exports.o ../comm
on.o -lpsprtc -lpsputility -lpspdebug -lpspdisplay -lpspge -lpspctrl -lpspsdk -l
c -lpspnet -lpspnet_inet -lpspnet_apctl -lpspnet_resolver -lpsputility -lpspuser
-lpspkernel -o JpcspTraceUser.elf
psp-fixup-imports JpcspTraceUser.elf
psp-prxgen JpcspTraceUser.elf JpcspTraceUser.prx
GNU Make seems to be very prone to freezing at the Command Prompt and requires multiple use of the same command in order to completely compile the files.