| View previous topic :: View next topic |
| Author |
Message |
ne0h
Joined: 21 Feb 2008 Posts: 386
|
Posted: Wed Mar 19, 2008 6:43 am Post subject: [SOLVED]pspPSAR.o error |
|
|
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 |
|
 |
KickinAezz
Joined: 03 Jun 2007 Posts: 328
|
Posted: Wed Mar 19, 2008 12:47 pm Post subject: |
|
|
Switch to Cygwin PspToolchain for meanwhile. _________________ Intrigued by PSP system Since December 2006.
Use it more for Development than for Gaming. |
|
| Back to top |
|
 |
jean

Joined: 05 Jan 2008 Posts: 489
|
Posted: Wed Mar 19, 2008 7:14 pm Post subject: |
|
|
| 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 |
|
 |
ne0h
Joined: 21 Feb 2008 Posts: 386
|
Posted: Thu Mar 20, 2008 5:28 am Post subject: |
|
|
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 |
|
 |
jimparis
Joined: 10 Jun 2005 Posts: 1179 Location: Boston
|
Posted: Thu Mar 20, 2008 6:11 am Post subject: |
|
|
| 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 |
|
 |
ne0h
Joined: 21 Feb 2008 Posts: 386
|
Posted: Thu Mar 20, 2008 6:47 am Post subject: |
|
|
| I've change the extension but the error isn't changed! |
|
| Back to top |
|
 |
ne0h
Joined: 21 Feb 2008 Posts: 386
|
Posted: Thu Mar 20, 2008 6:48 am Post subject: |
|
|
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 |
|
 |
|