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 

Compile for psp from linux
Goto page Previous  1, 2
 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
keit.c



Joined: 16 Aug 2006
Posts: 21

PostPosted: Sun Sep 10, 2006 1:25 pm    Post subject: Reply with quote

thanks for the answers and your interest:
Here what I have made:
Code:

saw@ubuntu:~$ cd /usr/local/pspdev/psp/sdk/samples/debug$
saw@ubuntu:/usr/local/pspdev/psp/sdk/samples/debug$ export  PATH="/usr/local/psp dev/bin:$PATH"
saw@ubuntu:/usr/local/pspdev/psp/sdk/samples/debug$ sudo make kxploit
Password:
make: *** No rule to make target `kxploit'.  Stop.
saw@ubuntu:/usr/local/pspdev/psp/sdk/samples/debug$

What mistake?

ty
_________________
www.big-bug.net
Back to top
View user's profile Send private message Visit poster's website
keit.c



Joined: 16 Aug 2006
Posts: 21

PostPosted: Wed Sep 13, 2006 10:39 pm    Post subject: Reply with quote

Help Me,,
Ty
_________________
www.big-bug.net
Back to top
View user's profile Send private message Visit poster's website
__count



Joined: 23 Mar 2006
Posts: 22

PostPosted: Thu Sep 14, 2006 1:24 am    Post subject: Reply with quote

Did you install the PSP toolchain and have you run toolchain.sh?
Back to top
View user's profile Send private message
keit.c



Joined: 16 Aug 2006
Posts: 21

PostPosted: Thu Sep 14, 2006 4:38 am    Post subject: Reply with quote

yy
_________________
www.big-bug.net
Back to top
View user's profile Send private message Visit poster's website
Wally



Joined: 26 Sep 2005
Posts: 672

PostPosted: Thu Sep 14, 2006 9:37 am    Post subject: Reply with quote

kxploit isnt installed mate..

you have to find it ( i havent got it)
Back to top
View user's profile Send private message AIM Address
keit.c



Joined: 16 Aug 2006
Posts: 21

PostPosted: Fri Sep 15, 2006 7:24 am    Post subject: Reply with quote

Wally4000 wrote:
kxploit isnt installed mate..

you have to find it ( i havent got it)

where i find??
_________________
www.big-bug.net
Back to top
View user's profile Send private message Visit poster's website
keit.c



Joined: 16 Aug 2006
Posts: 21

PostPosted: Fri Sep 22, 2006 12:04 am    Post subject: Reply with quote

help Me!
please...
_________________
www.big-bug.net
Back to top
View user's profile Send private message Visit poster's website
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Fri Sep 22, 2006 3:28 am    Post subject: Reply with quote

The pspsdk doesn't need any extra programs installed for "make kxploit" to work. The reason for your original problem is probably because there's nothing in "/usr/local/pspdev/psp/sdk/samples/debug" to actually build -- it's just subdirectories in there. Try building the sio sample instead:
Code:

cd /usr/local/pspdev/psp/sdk/samples/debug/sio
export PATH="/usr/local/pspdev/bin:$PATH"
sudo env PATH=$PATH make kxploit

The "env PATH=$PATH" part is necessary only when using sudo, because sudo likes to clear the PATH variable. You won't need that when building normal code in a directory you own.
Back to top
View user's profile Send private message
keit.c



Joined: 16 Aug 2006
Posts: 21

PostPosted: Fri Sep 22, 2006 8:16 pm    Post subject: Reply with quote

Code:

saw@ubuntu:~$ nautilus /usr/local/pspdev/psp/sdk/samples/debug
saw@ubuntu:~$ cd /usr/local/pspdev/psp/sdk/samples/debug/sio
saw@ubuntu:/usr/local/pspdev/psp/sdk/samples/debug/sio$ export PATH="/usr/local/ pspdev/bin:$PATH"
saw@ubuntu:/usr/local/pspdev/psp/sdk/samples/debug/sio$ sudo env PATH=$PATH make  kxploit
Password:
psp-gcc -I/usr/local/pspdev/psp/sdk/include/libc -I. -I/usr/local/pspdev/psp/sdk /include -O2 -G0 -Wall   -c -o main.o main.c
psp-gcc -I/usr/local/pspdev/psp/sdk/include/libc -I. -I/usr/local/pspdev/psp/sdk /include -O2 -G0 -Wall  -L. -L/usr/local/pspdev/psp/sdk/lib   main.o  -lpspdebug  -lpspdisplay -lpspge -lpspctrl -lpspsdk -lpsplibc -lpspnet -lpspnet_inet -lpspn et_apctl -lpspnet_resolver -lpsputility -lpspuser -lpspkernel -lpsphprm_driver - o sio.elf
psp-fixup-imports sio.elf
mksfo 'SIO Test' PARAM.SFO
mkdir -p "sio"
psp-strip sio.elf -o sio/EBOOT.PBP
mkdir -p "sio%"
pack-pbp "sio%/EBOOT.PBP" PARAM.SFO NULL  \
                NULL NULL NULL  \
                NULL NULL NULL


Thanks thousands! The two cartelle has been created with the eboot!
YYYYYYYyyyyy!!!!!!!!!!!!!!!
jimparis 4 president !
_________________
www.big-bug.net
Back to top
View user's profile Send private message Visit poster's website
keit.c



Joined: 16 Aug 2006
Posts: 21

PostPosted: Sat Sep 23, 2006 1:33 am    Post subject: Reply with quote

Code:

saw@ubuntu:/usr/local/pspdev/psp/sdk/samples/debug/profiler$ export PATH="/usr/local/pspdev/bin:$PATH"
saw@ubuntu:/usr/local/pspdev/psp/sdk/samples/debug/profiler$ sudo env PATH=$PATH make kxploit
Password:
env: pspdev/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games: Nessun file o directory
saw@ubuntu:/usr/local/pspdev/psp/sdk/samples/debug/profiler$

Why now it does not compile?
_________________
www.big-bug.net
Back to top
View user's profile Send private message Visit poster's website
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Sat Sep 23, 2006 4:23 am    Post subject: Reply with quote

Quote:
Code:
export PATH="/usr/local/ pspdev/bin:$PATH"

most likely because you have extra spaces in there... fix that, and also try
Code:
sudo env PATH="$PATH" make kxploit

or do away with all this sudo and env nonsense by building code as your normal user, in directories you have access to:
Code:
cp -rv /usr/local/pspdev/psp/sdk/samples/debug /tmp/debug
cd /tmp/debug
make kxploit
Back to top
View user's profile Send private message
keit.c



Joined: 16 Aug 2006
Posts: 21

PostPosted: Sat Sep 23, 2006 5:23 am    Post subject: Reply with quote

jimparis wrote:
Quote:
Code:
export PATH="/usr/local/ pspdev/bin:$PATH"

most likely because you have extra spaces in there... fix that, and also try
Code:
sudo env PATH="$PATH" make kxploit

or do away with all this sudo and env nonsense by building code as your normal user, in directories you have access to:
Code:
cp -rv /usr/local/pspdev/psp/sdk/samples/debug /tmp/debug
cd /tmp/debug
make kxploit

Thanks Thousands for the attention that you have dedicated to me!
Byeeeeeeeeeee
_________________
www.big-bug.net
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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