Problem with setting up psptoolchain

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

Moderators: cheriff, TyRaNiD

Post Reply
steffven
Posts: 28
Joined: Mon May 19, 2008 7:37 pm

Problem with setting up psptoolchain

Post by steffven »

I tried to compile the toolchain, but everytime it says:

Code: Select all

***@*** ~/psptoolchain
$ ./toolchain.sh
ls: cannot access /usr/include/gmp.h: No such file or directory
ERROR: Install gmp before continuing.
../depends/check-gmp.sh: Failed.
I installed wget and Devel.
Last time i installed it on the same computer it worked without that fault. What's the problem?
WosRet
Posts: 14
Joined: Wed Apr 23, 2008 3:20 am
Location: Confoederatio Helvetica

Post by WosRet »

i guess you are installing this under cygwin. in cygwin installation you have to select gmp-devel and mpfr-devel in math submenu.
steffven
Posts: 28
Joined: Mon May 19, 2008 7:37 pm

Post by steffven »

Thanks man it works now :)
egorive
Posts: 24
Joined: Thu Jun 22, 2006 11:50 pm

i got this one

Post by egorive »

I got this one when installing psptoolchain-20080610 version.

Code: Select all

In file included from ../../../../../../newlib/libc/sys/psp/libcglue.c:26:
../../../../../../newlib/libc/sys/psp/sys/dirent.h:11:34: error: pspiofilemgr_di
rent.h: No such file or directory
In file included from ../../../../../../newlib/libc/sys/psp/libcglue.c:26:
../../../../../../newlib/libc/sys/psp/sys/dirent.h:18: error: expected specifier
-qualifier-list before 'SceIoStat'
../../../../../../newlib/libc/sys/psp/sys/dirent.h:27: error: expected specifier
-qualifier-list before 'SceUID'
../../../../../../newlib/libc/sys/psp/libcglue.c:29:22: error: psptypes.h: No su
ch file or directory
../../../../../../newlib/libc/sys/psp/libcglue.c:30:26: error: pspiofilemgr.h: N
o such file or directory
../../../../../../newlib/libc/sys/psp/libcglue.c:31:26: error: pspmodulemgr.h: N
o such file or directory
../../../../../../newlib/libc/sys/psp/libcglue.c:32:23: error: pspsysmem.h: No s
uch file or directory
../../../../../../newlib/libc/sys/psp/libcglue.c:33:26: error: pspthreadman.h: N
o such file or directory
../../../../../../newlib/libc/sys/psp/libcglue.c:34:22: error: psputils.h: No su
ch file or directory
../../../../../../newlib/libc/sys/psp/libcglue.c:35:24: error: psputility.h: No
such file or directory
../../../../../../newlib/libc/sys/psp/libcglue.c:36:22: error: pspstdio.h: No su
ch file or directory
../../../../../../newlib/libc/sys/psp/libcglue.c:37:24: error: pspintrman.h: No
such file or directory
In file included from ../../../../../../newlib/libc/sys/psp/libcglue.c:38:
../../../../../../newlib/libc/sys/psp/fdman.h:31: error: expected specifier-qual
ifier-list before 'u8'
psp-gcc -B/home/KIKE/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/ -isy
stem /home/KIKE/psptoolchain/build/newlib-1.15.0/build-psp/psp/newlib/targ-inclu
de -isystem /home/KIKE/psptoolchain/build/newlib-1.15.0/newlib/libc/include -DPA
CKAGE_NAME=\"newlib\" -DPACKAGE_TARNAME=\"newlib\" -DPACKAGE_VERSION=\"1.15.0\"
-DPACKAGE_STRING=\"newlib\ 1.15.0\" -DPACKAGE_BUGREPORT=\"\"  -I. -I../../../../
../../newlib/libc/sys/psp -O2 -G0 -mno-explicit-relocs -DCOMPACT_CTYPE -DCLOCK_P
ROVIDED -DHAVE_FCNTL -DHAVE_RENAME -DMALLOC_ALIGNMENT=16 -I/usr/local/pspdev/psp
/sdk/include -fno-builtin      -O2 -g -O2  -DF_socket ../../../../../../newlib/l
ibc/sys/psp/socket.c -c -o socket.o
make[6]: *** [libcglue.o] Error 1
make[6]: *** Se espera a que terminen otras tareas....
../../../../../../newlib/libc/sys/psp/socket.c:19:22: error: psptypes.h: No such
 file or directory
In file included from ../../../../../../newlib/libc/sys/psp/socket.c:20:
../../../../../../newlib/libc/sys/psp/fdman.h:31: error: expected specifier-qual
ifier-list before 'u8'
../../../../../../newlib/libc/sys/psp/socket.c: In function 'socket':
../../../../../../newlib/libc/sys/psp/socket.c:36: error: '__psp_descriptormap_t
ype' has no member named 'sce_descriptor'
../../../../../../newlib/libc/sys/psp/socket.c:37: error: '__psp_descriptormap_t
ype' has no member named 'type'
../../../../../../newlib/libc/sys/psp/socket.c: In function '__psp_socket_close'
:
../../../../../../newlib/libc/sys/psp/socket.c:56: error: '__psp_descriptormap_t
ype' has no member named 'ref_count'
../../../../../../newlib/libc/sys/psp/socket.c:57: error: '__psp_descriptormap_t
ype' has no member named 'sce_descriptor'
make[6]: *** [socket.o] Error 1
make[6]: se sale del directorio `/home/KIKE/psptoolchain/build/newlib-1.15.0/bui
ld-psp/psp/newlib/libc/sys/psp'
make[5]: *** [all-recursive] Error 1
make[5]: se sale del directorio `/home/KIKE/psptoolchain/build/newlib-1.15.0/bui
ld-psp/psp/newlib/libc/sys'
make[4]: *** [all-recursive] Error 1
make[4]: se sale del directorio `/home/KIKE/psptoolchain/build/newlib-1.15.0/bui
ld-psp/psp/newlib/libc'
make[3]: *** [all-recursive] Error 1
make[3]: se sale del directorio `/home/KIKE/psptoolchain/build/newlib-1.15.0/bui
ld-psp/psp/newlib'
make[2]: *** [all] Error 2
make[2]: se sale del directorio `/home/KIKE/psptoolchain/build/newlib-1.15.0/bui
ld-psp/psp/newlib'
make[1]: *** [all-target-newlib] Error 2
make[1]: se sale del directorio `/home/KIKE/psptoolchain/build/newlib-1.15.0/bui
ld-psp'
make: *** [all] Error 2
../scripts/004-newlib-1.15.0.sh: Failed.
It seems to be a path include in newlib makefile but if someone got this error and know how to solve I will aprecciate a little help. Thanks.
User avatar
Raphael
Posts: 646
Joined: Tue Jan 17, 2006 4:54 pm
Location: Germany
Contact:

Post by Raphael »

Most likely you didn't set the PSPDEV path correctly.
Try again, following the steps from the tutorial here:
http://www.psp-programming.com/forums/i ... ,62.0.html
<Don't push the river, it flows.>
http://wordpress.fx-world.org - my devblog
http://wiki.fx-world.org - VFPU documentation wiki

Alexander Berl
Post Reply