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 

[SOLVED]pspstub.s, where i can find it file?

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



Joined: 21 Feb 2008
Posts: 386

PostPosted: Sat Mar 22, 2008 7:19 am    Post subject: [SOLVED]pspstub.s, where i can find it file? Reply with quote

I try to compile the Psar Dumper source, but the compiler don't find the pspstub.s file, and this file is not included in the source code, where I can find it?

Last edited by ne0h on Sat Mar 22, 2008 10:32 pm; edited 1 time in total
Back to top
View user's profile Send private message
KickinAezz



Joined: 03 Jun 2007
Posts: 328

PostPosted: Sat Mar 22, 2008 7:27 am    Post subject: Reply with quote

Something wrong with your compiler/toolchain
_________________
Intrigued by PSP system Since December 2006.
Use it more for Development than for Gaming.
Back to top
View user's profile Send private message
ne0h



Joined: 21 Feb 2008
Posts: 386

PostPosted: Sat Mar 22, 2008 7:42 am    Post subject: Reply with quote

??? I've the Heimdall win32 tollchain v.0.4

but, in the pspPSAR.s file there is this code:

#include "pspstub.s"

and this file there isn't in the source code, and i haven't find this file in my computer! many times ago i remember have this file but i've delete this file!
Can anyone upload this file or give me a link?
Back to top
View user's profile Send private message
KickinAezz



Joined: 03 Jun 2007
Posts: 328

PostPosted: Sat Mar 22, 2008 8:15 am    Post subject: Reply with quote

ne0h wrote:
??? I've the Heimdall win32 tollchain v.0.4

but, in the pspPSAR.s file there is this code:

#include "pspstub.s"

and this file there isn't in the source code, and i haven't find this file in my computer! many times ago i remember have this file but i've delete this file!
Can anyone upload this file or give me a link?


Reinstall 0.61, the latest version
_________________
Intrigued by PSP system Since December 2006.
Use it more for Development than for Gaming.
Back to top
View user's profile Send private message
hlide



Joined: 10 Sep 2006
Posts: 750

PostPosted: Sat Mar 22, 2008 8:23 am    Post subject: Reply with quote

again, this file is part of PSPSDK and not for the project you're trying to compile. So there is no reason you may find this file in your project.

The reason why your .S file cannot see pspstub.h is because of being not processed, #include is seen as a comment ("#" is like "//" for comment in .s file), so macros are not defined and you end with some errors. Once you use "-c -x assembler-with-cpp", this #include would be processed and would find this pspstub.h somewhere in a directory of pspsdk (exactly like an #include "stdio.h" in a .c file) and would define those missing macros and then your .S file would be successfully assembled.

Is that so difficult to understand ?

EDIT: so you deleted this file from PSPSDK !? why on earth did you need to do so ? it really makes no sense, seriously.
Back to top
View user's profile Send private message
jean



Joined: 05 Jan 2008
Posts: 489

PostPosted: Sat Mar 22, 2008 10:45 am    Post subject: Reply with quote

I begin to think that things we are answering are quite overkill: it makes no sense to speak about preprocessing, stubs, multiple modules, sdk versions etc.. etc... if it ends up that files are missing.........WHY on earth someone who cannot handle such things would mess up with a PSAR dumper?? If you end up with some homebrew, let me know...it will NEVER touch my PSP. I answered my best (hope i've not said too many bullshits :) ) ON FIVE OR SIX DIFFERENT TOPICS about the same problem that changes error messages and context every time!!!!! Personally i'm getting tired.
Back to top
View user's profile Send private message
ne0h



Joined: 21 Feb 2008
Posts: 386

PostPosted: Sat Mar 22, 2008 10:31 pm    Post subject: Reply with quote

I've reinstall the toolchain and i've find the file, tanks at all!
Back to top
View user's profile Send private message
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