forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

SDKTest and the latest toolchain

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
Shapyi



Joined: 25 Apr 2005
Posts: 95

PostPosted: Sat Jul 09, 2005 11:30 am    Post subject: SDKTest and the latest toolchain Reply with quote

Code:
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.
Back to top
View user's profile Send private message
Jim



Joined: 02 Jul 2005
Posts: 487
Location: Sydney

PostPosted: Sun Jul 10, 2005 10:01 am    Post subject: Reply with quote

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
_________________
http://www.dbfinteractive.com
Back to top
View user's profile Send private message Visit poster's website
TyRaNiD



Joined: 18 Jan 2004
Posts: 918

PostPosted: Sun Jul 10, 2005 10:14 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Jim



Joined: 02 Jul 2005
Posts: 487
Location: Sydney

PostPosted: Tue Jul 12, 2005 12:07 am    Post subject: Reply with quote

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
_________________
http://www.dbfinteractive.com
Back to top
View user's profile Send private message Visit poster's website
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Tue Jul 12, 2005 12:21 am    Post subject: Reply with quote

Join some of the development lists:

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

Then you can see the changes as they happen.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group