Page 10 of 11

Re: Installing the PSPSDK (Linux or Windows)

Posted: Mon Feb 03, 2014 10:05 pm
by SMOKE
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

Re: Installing the PSPSDK (Linux or Windows)

Posted: Mon Feb 03, 2014 10:06 pm
by fate6
Simply edit the script and add an "a"

"gdb-6.8a.tar.bz2"

Re: Installing the PSPSDK (Linux or Windows)

Posted: Mon Feb 03, 2014 10:58 pm
by SMOKE
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

Re: Installing the PSPSDK (Linux or Windows)

Posted: Tue Feb 04, 2014 8:41 am
by commonpeople
Thanks for putting this together, was looking for something to get me started. Appreciate it, mate!

Re: Installing the PSPSDK (Linux or Windows)

Posted: Tue Feb 04, 2014 5:29 pm
by SMOKE
@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$ 

Re: Installing the PSPSDK (Linux or Windows)

Posted: Thu Feb 06, 2014 9:54 am
by Acid_Snake

Code: Select all

sudo apt-get install zlib1g-dev

Re: Installing the PSPSDK (Linux or Windows)

Posted: Thu Feb 06, 2014 9:26 pm
by SMOKE
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:~$

Re: Installing the PSPSDK (Linux or Windows)

Posted: Fri Feb 07, 2014 2:42 am
by Acid_Snake
try changing -lz to -lzip in the makefile

Re: Installing the PSPSDK (Linux or Windows)

Posted: Fri Feb 07, 2014 10:39 pm
by SMOKE
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

Re: Installing the PSPSDK (Linux or Windows)

Posted: Sat Feb 08, 2014 1:24 pm
by Acid_Snake
forget my dumbass, it's -lz, you just gotta install the zlib development files for the PSP SDK