Func. from kernel prx in user mode app

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

Moderators: cheriff, TyRaNiD

Post Reply
Question_dev
Posts: 88
Joined: Fri Aug 24, 2007 8:23 pm

Func. from kernel prx in user mode app

Post by Question_dev »

Hi,

I got some problems on execute an eboot in user mode.

I created a kernel prx with the Call_PBP function.

But i don't know how to import my function in my user mode app.

I tried something but i get : undefined reference. . .

Can someone help me how to import it?

tnx in advance
(i already searched around here)
Question_dev
Posts: 88
Joined: Fri Aug 24, 2007 8:23 pm

Post by Question_dev »

anyone?
sakya
Posts: 190
Joined: Fri Apr 28, 2006 5:48 pm
Contact:

Post by sakya »

Question_dev
Posts: 88
Joined: Fri Aug 24, 2007 8:23 pm

Post by Question_dev »

tnx sakya!

I have read J.F's post and i understand it now.

(there was a problem with a missing .s file, etc)

tnx again sakya!
Question_dev
Posts: 88
Joined: Fri Aug 24, 2007 8:23 pm

Post by Question_dev »

Hi,

I added it, but i get an error: unsupported prx type


What can i do ?
sakya
Posts: 190
Joined: Fri Apr 28, 2006 5:48 pm
Contact:

Post by sakya »

Hi! :)
Question_dev wrote:I added it, but i get an error: unsupported prx type
What can i do ?
I don't know, post your code.

Give to look at this code, it's a simple program with a kernel prx:
http://www.sakya.it/downloads/testPer371.rar

Ciaooo
Sakya
Pirata Nervo
Posts: 409
Joined: Tue Oct 09, 2007 4:22 am

Post by Pirata Nervo »

That happens beccause you have an elf file instead of prx, but it only gives that error if you are not running in user mode.

add this to your makefile:
BUILD_PRX = 1
or make sure you use User mode and then you dont need to build the prx
Image
Upgrade your PSP
Question_dev
Posts: 88
Joined: Fri Aug 24, 2007 8:23 pm

Post by Question_dev »

i have build_prx in my makefile and i'm running in user mode.

Any other solutions?

- the function in my prx is to execute a pbp.
Post Reply