psp-gcc -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -c -o main.o main.c
main.c: In function 'dump_threadstatus':
main.c:55: error: 'ThreadStatus' undeclared (first use in this function)
main.c:55: error: (Each undeclared identifier is reported only once
main.c:55: error: for each function it appears in.)
main.c:55: error: parse error before 'status'
main.c:59: error: 'status' undeclared (first use in this function)
main.c: In function 'main':
main.c:93: error: 'g_elf_name' undeclared (first use in this function)
make: *** [main.o] Error 1
I get that when I try to make the sdktest code. I am using the 07/05/2005 toolchain and the latest SDK. Any ideas? I am using Cygwin.
Sdktest is no longer in the samples (in the SVN repository that is). Those errors were fixed up and the sdktest example is now actually the threadstatus example.
The sdk is currently getting a type overhaul to make it more consistent (and correct) so using the svn version you might see things break, that is the way of things unfortunately.
Fair comment, PSPSDK is under fervent development at the moment.
But where does one discover what happened to 'g_elf_name' for instance?
Am I being dense?