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 

Problem with setting up psptoolchain

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
steffven



Joined: 19 May 2008
Posts: 28

PostPosted: Tue Aug 26, 2008 8:01 am    Post subject: Problem with setting up psptoolchain Reply with quote

I tried to compile the toolchain, but everytime it says:
Code:
***@*** ~/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?
Back to top
View user's profile Send private message
WosRet



Joined: 23 Apr 2008
Posts: 15
Location: Confoederatio Helveticae

PostPosted: Tue Aug 26, 2008 8:32 am    Post subject: Reply with quote

i guess you are installing this under cygwin. in cygwin installation you have to select gmp-devel and mpfr-devel in math submenu.
Back to top
View user's profile Send private message
steffven



Joined: 19 May 2008
Posts: 28

PostPosted: Tue Aug 26, 2008 8:48 am    Post subject: Reply with quote

Thanks man it works now :)
Back to top
View user's profile Send private message
egorive



Joined: 22 Jun 2006
Posts: 24

PostPosted: Thu Aug 28, 2008 2:12 pm    Post subject: i got this one Reply with quote

I got this one when installing psptoolchain-20080610 version.

Code:

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.
Back to top
View user's profile Send private message
Raphael



Joined: 17 Jan 2006
Posts: 646
Location: Germany

PostPosted: Thu Aug 28, 2008 8:41 pm    Post subject: Reply with quote

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/index.php/topic,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
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
Page 1 of 1

 
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