PRX with no imports. doesn't work?

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
moonlight
Posts: 567
Joined: Wed Oct 26, 2005 7:46 pm

PRX with no imports. doesn't work?

Post by moonlight »

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

Code: Select all

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 ;)
TyRaNiD
Posts: 907
Joined: Sun Jan 18, 2004 12:23 am

Post by TyRaNiD »

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 ;)
Post Reply