Advertising (This ad goes away for registered users. You can Login or Register)

Installing the PSPSDK (Linux or Windows)

All the Help you need is here
User avatar
SMOKE
Retired Mod
Posts: 3674
Joined: Tue Apr 17, 2012 10:00 pm
Location: USA
Contact:

Re: Installing the PSPSDK (Linux or Windows)

Post by SMOKE » Mon Feb 03, 2014 10:05 pm

I need some help. I messed up the PSPSDK that I had installed (still not sure how I did it), so I had to remove it and start over.
When compiling the toolchain, I keep getting this error:

Code: Select all

make[2]: Leaving directory `/home/smoke/psptoolchain/build/pspsdk/src/wlan'
Making clean in samples
make[2]: Entering directory `/home/smoke/psptoolchain/build/pspsdk/src/samples'
make[2]: Nothing to be done for `clean'.
make[2]: Leaving directory `/home/smoke/psptoolchain/build/pspsdk/src/samples'
make[2]: Entering directory `/home/smoke/psptoolchain/build/pspsdk/src'
make[2]: Nothing to be done for `clean-am'.
make[2]: Leaving directory `/home/smoke/psptoolchain/build/pspsdk/src'
make[1]: Leaving directory `/home/smoke/psptoolchain/build/pspsdk/src'
Making clean in tools
make[1]: Entering directory `/home/smoke/psptoolchain/build/pspsdk/tools'
test -z "bin2s bin2c bin2o pack-pbp unpack-pbp mksfo mksfoex psp-config psp-build-exports psp-prxgen psp-fixup-imports" || rm -f bin2s bin2c bin2o pack-pbp unpack-pbp mksfo mksfoex psp-config psp-build-exports psp-prxgen psp-fixup-imports
rm -f *.o
make[1]: Leaving directory `/home/smoke/psptoolchain/build/pspsdk/tools'
make[1]: Entering directory `/home/smoke/psptoolchain/build/pspsdk'
test -z "" || rm -f 
make[1]: Leaving directory `/home/smoke/psptoolchain/build/pspsdk'
--2014-02-03 16:41:29--  ftp://ftp.gnu.org/pub/gnu/gdb/gdb-6.8.tar.bz2
           => ‘gdb-6.8.tar.bz2’
Resolving ftp.gnu.org (ftp.gnu.org)... 208.118.235.20, 2001:4830:134:3::b
Connecting to ftp.gnu.org (ftp.gnu.org)|208.118.235.20|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD (1) /pub/gnu/gdb ... done.
==> SIZE gdb-6.8.tar.bz2 ... done.
==> PASV ... done.    ==> RETR gdb-6.8.tar.bz2 ... 
No such file ‘gdb-6.8.tar.bz2’.

../scripts/007-gdb-6.8.sh: Failed.
ERROR: Could not run the toolchain script.
smoke@smoke:~/psptoolchain$ 
I went to http://ftp.gnu.org/pub/gnu/gdb/ and there is no file named gdb-6.8.tar.bz2
So I am completely lost on what I should do now.
Anyone have any ideas?

Also, I'm running Ubuntu 32bit
Advertising

User avatar
fate6
Big Beholder
Posts: 7598
Joined: Fri Mar 09, 2012 1:18 am
Location: [fate6@Canterlot ~]$

Re: Installing the PSPSDK (Linux or Windows)

Post by fate6 » Mon Feb 03, 2014 10:06 pm

Simply edit the script and add an "a"

"gdb-6.8a.tar.bz2"
Advertising
Image
anon wrote:If you can't trust a 600 year old vampire in a prepubescent girl's body, who can you trust?

User avatar
SMOKE
Retired Mod
Posts: 3674
Joined: Tue Apr 17, 2012 10:00 pm
Location: USA
Contact:

Re: Installing the PSPSDK (Linux or Windows)

Post by SMOKE » Mon Feb 03, 2014 10:58 pm

fate6 wrote:Simply edit the script and add an "a"

"gdb-6.8a.tar.bz2"
I feel real dumb for not thinking about that :oops:
Thanks

commonpeople
Posts: 2
Joined: Tue Feb 04, 2014 8:29 am

Re: Installing the PSPSDK (Linux or Windows)

Post by commonpeople » Tue Feb 04, 2014 8:41 am

Thanks for putting this together, was looking for something to get me started. Appreciate it, mate!

User avatar
SMOKE
Retired Mod
Posts: 3674
Joined: Tue Apr 17, 2012 10:00 pm
Location: USA
Contact:

Re: Installing the PSPSDK (Linux or Windows)

Post by SMOKE » Tue Feb 04, 2014 5:29 pm

@fate6
Thanks it's compiled now.

But I now have another problem...

Code: Select all

smoke@smoke:~/138menu$ make
/usr/local/pspdev/bin/psp-config: /usr/local/pspdev/bin/psp-config: cannot execute binary file
Makefile:12: /lib/build.mak: No such file or directory
make: *** No rule to make target `/lib/build.mak'.  Stop.
smoke@smoke:~/138menu$ 
I already tried running this, but it's still the same error

Code: Select all

sudo chmod +x /usr/local/pspdev/bin/psp-config
Does anyone have any ideas?

EDIT:
I fixed it. The problem was with hgoel's ePSPSDK. It installed 64 bit binaries on my 32 bit Pc
I had to remove the ePSPSDK with a package manager and recompile the toolchain.

EDIT2:
Still not fixed. Here's the error I'm getting now:

Code: Select all

smoke@smoke:~/138menu$ make
psp-g++ -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -fno-exceptions -fno-rtti -D_PSP_FW_VERSION=150   -c -o main.o main.cpp
psp-g++ -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -fno-exceptions -fno-rtti -D_PSP_FW_VERSION=150   -c -o gb138/138_menu.o gb138/138_menu.cpp
psp-g++ -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -fno-exceptions -fno-rtti -D_PSP_FW_VERSION=150   -c -o gb138/gbCtrl.o gb138/gbCtrl.cpp
psp-g++ -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -fno-exceptions -fno-rtti -D_PSP_FW_VERSION=150   -c -o gb138/gbIso.o gb138/gbIso.cpp
psp-g++ -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -fno-exceptions -fno-rtti -D_PSP_FW_VERSION=150   -c -o gb138/gbCso.o gb138/gbCso.cpp
psp-g++ -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -fno-exceptions -fno-rtti -D_PSP_FW_VERSION=150   -c -o gb138/gbZip.o gb138/gbZip.cpp
psp-g++ -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -fno-exceptions -fno-rtti -D_PSP_FW_VERSION=150   -c -o gb138/gbAlloc.o gb138/gbAlloc.cpp
psp-g++ -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -fno-exceptions -fno-rtti -D_PSP_FW_VERSION=150   -c -o gb138/138_entry.o gb138/138_entry.cpp
psp-g++ -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -fno-exceptions -fno-rtti -D_PSP_FW_VERSION=150   -c -o gb138/138_osk.o gb138/138_osk.cpp
psp-g++ -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -fno-exceptions -fno-rtti -D_PSP_FW_VERSION=150   -c -o gb138/138_cfg.o gb138/138_cfg.cpp
psp-g++ -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -fno-exceptions -fno-rtti -D_PSP_FW_VERSION=150   -c -o gb138/138_resources.o gb138/138_resources.cpp
psp-g++ -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -fno-exceptions -fno-rtti -D_PSP_FW_VERSION=150   -c -o gb138/gbExp.o gb138/gbExp.cpp
psp-g++ -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -fno-exceptions -fno-rtti -D_PSP_FW_VERSION=150   -c -o other/vhblBoot.o other/vhblBoot.cpp
psp-g++ -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -fno-exceptions -fno-rtti -D_PSP_FW_VERSION=150   -c -o other/cef.o other/cef.cpp
psp-g++ -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -fno-exceptions -fno-rtti -D_PSP_FW_VERSION=150   -c -o other/callbacks.o other/callbacks.cpp
psp-g++ -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -fno-exceptions -fno-rtti -D_PSP_FW_VERSION=150   -c -o other/string_m.o other/string_m.cpp
psp-gcc -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -D_PSP_FW_VERSION=150   -c -o graphics/graphics.o graphics/graphics.c
psp-gcc -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -D_PSP_FW_VERSION=150   -c -o graphics/framebuffer.o graphics/framebuffer.c
psp-gcc -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -D_PSP_FW_VERSION=150   -c -o graphics/libccc.o graphics/libccc.c
psp-gcc -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -D_PSP_FW_VERSION=150   -c -o graphics/intraFont.o graphics/intraFont.c
psp-gcc -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -D_PSP_FW_VERSION=150  -Llibs -L. -L/usr/local/pspdev/psp/sdk/lib   main.o gb138/138_menu.o gb138/gbCtrl.o gb138/gbIso.o gb138/gbCso.o gb138/gbZip.o gb138/gbAlloc.o gb138/138_entry.o gb138/138_osk.o gb138/138_cfg.o gb138/138_resources.o gb138/gbExp.o other/vhblBoot.o other/cef.o other/callbacks.o other/string_m.o graphics/graphics.o graphics/framebuffer.o graphics/libccc.o graphics/intraFont.o -lstdc++ -lpspgu -lpspgum -lpng -lz -lm -lpsploadexec_kernel -lpspsystemctrl_user -lpspsystemctrl_kernel -lpspumd -lpspdebug -lpspdisplay -lpspge -lpspctrl -lpspsdk -lc -lpspnet -lpspnet_inet -lpspnet_apctl -lpspnet_resolver -lpsputility -lpspuser -lpspkernel -o 138MENUCPP.elf
/usr/local/pspdev/lib/gcc/psp/4.3.2/../../../../psp/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make: *** [138MENUCPP.elf] Error 1
smoke@smoke:~/138menu$ 

User avatar
Acid_Snake
Retired Mod
Posts: 3099
Joined: Tue May 01, 2012 11:32 am
Location: Behind you!

Re: Installing the PSPSDK (Linux or Windows)

Post by Acid_Snake » Thu Feb 06, 2014 9:54 am

Code: Select all

sudo apt-get install zlib1g-dev

User avatar
SMOKE
Retired Mod
Posts: 3674
Joined: Tue Apr 17, 2012 10:00 pm
Location: USA
Contact:

Re: Installing the PSPSDK (Linux or Windows)

Post by SMOKE » Thu Feb 06, 2014 9:26 pm

Thanks Acid, but it's already installed

Code: Select all

smoke@smoke:~$ sudo apt-get install zlib1g-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
zlib1g-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
smoke@smoke:~$

User avatar
Acid_Snake
Retired Mod
Posts: 3099
Joined: Tue May 01, 2012 11:32 am
Location: Behind you!

Re: Installing the PSPSDK (Linux or Windows)

Post by Acid_Snake » Fri Feb 07, 2014 2:42 am

try changing -lz to -lzip in the makefile

User avatar
SMOKE
Retired Mod
Posts: 3674
Joined: Tue Apr 17, 2012 10:00 pm
Location: USA
Contact:

Re: Installing the PSPSDK (Linux or Windows)

Post by SMOKE » Fri Feb 07, 2014 10:39 pm

Acid_Snake wrote:try changing -lz to -lzip in the makefile

Code: Select all

smoke@smoke:~/138menu$ make
psp-g++ -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -fno-exceptions -fno-rtti -D_PSP_FW_VERSION=150   -c -o main.o main.cpp
psp-g++ -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -fno-exceptions -fno-rtti -D_PSP_FW_VERSION=150   -c -o gb138/138_menu.o gb138/138_menu.cpp
psp-g++ -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -fno-exceptions -fno-rtti -D_PSP_FW_VERSION=150   -c -o gb138/gbCtrl.o gb138/gbCtrl.cpp
psp-g++ -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -fno-exceptions -fno-rtti -D_PSP_FW_VERSION=150   -c -o gb138/gbIso.o gb138/gbIso.cpp
psp-g++ -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -fno-exceptions -fno-rtti -D_PSP_FW_VERSION=150   -c -o gb138/gbCso.o gb138/gbCso.cpp
psp-g++ -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -fno-exceptions -fno-rtti -D_PSP_FW_VERSION=150   -c -o gb138/gbZip.o gb138/gbZip.cpp
psp-g++ -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -fno-exceptions -fno-rtti -D_PSP_FW_VERSION=150   -c -o gb138/gbAlloc.o gb138/gbAlloc.cpp
psp-g++ -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -fno-exceptions -fno-rtti -D_PSP_FW_VERSION=150   -c -o gb138/138_entry.o gb138/138_entry.cpp
psp-g++ -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -fno-exceptions -fno-rtti -D_PSP_FW_VERSION=150   -c -o gb138/138_osk.o gb138/138_osk.cpp
psp-g++ -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -fno-exceptions -fno-rtti -D_PSP_FW_VERSION=150   -c -o gb138/138_cfg.o gb138/138_cfg.cpp
psp-g++ -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -fno-exceptions -fno-rtti -D_PSP_FW_VERSION=150   -c -o gb138/138_resources.o gb138/138_resources.cpp
psp-g++ -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -fno-exceptions -fno-rtti -D_PSP_FW_VERSION=150   -c -o gb138/gbExp.o gb138/gbExp.cpp
psp-g++ -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -fno-exceptions -fno-rtti -D_PSP_FW_VERSION=150   -c -o other/vhblBoot.o other/vhblBoot.cpp
psp-g++ -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -fno-exceptions -fno-rtti -D_PSP_FW_VERSION=150   -c -o other/cef.o other/cef.cpp
psp-g++ -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -fno-exceptions -fno-rtti -D_PSP_FW_VERSION=150   -c -o other/callbacks.o other/callbacks.cpp
psp-g++ -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -fno-exceptions -fno-rtti -D_PSP_FW_VERSION=150   -c -o other/string_m.o other/string_m.cpp
psp-gcc -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -D_PSP_FW_VERSION=150   -c -o graphics/graphics.o graphics/graphics.c
psp-gcc -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -D_PSP_FW_VERSION=150   -c -o graphics/framebuffer.o graphics/framebuffer.c
psp-gcc -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -D_PSP_FW_VERSION=150   -c -o graphics/libccc.o graphics/libccc.c
psp-gcc -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -D_PSP_FW_VERSION=150   -c -o graphics/intraFont.o graphics/intraFont.c
psp-gcc -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -D_PSP_FW_VERSION=150  -Llibs -L. -L/usr/local/pspdev/psp/sdk/lib   main.o gb138/138_menu.o gb138/gbCtrl.o gb138/gbIso.o gb138/gbCso.o gb138/gbZip.o gb138/gbAlloc.o gb138/138_entry.o gb138/138_osk.o gb138/138_cfg.o gb138/138_resources.o gb138/gbExp.o other/vhblBoot.o other/cef.o other/callbacks.o other/string_m.o graphics/graphics.o graphics/framebuffer.o graphics/libccc.o graphics/intraFont.o -lstdc++ -lpspgu -lpspgum -lpng -lzip -lm -lpsploadexec_kernel -lpspsystemctrl_user -lpspsystemctrl_kernel -lpspumd -lpspdebug -lpspdisplay -lpspge -lpspctrl -lpspsdk -lc -lpspnet -lpspnet_inet -lpspnet_apctl -lpspnet_resolver -lpsputility -lpspuser -lpspkernel -o 138MENUCPP.elf
/usr/local/pspdev/lib/gcc/psp/4.3.2/../../../../psp/bin/ld: cannot find -lzip
collect2: ld returned 1 exit status
make: *** [138MENUCPP.elf] Error 1
smoke@smoke:~/138menu$ 
Also the

Code: Select all

smoke@smoke:~/138menu$ make
psp-g++ -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -fno-exceptions -fno-rtti -D_PSP_FW_VERSION=150   -c -o main.o main.cpp
psp-g++ -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -fno-exceptions -fno-rtti -D_PSP_FW_VERSION=150   -c -o gb138/138_menu.o gb138/138_menu.cpp
psp-g++ -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -fno-exceptions -fno-rtti -D_PSP_FW_VERSION=150   -c -o gb138/gbCtrl.o gb138/gbCtrl.cpp
psp-g++ -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -fno-exceptions -fno-rtti -D_PSP_FW_VERSION=150   -c -o gb138/gbIso.o gb138/gbIso.cpp
psp-g++ -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -fno-exceptions -fno-rtti -D_PSP_FW_VERSION=150   -c -o gb138/gbCso.o gb138/gbCso.cpp
psp-g++ -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -fno-exceptions -fno-rtti -D_PSP_FW_VERSION=150   -c -o gb138/gbZip.o gb138/gbZip.cpp
psp-g++ -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -fno-exceptions -fno-rtti -D_PSP_FW_VERSION=150   -c -o gb138/gbAlloc.o gb138/gbAlloc.cpp
psp-g++ -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -fno-exceptions -fno-rtti -D_PSP_FW_VERSION=150   -c -o gb138/138_entry.o gb138/138_entry.cpp
psp-g++ -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -fno-exceptions -fno-rtti -D_PSP_FW_VERSION=150   -c -o gb138/138_osk.o gb138/138_osk.cpp
psp-g++ -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -fno-exceptions -fno-rtti -D_PSP_FW_VERSION=150   -c -o gb138/138_cfg.o gb138/138_cfg.cpp
psp-g++ -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -fno-exceptions -fno-rtti -D_PSP_FW_VERSION=150   -c -o gb138/138_resources.o gb138/138_resources.cpp
psp-g++ -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -fno-exceptions -fno-rtti -D_PSP_FW_VERSION=150   -c -o gb138/gbExp.o gb138/gbExp.cpp
psp-g++ -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -fno-exceptions -fno-rtti -D_PSP_FW_VERSION=150   -c -o other/vhblBoot.o other/vhblBoot.cpp
psp-g++ -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -fno-exceptions -fno-rtti -D_PSP_FW_VERSION=150   -c -o other/cef.o other/cef.cpp
psp-g++ -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -fno-exceptions -fno-rtti -D_PSP_FW_VERSION=150   -c -o other/callbacks.o other/callbacks.cpp
psp-g++ -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -fno-exceptions -fno-rtti -D_PSP_FW_VERSION=150   -c -o other/string_m.o other/string_m.cpp
psp-gcc -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -D_PSP_FW_VERSION=150   -c -o graphics/graphics.o graphics/graphics.c
psp-gcc -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -D_PSP_FW_VERSION=150   -c -o graphics/framebuffer.o graphics/framebuffer.c
psp-gcc -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -D_PSP_FW_VERSION=150   -c -o graphics/libccc.o graphics/libccc.c
psp-gcc -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -D_PSP_FW_VERSION=150   -c -o graphics/intraFont.o graphics/intraFont.c
psp-gcc -Ilibs -I. -I/usr/local/pspdev/psp/sdk/include -O2 -G0 -Wall -D_PSP_FW_VERSION=150  -Llibs -L. -L/usr/local/pspdev/psp/sdk/lib   main.o gb138/138_menu.o gb138/gbCtrl.o gb138/gbIso.o gb138/gbCso.o gb138/gbZip.o gb138/gbAlloc.o gb138/138_entry.o gb138/138_osk.o gb138/138_cfg.o gb138/138_resources.o gb138/gbExp.o other/vhblBoot.o other/cef.o other/callbacks.o other/string_m.o graphics/graphics.o graphics/framebuffer.o graphics/libccc.o graphics/intraFont.o -lstdc++ -lpspgu -lpspgum -lpng -lzip -lm -lpsploadexec_kernel -lpspsystemctrl_user -lpspsystemctrl_kernel -lpspumd -lpspdebug -lpspdisplay -lpspge -lpspctrl -lpspsdk -lc -lpspnet -lpspnet_inet -lpspnet_apctl -lpspnet_resolver -lpsputility -lpspuser -lpspkernel -o 138MENUCPP.elf
/usr/local/pspdev/lib/gcc/psp/4.3.2/../../../../psp/bin/ld: cannot find -lzip
collect2: ld returned 1 exit status
make: *** [138MENUCPP.elf] Error 1
smoke@smoke:~/138menu$


Also the package lzip is installed

User avatar
Acid_Snake
Retired Mod
Posts: 3099
Joined: Tue May 01, 2012 11:32 am
Location: Behind you!

Re: Installing the PSPSDK (Linux or Windows)

Post by Acid_Snake » Sat Feb 08, 2014 1:24 pm

forget my dumbass, it's -lz, you just gotta install the zlib development files for the PSP SDK

Post Reply

Return to “Tutorials”