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 

PRX with no imports. doesn't work?

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



Joined: 26 Oct 2005
Posts: 567

PostPosted: Tue Jun 27, 2006 4:37 am    Post subject: PRX with no imports. doesn't work? Reply with quote

I've tried to compile a prx that has 0 imports, and this was the result:

Code:

psp-fixup-imports test.elf
Error, no .lib.stub section found


Is this a bug in the pspsdk or does the prx format force to use at least one import?

I know, it's not a big deal, i have just solved the problem by forcing an import that i won't use, but anyways, just to report it if this issue were not known ;)
Back to top
View user's profile Send private message
TyRaNiD



Joined: 18 Jan 2004
Posts: 918

PostPosted: Tue Jul 04, 2006 2:51 am    Post subject: Reply with quote

That is a bug in pspsdk (if you can call it that ;P) I took the view that an elf with no imports was probably a bad elf as you cant do that much without imports but I suppose that isn't strictly true as you could just have a kernel patcher. I might fix it ;)
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