This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to check stack value in JPCSPTrace ?
#4
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:
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.
Reply


Messages In This Thread
RE: How to check stack value in JPCSPTrace ? - by DragonNeos - 03-26-2015, 01:00 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)