| View previous topic :: View next topic |
| Author |
Message |
adrahil
Joined: 16 Mar 2006 Posts: 277
|
Posted: Mon Oct 22, 2007 8:26 am Post subject: PSPSDK refuses to compile... |
|
|
Hi all!
Just dropping by to tell you about a curiosity :) PSPSDK fails to compile SCE-function-less modules. If I don't call ANY SCE functions, it refuses to link, because .lib.stub can't be found... Just found it kind of fun ;) |
|
| Back to top |
|
 |
moonlight
Joined: 26 Oct 2005 Posts: 567
|
Posted: Mon Oct 22, 2007 10:28 am Post subject: |
|
|
adrahil, press a second time make, and the resulting module will work, don't worry.
I already mentioned it to tyranid long ago, but anyways as the problem is gone pressing make again, it is not that big of a problem. |
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Mon Oct 22, 2007 11:11 am Post subject: |
|
|
| Just curious - what do you DO with something that makes NO CALLS to the sony interface on a PSP?? You can't mess with files, you can't display anything, you can't read the inputs... I take it this is something that runs strictly in psplink, inputs nothing and counts on the psplink prints for output. |
|
| Back to top |
|
 |
adrahil
Joined: 16 Mar 2006 Posts: 277
|
Posted: Mon Oct 22, 2007 2:44 pm Post subject: |
|
|
| You can mess with the hardware, use EDRAM for display, ... :) There ARE possibilities... |
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Mon Oct 22, 2007 3:01 pm Post subject: |
|
|
| I see - you're banging on the hardware directly. Gotcha. |
|
| Back to top |
|
 |
adrahil
Joined: 16 Mar 2006 Posts: 277
|
Posted: Mon Oct 22, 2007 3:06 pm Post subject: |
|
|
:)
moonlight:
You're right, I didn't see it... I generally try to *solve* my compiler warnings or errors...
| Code: | psp-gcc -I/usr/local/pspdev/psp/sdk/include/libc -Ipsp -Iisa -Ipsx -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -D_PSP_FW_VERSION=150 -L. -L/usr/local/pspdev/psp/sdk/lib -specs=/usr/local/pspdev/psp/sdk/lib/prxspecs -Wl,-q,-T/usr/local/pspdev/psp/sdk/lib/linkfile.prx -mno-crt0 -nostartfiles main.o /usr/local/pspdev/psp/sdk/lib/prxexports.o -lpspdebug -lpspdisplay_driver -lpspctrl_driver -lpspsdk -lpspkernel -o template.elf
psp-fixup-imports template.elf
Error, no .lib.stub section found
make: *** [template.elf] Erreur 1
adrahil@Rakuen:~/psx$ make -f Makefile.psp
psp-prxgen template.elf template.prx
adrahil@Rakuen:~/psx$
|
|
|
| Back to top |
|
 |
hlide
Joined: 10 Sep 2006 Posts: 750
|
Posted: Mon Oct 22, 2007 9:13 pm Post subject: |
|
|
| adrahil, don't forget to commit in the SVN ;P |
|
| Back to top |
|
 |
|