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 

PSPSDK refuses to compile...

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



Joined: 16 Mar 2006
Posts: 277

PostPosted: Mon Oct 22, 2007 8:26 am    Post subject: PSPSDK refuses to compile... Reply with quote

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
View user's profile Send private message
moonlight



Joined: 26 Oct 2005
Posts: 567

PostPosted: Mon Oct 22, 2007 10:28 am    Post subject: Reply with quote

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
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Mon Oct 22, 2007 11:11 am    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
adrahil



Joined: 16 Mar 2006
Posts: 277

PostPosted: Mon Oct 22, 2007 2:44 pm    Post subject: Reply with quote

You can mess with the hardware, use EDRAM for display, ... :) There ARE possibilities...
Back to top
View user's profile Send private message
J.F.



Joined: 22 Feb 2004
Posts: 2906

PostPosted: Mon Oct 22, 2007 3:01 pm    Post subject: Reply with quote

I see - you're banging on the hardware directly. Gotcha.
Back to top
View user's profile Send private message AIM Address
adrahil



Joined: 16 Mar 2006
Posts: 277

PostPosted: Mon Oct 22, 2007 3:06 pm    Post subject: Reply with quote

:)
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
View user's profile Send private message
hlide



Joined: 10 Sep 2006
Posts: 750

PostPosted: Mon Oct 22, 2007 9:13 pm    Post subject: Reply with quote

adrahil, don't forget to commit in the SVN ;P
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