SDKTest and the latest toolchain

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
Shapyi
Posts: 95
Joined: Mon Apr 25, 2005 9:31 am

SDKTest and the latest toolchain

Post by Shapyi »

Code: Select all

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.
User avatar
Jim
Posts: 476
Joined: Sat Jul 02, 2005 10:06 pm
Location: Sydney
Contact:

Post by Jim »

I got that too. I reverted back to the 1.0 beta .zip distro. Perhaps the svn is inconsistent right now (or 24 hours ago)?

Jim
TyRaNiD
Posts: 907
Joined: Sun Jan 18, 2004 12:23 am

Post by TyRaNiD »

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.
User avatar
Jim
Posts: 476
Joined: Sat Jul 02, 2005 10:06 pm
Location: Sydney
Contact:

Post by Jim »

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?

Jim
ooPo
Site Admin
Posts: 2023
Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:

Post by ooPo »

Join some of the development lists:

http://lists.ps2dev.org/mailman/listinfo

Then you can see the changes as they happen.
Post Reply