Hello all. PSP Toolchain help?

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

Moderators: cheriff, TyRaNiD

Post Reply
AerosolSP
Posts: 5
Joined: Thu Oct 30, 2008 2:43 am

Hello all. PSP Toolchain help?

Post by AerosolSP »

Hi guys. I was wondering if you could give a little bit of a hand here.

I'm running Ubuntu (Hardy Heron), and I'm trying to install the psp toolchain. However, running the toolchain.sh script eventually runs into this snag:
make: *** [all] Error 2
../scripts/004-newlib-1.15.0.sh: Failed.
Now, I asked at the forums of the tutorial I was following, and I was told to ask you guys, since noone there really messed with the scripts themselves.

Thanks for any help.
Insert_witty_name
Posts: 376
Joined: Wed May 10, 2006 11:31 pm

Post by Insert_witty_name »

We need to see the full log, including the actual error message.
sauron_le_noir
Posts: 203
Joined: Sat Jul 05, 2008 8:03 am

Post by sauron_le_noir »

First of all the scripts use wget to get the sources from internet
do you have this utility installed at your system.
does the first 3 step executed without any problem?
binutils
gcc-4.3.1
psp-sdk stage 1


Are your root if not
do you have provide in /etc/sudoers a line like this
f731 ALL=(ALL) NOPASSWD:ALL
here the user f731 can sudo any command wihout asking a password

and do you use toolchain-sudo.sh instead of toolchain.sh

I"ve just re downloaded the toolchain and recompiled it on fedora 9 without any
problem

can you provide the output from the download of the new-lib
The compilation etc...

What is your version of gcc.
gcc -version on fedora 9 give gcc (GCC) 4.3.0 20080428 (Red Hat 4.3.0-8)



here is wat i need

Code: Select all

--2008-10-29 19:21:13--  ftp://sources.redhat.com/pub/newlib/newlib-1.15.0.tar.gz
           => `newlib-1.15.0.tar.gz'
Résolution de sources.redhat.com... 209.132.176.174
Connexion vers sources.redhat.com|209.132.176.174|:21...connecté.
Ouverture de session en anonymous...Session établie!
==> SYST ... complété.    ==> PWD ... complété.
==> TYPE I ... complété.  ==> CWD /pub/newlib ... complété.
==> SIZE newlib-1.15.0.tar.gz ... 10709842
==> PASV ... complété.    ==> RETR newlib-1.15.0.tar.gz ... complété.
Longueur: 10709842 (10M)

100%[======================================>] 10709842     397K/s   in 32s     

2008-10-29 19:21:51 (329 KB/s) - « newlib-1.15.0.tar.gz » sauvegardé [10709842]
and the unpack of the source
and the full compilation
AerosolSP
Posts: 5
Joined: Thu Oct 30, 2008 2:43 am

Post by AerosolSP »

yes, I'm root.

as for the stages, I can tell you that the part where I see all the "binutils" lines and "checking for/whether" lines complete, as do the lines that don't have a pattern I can discern (everything is going by really quickly). I think they start with -W something, and then later on start with ALEDIR. Then I see whole bunch of gcc lines. After that there are more checks. I'm gonna assume that this means that the first two stages complete fine.

Watching the script carefully, I do notice at one point that the terminal says something about logging in as anonymous. Maybe you can identify what stage this is? Also, I don't understand what you mean from the download of the new-lib. Do you mean for me to download it from inside the terminal?

as for the full log, I can't. Mainly because the Terminal won't let me copy the full log. Here's all I can copy:
checking for psp-g++... no
checking for psp-cxx... no
checking for psp-gxx... no
checking for psp-gcc... psp-gcc
checking for psp-gcj... no
checking for psp-gfortran... no
checking for ar... no
checking for psp-ar... psp-ar
checking for as... no
checking for psp-as... psp-as
checking for dlltool... no
checking for psp-dlltool... no
checking for ld... no
checking for psp-ld... psp-ld
checking for lipo... no
checking for psp-lipo... no
checking for nm... no
checking for psp-nm... psp-nm
checking for objdump... no
checking for psp-objdump... psp-objdump
checking for ranlib... no
checking for psp-ranlib... psp-ranlib
checking for strip... no
checking for psp-strip... psp-strip
checking for windres... no
checking for psp-windres... no
checking where to find the target ar... pre-installed
checking where to find the target as... pre-installed
checking where to find the target cc... pre-installed
checking where to find the target c++... pre-installed
checking where to find the target c++ for libstdc++... pre-installed
checking where to find the target dlltool... pre-installed
checking where to find the target gcc... pre-installed
checking where to find the target gcj... pre-installed
checking where to find the target gfortran... pre-installed
checking where to find the target ld... pre-installed
checking where to find the target lipo... pre-installed
checking where to find the target nm... pre-installed
checking where to find the target objdump... pre-installed
checking where to find the target ranlib... pre-installed
checking where to find the target strip... pre-installed
checking where to find the target windres... pre-installed
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether -fkeep-inline-functions is supported... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
make[1]: Entering directory `/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp'
if test -f gcc/Makefile; then cd gcc && make clean-target-libgcc; else :; fi
make[1]: Leaving directory `/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp'
rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
make[1]: Entering directory `/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp'
Checking multilib configuration for newlib...
mkdir -p -- psp/newlib
mkdir -p -- ./etc
Configuring in ./etc
Configuring in psp/newlib
configure: creating cache ./config.cache
checking for a BSD-compatible install... /usr/bin/install -c
updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
configure: creating cache ./config.cache
make[2]: Entering directory `/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/etc'
for f in standards.info configure.info; do \
if test -f ../../etc/`echo $f | sed -e 's/.info$/.texi/'`; then \
if make "MAKEINFO=/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/missing makeinfo --split-size=5000000 --split-size=5000000" $f; then \
true; \
else \
exit 1; \
fi; \
fi; \
done
make[3]: Entering directory `/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/etc'
/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/missing makeinfo --split-size=5000000 --split-size=5000000 --no-split -I../../etc -o standards.info ../../etc/standards.texi
WARNING: `makeinfo' is missing on your system. You should only need it if
you modified a `.texi' or `.texinfo' file, or any other file
indirectly affecting the aspect of the manual. The spurious
call might also be the consequence of using a buggy `make' (AIX,
DU, IRIX). You might want to install the `Texinfo' package or
the `GNU make' package. Grab either from any GNU archive site.
checking build system type... make[3]: *** [standards.info] Error 1
make[3]: Leaving directory `/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/etc'
make[2]: *** [info] Error 1
make[2]: Leaving directory `/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/etc'
make[1]: *** [all-etc] Error 2
make[1]: *** Waiting for unfinished jobs....
i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking host system type... mipsallegrexel-psp-elf
checking for psp-strip... psp-strip
checking for gcc... psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include
checking dependency style of psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include... gcc3
checking whether we are using GNU C... yes
checking whether psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include accepts -g... no
checking for psp-as... psp-as
checking for psp-ar... psp-ar
checking for psp-ranlib... psp-ranlib
checking for psp-readelf... psp-readelf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether to enable maintainer-specific portions of Makefiles... no
checking for .preinit_array/.init_array/.fini_array support... yes
checking for array aliasing support... no
updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
Adding multilib support to Makefile in ../../../newlib
multidirs=
with_multisubdir=
config.status: creating newlib.h
config.status: executing depfiles commands
configure: configuring in libc
configure: running /bin/sh '../../../../newlib/libc/configure' --prefix=/usr/local/pspdev '--cache-file=./config.cache' '--build=i686-pc-linux-gnu' '--host=psp' '--target=psp' '--with-newlib' '--enable-multilib' '--with-cross-host=i686-pc-linux-gnu' '--prefix=/usr/local/pspdev' '--program-transform-name=s,^,psp-,; ' '--with-target-subdir=psp' '--srcdir=../../../newlib' 'CC=psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include' 'CFLAGS=-O2 -g -O2 ' 'CPPFLAGS=' 'LDFLAGS=' 'build_alias=i686-pc-linux-gnu' 'host_alias=psp' 'target_alias=psp' --cache-file=.././config.cache --srcdir=../../../../newlib/libc
configure: loading cache .././config.cache
checking build system type... (cached) i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... (cached) mawk
checking whether make sets $(MAKE)... (cached) yes
checking for style of include used by make... GNU
checking host system type... (cached) mipsallegrexel-psp-elf
checking for psp-strip... (cached) psp-strip
checking for gcc... (cached) psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include
checking dependency style of psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include... (cached) gcc3
checking whether we are using GNU C... (cached) yes
checking whether psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include accepts -g... (cached) no
checking for psp-as... (cached) psp-as
checking for psp-ar... (cached) psp-ar
checking for psp-ranlib... (cached) psp-ranlib
checking for psp-readelf... (cached) psp-readelf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether to enable maintainer-specific portions of Makefiles... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating argz/Makefile
config.status: creating ctype/Makefile
config.status: creating errno/Makefile
config.status: creating locale/Makefile
config.status: creating misc/Makefile
config.status: creating reent/Makefile
config.status: creating search/Makefile
config.status: creating stdio/Makefile
config.status: creating stdio64/Makefile
config.status: creating stdlib/Makefile
config.status: creating string/Makefile
config.status: creating time/Makefile
config.status: creating posix/Makefile
config.status: creating signal/Makefile
config.status: creating syscalls/Makefile
config.status: creating unix/Makefile
config.status: creating iconv/Makefile
config.status: creating iconv/ces/Makefile
config.status: creating iconv/ccs/Makefile
config.status: creating iconv/ccs/binary/Makefile
config.status: creating iconv/lib/Makefile
config.status: executing depfiles commands
configure: configuring in machine
configure: running /bin/sh '../../../../../newlib/libc/machine/configure' --prefix=/usr/local/pspdev '--cache-file=./config.cache' '--build=i686-pc-linux-gnu' '--host=psp' '--target=psp' '--with-newlib' '--enable-multilib' '--with-cross-host=i686-pc-linux-gnu' '--prefix=/usr/local/pspdev' '--program-transform-name=s,^,psp-,; ' '--with-target-subdir=psp' '--srcdir=../../../newlib' 'CC=psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include' 'CFLAGS=-O2 -g -O2 ' 'CPPFLAGS=' 'LDFLAGS=' 'build_alias=i686-pc-linux-gnu' 'host_alias=psp' 'target_alias=psp' '--cache-file=.././config.cache' '--srcdir=../../../../newlib/libc' --cache-file=../.././config.cache --srcdir=../../../../../newlib/libc/machine
configure: loading cache ../.././config.cache
checking build system type... (cached) i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... (cached) mawk
checking whether make sets $(MAKE)... (cached) yes
checking for style of include used by make... GNU
checking host system type... (cached) mipsallegrexel-psp-elf
checking for psp-strip... (cached) psp-strip
checking for gcc... (cached) psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include
checking dependency style of psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include... (cached) gcc3
checking whether we are using GNU C... (cached) yes
checking whether psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include accepts -g... (cached) no
checking for psp-as... (cached) psp-as
checking for psp-ar... (cached) psp-ar
checking for psp-ranlib... (cached) psp-ranlib
checking for psp-readelf... (cached) psp-readelf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether to enable maintainer-specific portions of Makefiles... no
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
configure: configuring in mips
configure: running /bin/sh '../../../../../../newlib/libc/machine/mips/configure' --prefix=/usr/local/pspdev '--cache-file=./config.cache' '--build=i686-pc-linux-gnu' '--host=psp' '--target=psp' '--with-newlib' '--enable-multilib' '--with-cross-host=i686-pc-linux-gnu' '--prefix=/usr/local/pspdev' '--program-transform-name=s,^,psp-,; ' '--with-target-subdir=psp' '--srcdir=../../../newlib' 'CC=psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include' 'CFLAGS=-O2 -g -O2 ' 'CPPFLAGS=' 'LDFLAGS=' 'build_alias=i686-pc-linux-gnu' 'host_alias=psp' 'target_alias=psp' '--cache-file=.././config.cache' '--srcdir=../../../../newlib/libc' '--cache-file=../.././config.cache' '--srcdir=../../../../../newlib/libc/machine' --cache-file=../../.././config.cache --srcdir=../../../../../../newlib/libc/machine/mips
configure: loading cache ../../.././config.cache
checking build system type... (cached) i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... (cached) mawk
checking whether make sets $(MAKE)... (cached) yes
checking for style of include used by make... GNU
checking host system type... (cached) mipsallegrexel-psp-elf
checking for psp-strip... (cached) psp-strip
checking for gcc... (cached) psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include
checking dependency style of psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include... (cached) gcc3
checking whether we are using GNU C... (cached) yes
checking whether psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include accepts -g... (cached) no
checking for psp-as... (cached) psp-as
checking for psp-ar... (cached) psp-ar
checking for psp-ranlib... (cached) psp-ranlib
checking for psp-readelf... (cached) psp-readelf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether to enable maintainer-specific portions of Makefiles... no
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
configure: configuring in sys
configure: running /bin/sh '../../../../../newlib/libc/sys/configure' --prefix=/usr/local/pspdev '--cache-file=./config.cache' '--build=i686-pc-linux-gnu' '--host=psp' '--target=psp' '--with-newlib' '--enable-multilib' '--with-cross-host=i686-pc-linux-gnu' '--prefix=/usr/local/pspdev' '--program-transform-name=s,^,psp-,; ' '--with-target-subdir=psp' '--srcdir=../../../newlib' 'CC=psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include' 'CFLAGS=-O2 -g -O2 ' 'CPPFLAGS=' 'LDFLAGS=' 'build_alias=i686-pc-linux-gnu' 'host_alias=psp' 'target_alias=psp' '--cache-file=.././config.cache' '--srcdir=../../../../newlib/libc' --cache-file=../.././config.cache --srcdir=../../../../../newlib/libc/sys
configure: loading cache ../.././config.cache
checking build system type... (cached) i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... (cached) mawk
checking whether make sets $(MAKE)... (cached) yes
checking for style of include used by make... GNU
checking host system type... (cached) mipsallegrexel-psp-elf
checking for psp-strip... (cached) psp-strip
checking for gcc... (cached) psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include
checking dependency style of psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include... (cached) gcc3
checking whether we are using GNU C... (cached) yes
checking whether psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include accepts -g... (cached) no
checking for psp-as... (cached) psp-as
checking for psp-ar... (cached) psp-ar
checking for psp-ranlib... (cached) psp-ranlib
checking for psp-readelf... (cached) psp-readelf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether to enable maintainer-specific portions of Makefiles... no
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
configure: configuring in psp
configure: running /bin/sh '../../../../../../newlib/libc/sys/psp/configure' --prefix=/usr/local/pspdev '--cache-file=./config.cache' '--build=i686-pc-linux-gnu' '--host=psp' '--target=psp' '--with-newlib' '--enable-multilib' '--with-cross-host=i686-pc-linux-gnu' '--prefix=/usr/local/pspdev' '--program-transform-name=s,^,psp-,; ' '--with-target-subdir=psp' '--srcdir=../../../newlib' 'CC=psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include' 'CFLAGS=-O2 -g -O2 ' 'CPPFLAGS=' 'LDFLAGS=' 'build_alias=i686-pc-linux-gnu' 'host_alias=psp' 'target_alias=psp' '--cache-file=.././config.cache' '--srcdir=../../../../newlib/libc' '--cache-file=../.././config.cache' '--srcdir=../../../../../newlib/libc/sys' --cache-file=../../.././config.cache --srcdir=../../../../../../newlib/libc/sys/psp
configure: loading cache ../../.././config.cache
checking build system type... (cached) i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... (cached) mawk
checking whether make sets $(MAKE)... (cached) yes
checking for style of include used by make... GNU
checking host system type... (cached) mipsallegrexel-psp-elf
checking for psp-strip... (cached) psp-strip
checking for gcc... (cached) psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include
checking dependency style of psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include... (cached) gcc3
checking whether we are using GNU C... (cached) yes
checking whether psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include accepts -g... (cached) no
checking for psp-as... (cached) psp-as
checking for psp-ar... (cached) psp-ar
checking for psp-ranlib... (cached) psp-ranlib
checking for psp-readelf... (cached) psp-readelf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether to enable maintainer-specific portions of Makefiles... no
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
configure: configuring in libm
configure: running /bin/sh '../../../../newlib/libm/configure' --prefix=/usr/local/pspdev '--cache-file=./config.cache' '--build=i686-pc-linux-gnu' '--host=psp' '--target=psp' '--with-newlib' '--enable-multilib' '--with-cross-host=i686-pc-linux-gnu' '--prefix=/usr/local/pspdev' '--program-transform-name=s,^,psp-,; ' '--with-target-subdir=psp' '--srcdir=../../../newlib' 'CC=psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include' 'CFLAGS=-O2 -g -O2 ' 'CPPFLAGS=' 'LDFLAGS=' 'build_alias=i686-pc-linux-gnu' 'host_alias=psp' 'target_alias=psp' --cache-file=.././config.cache --srcdir=../../../../newlib/libm
configure: loading cache .././config.cache
checking build system type... (cached) i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... (cached) mawk
checking whether make sets $(MAKE)... (cached) yes
checking for style of include used by make... GNU
checking host system type... (cached) mipsallegrexel-psp-elf
checking for psp-strip... (cached) psp-strip
checking for gcc... (cached) psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include
checking dependency style of psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include... (cached) gcc3
checking whether we are using GNU C... (cached) yes
checking whether psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include accepts -g... (cached) no
checking for psp-as... (cached) psp-as
checking for psp-ar... (cached) psp-ar
checking for psp-ranlib... (cached) psp-ranlib
checking for psp-readelf... (cached) psp-readelf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether to enable maintainer-specific portions of Makefiles... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating math/Makefile
config.status: creating mathfp/Makefile
config.status: creating common/Makefile
config.status: executing depfiles commands
configure: configuring in doc
configure: running /bin/sh '../../../../newlib/doc/configure' --prefix=/usr/local/pspdev '--cache-file=./config.cache' '--build=i686-pc-linux-gnu' '--host=psp' '--target=psp' '--with-newlib' '--enable-multilib' '--with-cross-host=i686-pc-linux-gnu' '--prefix=/usr/local/pspdev' '--program-transform-name=s,^,psp-,; ' '--with-target-subdir=psp' '--srcdir=../../../newlib' 'CC=psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include' 'CFLAGS=-O2 -g -O2 ' 'CPPFLAGS=' 'LDFLAGS=' 'build_alias=i686-pc-linux-gnu' 'host_alias=psp' 'target_alias=psp' --cache-file=.././config.cache --srcdir=../../../../newlib/doc
configure: loading cache .././config.cache
checking build system type... (cached) i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... (cached) mawk
checking whether make sets $(MAKE)... (cached) yes
checking for style of include used by make... GNU
checking host system type... (cached) mipsallegrexel-psp-elf
checking for psp-strip... (cached) psp-strip
checking for gcc... (cached) psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include
checking dependency style of psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include... (cached) gcc3
checking whether we are using GNU C... (cached) yes
checking whether psp-gcc -B/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-include -isystem /home/dave/Desktop/psptoolchain/build/newlib-1.15.0/newlib/libc/include accepts -g... (cached) no
checking for psp-as... (cached) psp-as
checking for psp-ar... (cached) psp-ar
checking for psp-ranlib... (cached) psp-ranlib
checking for psp-readelf... (cached) psp-readelf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether to enable maintainer-specific portions of Makefiles... no
checking for build system executable suffix... no
updating cache .././config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: executing depfiles commands
make[1]: Leaving directory `/home/dave/Desktop/psptoolchain/build/newlib-1.15.0/build-psp'
make: *** [all] Error 2
../scripts/004-newlib-1.15.0.sh: Failed.
Insert_witty_name
Posts: 376
Joined: Wed May 10, 2006 11:31 pm

Post by Insert_witty_name »

Here's your error...
WARNING: `makeinfo' is missing on your system.
You need to install texinfo, I believe.

I think this should install texinfo on Ubuntu:
sudo apt-get install texinfo
There are two files that come with the toolchain, readme.txt and readme-ubuntu.txt. They both list all the packages that are required.
AerosolSP
Posts: 5
Joined: Thu Oct 30, 2008 2:43 am

Post by AerosolSP »

i tried that. It said I had texinfo already.

edit: upon further inspection, I realized that I didn't have ncurses. The tutorial I was following didn't list it.

typing "apt-get install ncurses" (while in root), however, yields this:
Package ncurses is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package ncurses has no installation candidate
it's interesting that it says that ncurses has possibly been obsoleted, because the tutorial said to install "libncurses5-dev" instead. Also,i got no readme-ubuntu.txt file.
moonlight
Posts: 567
Joined: Wed Oct 26, 2005 7:46 pm

Post by moonlight »

If you are missing readme-ubuntu, then you probably don't have latest psptoolchain. Download latest toolchain from svn:

Code: Select all

svn co svn://svn.ps2dev.org/psp/trunk/psptoolchain
And install all required libraries (last time i installed, readme-ubuntu was missing some of them):

Code: Select all

sudo apt-get install autoconf autogen automake1.9 libtool build-essential flex bison subversion libncurses5-dev libgmp3-dev libmpfr-dev libreadline5-dev texinfo libusb-dev
Also, you have to run toolchain-sudo.sh, not toolchain.sh.
AerosolSP
Posts: 5
Joined: Thu Oct 30, 2008 2:43 am

Post by AerosolSP »

Okay. toolchain-sudo.sh is chugging along now. If an error pops up, I'll edit this message. Thanks for your help so far guys.

edit: well, the terminal has brought me back to the <username>@<computer>: prompt. So guess it's done then. Any way I can test this?
hibbyware
Posts: 78
Joined: Wed Mar 28, 2007 10:29 am

Post by hibbyware »

Compile one of the samples that came with the PSPSDK to test,
J.F.
Posts: 2906
Joined: Sun Feb 22, 2004 11:41 am

Post by J.F. »

If you got the toolchain compiled, next do the libraries. Checkout psplibraries from the svn and run the script library-sudo.sh to get most of the major libraries.
AerosolSP
Posts: 5
Joined: Thu Oct 30, 2008 2:43 am

Post by AerosolSP »

libraries-sudo.sh finished without a glitch. One more thing....where are the examples in the PSPSDK folder? I can't find them for the life of me.
jimparis
Posts: 1145
Joined: Fri Jun 10, 2005 4:21 am
Location: Boston

Post by jimparis »

/usr/local/pspdev/psp/sdk/samples
Post Reply