| View previous topic :: View next topic |
| Author |
Message |
Question_dev
Joined: 24 Aug 2007 Posts: 88
|
Posted: Wed Apr 23, 2008 5:57 am Post subject: Func. from kernel prx in user mode app |
|
|
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) |
|
| Back to top |
|
 |
Question_dev
Joined: 24 Aug 2007 Posts: 88
|
Posted: Wed Apr 23, 2008 9:19 pm Post subject: |
|
|
| anyone? |
|
| Back to top |
|
 |
sakya
Joined: 28 Apr 2006 Posts: 190
|
|
| Back to top |
|
 |
Question_dev
Joined: 24 Aug 2007 Posts: 88
|
Posted: Wed Apr 23, 2008 10:23 pm Post subject: |
|
|
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! |
|
| Back to top |
|
 |
Question_dev
Joined: 24 Aug 2007 Posts: 88
|
Posted: Thu Apr 24, 2008 2:40 am Post subject: |
|
|
Hi,
I added it, but i get an error: unsupported prx type
What can i do ? |
|
| Back to top |
|
 |
sakya
Joined: 28 Apr 2006 Posts: 190
|
Posted: Thu Apr 24, 2008 3:39 am Post subject: |
|
|
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 |
|
| Back to top |
|
 |
Pirata Nervo
Joined: 09 Oct 2007 Posts: 409
|
Posted: Thu Apr 24, 2008 5:03 am Post subject: |
|
|
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 _________________
Upgrade your PSP |
|
| Back to top |
|
 |
Question_dev
Joined: 24 Aug 2007 Posts: 88
|
Posted: Thu Apr 24, 2008 5:36 am Post subject: |
|
|
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. |
|
| Back to top |
|
 |
|