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]pspPSAR.o error

 
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: Wed Mar 19, 2008 6:43 am    Post subject: [SOLVED]pspPSAR.o error Reply with quote

I try yet to compile the source of RPsar Dumper, but the compiler give me an error:

Assembler messages:
unrecognized opcode `stub_start "pspPSAR",0x40090000,0x00020005'
unrecognized opcode `stub_func 0x56C924E1,pspPSARInit'
unrecognized opcode `stub_func 0x9C91DD9D,pspPSARGetNextFile'
unrecognized opcode `stub_end'

How to resolve?


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: Wed Mar 19, 2008 12:47 pm    Post subject: Reply with quote

Switch to Cygwin PspToolchain for meanwhile.
_________________
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
jean



Joined: 05 Jan 2008
Posts: 489

PostPosted: Wed Mar 19, 2008 7:14 pm    Post subject: Reply with quote

This is the message you get sometimes when you build your project issuing the "make" command without cleaning the project first either with command "make clean" or deleting by hand all *.o *.prx *.elf *.pbp and the newly generated *.s files. I don't want to always play the part of the boogeyman, so i'll try to say it nice: i once had the same problems and i resolved them all by myself...if people get fed of answering your question now that they are simple, what you'll be doing once the game gets harder? Play with your code a couple of days before asking! Believe me, i'm not against noobs and i don't mean to be unkind...just an advice 'cause i've seen someone getting nervous ;)
Back to top
View user's profile Send private message
ne0h



Joined: 21 Feb 2008
Posts: 386

PostPosted: Thu Mar 20, 2008 5:28 am    Post subject: Reply with quote

I've try somany times, and this error will never change!
Here is the code:

Code:

    .set noreorder
   
#include "pspstub.s"

   STUB_START "pspPSAR",0x40090000,0x00020005
   STUB_FUNC  0x56C924E1,pspPSARInit
   STUB_FUNC  0x9C91DD9D,pspPSARGetNextFile
   STUB_END

Back to top
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Thu Mar 20, 2008 6:11 am    Post subject: Reply with quote

Your code is not being preprocessed, most likely because you gave it a .s extension instead of .S (search the forums, this problem has been discussed recently and many times before)
Back to top
View user's profile Send private message
ne0h



Joined: 21 Feb 2008
Posts: 386

PostPosted: Thu Mar 20, 2008 6:47 am    Post subject: Reply with quote

I've change the extension but the error isn't changed!
Back to top
View user's profile Send private message
ne0h



Joined: 21 Feb 2008
Posts: 386

PostPosted: Thu Mar 20, 2008 6:48 am    Post subject: Reply with quote

I've change the extension but the error isn't changed!
I've searched but i haven't find a solution!

I try to compile another project with a .S file to compile, and the compiler give me te same error!

I think I have a corrupted or incorrect stub.s file, i have the Heimdall SDK!
Is not integrated whit it?
Please, can anyone send me the needed file for "compile" the .S file?
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