installing psp toolchain

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

Moderators: cheriff, TyRaNiD

Post Reply
siddharth_univ
Posts: 2
Joined: Sun Feb 22, 2009 7:24 am

installing psp toolchain

Post by siddharth_univ »

Hey guys,

I get an error when installing the psp toolchain. I followed the tutorials from this link http://forums.qj.net/archive/index.php/t-112727.html and some other sites and i got this error. I believe i have installed all the required packages from cygwin. I am using windows xp.

Please guys help me out here!!

Code: Select all

Making all in stdio
make[5]: Entering directory `/home/Siddharth/psptoolchain/build/newlib-1.16.0/bu
ild-psp/psp/newlib/libc/stdio'
psp-gcc -B/home/Siddharth/psptoolchain/build/newlib-1.16.0/build-psp/psp/newlib/
 -isystem /home/Siddharth/psptoolchain/build/newlib-1.16.0/build-psp/psp/newlib/
targ-include -isystem /home/Siddharth/psptoolchain/build/newlib-1.16.0/newlib/li
bc/include -DPACKAGE_NAME=\"newlib\" -DPACKAGE_TARNAME=\"newlib\" -DPACKAGE_VERS
ION=\"1.16.0\" -DPACKAGE_STRING=\"newlib\ 1.16.0\" -DPACKAGE_BUGREPORT=\"\" -I.
-I../../../../../newlib/libc/stdio -O2 -G0 -mno-explicit-relocs -DCOMPACT_CTYPE
-DCLOCK_PROVIDED -DHAVE_FCNTL -DHAVE_RENAME -DMALLOC_ALIGNMENT=16 -I/usr/local/p
spdev/psp/sdk/include -fno-builtin      -O2 -g -g -O2   -c -o lib_a-clearerr.o `
test -f 'clearerr.c' || echo '../../../../../newlib/libc/stdio/'`clearerr.c
psp-gcc -B/home/Siddharth/psptoolchain/build/newlib-1.16.0/build-psp/psp/newlib/
 -isystem /home/Siddharth/psptoolchain/build/newlib-1.16.0/build-psp/psp/newlib/
targ-include -isystem /home/Siddharth/psptoolchain/build/newlib-1.16.0/newlib/li
bc/include -DPACKAGE_NAME=\"newlib\" -DPACKAGE_TARNAME=\"newlib\" -DPACKAGE_VERS
ION=\"1.16.0\" -DPACKAGE_STRING=\"newlib\ 1.16.0\" -DPACKAGE_BUGREPORT=\"\" -I.
-I../../../../../newlib/libc/stdio -O2 -G0 -mno-explicit-relocs -DCOMPACT_CTYPE
-DCLOCK_PROVIDED -DHAVE_FCNTL -DHAVE_RENAME -DMALLOC_ALIGNMENT=16 -I/usr/local/p
spdev/psp/sdk/include -fno-builtin      -O2 -g -g -O2   -c -o lib_a-fclose.o `te
st -f 'fclose.c' || echo '../../../../../newlib/libc/stdio/'`fclose.c
psp-gcc -B/home/Siddharth/psptoolchain/build/newlib-1.16.0/build-psp/psp/newlib/
 -isystem /home/Siddharth/psptoolchain/build/newlib-1.16.0/build-psp/psp/newlib/
targ-include -isystem /home/Siddharth/psptoolchain/build/newlib-1.16.0/newlib/li
bc/include -DPACKAGE_NAME=\"newlib\" -DPACKAGE_TARNAME=\"newlib\" -DPACKAGE_VERS
ION=\"1.16.0\" -DPACKAGE_STRING=\"newlib\ 1.16.0\" -DPACKAGE_BUGREPORT=\"\" -I.
-I../../../../../newlib/libc/stdio -O2 -G0 -mno-explicit-relocs -DCOMPACT_CTYPE
-DCLOCK_PROVIDED -DHAVE_FCNTL -DHAVE_RENAME -DMALLOC_ALIGNMENT=16 -I/usr/local/p
spdev/psp/sdk/include -fno-builtin      -O2 -g -g -O2   -c -o lib_a-fdopen.o `te
st -f 'fdopen.c' || echo '../../../../../newlib/libc/stdio/'`fdopen.c
../../../../../newlib/libc/stdio/fclose.c: In function '_fclose_r':
../../../../../newlib/libc/stdio/fclose.c:93: error: too many arguments to funct
ion 'fp->_close'
../../../../../newlib/libc/stdio/fdopen.c: In function '_fdopen_r':
../../../../../newlib/libc/stdio/fdopen.c:115: warning: assignment from incompat
ible pointer type
../../../../../newlib/libc/stdio/fdopen.c:116: warning: assignment from incompat
ible pointer type
../../../../../newlib/libc/stdio/fdopen.c:117: warning: assignment from incompat
ible pointer type
../../../../../newlib/libc/stdio/fdopen.c:118: warning: assignment from incompat
ible pointer type
make[5]: *** [lib_a-fclose.o] Error 1
make[5]: *** Waiting for unfinished jobs....
make[5]: Leaving directory `/home/Siddharth/psptoolchain/build/newlib-1.16.0/bui
ld-psp/psp/newlib/libc/stdio'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/Siddharth/psptoolchain/build/newlib-1.16.0/bui
ld-psp/psp/newlib/libc'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/Siddharth/psptoolchain/build/newlib-1.16.0/bui
ld-psp/psp/newlib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/Siddharth/psptoolchain/build/newlib-1.16.0/bui
ld-psp/psp/newlib'
make[1]: *** [all-target-newlib] Error 2
make[1]: Leaving directory `/home/Siddharth/psptoolchain/build/newlib-1.16.0/bui
ld-psp'
make: *** [all] Error 2
../scripts/004-newlib-1.16.0.sh: Failed.

Siddharth@VALUED-11599CE5 ~/psptoolchain
$
-Siddharth
siddharth_univ
Posts: 2
Joined: Sun Feb 22, 2009 7:24 am

Post by siddharth_univ »

anyone? any suggestions??
Dariusc123456
Posts: 388
Joined: Tue Aug 12, 2008 12:46 am

Post by Dariusc123456 »

Dont try to expect a quick answers. People may not reply then.

Have you try using the precompiled toolchain? Unless you have some modified scripts, I suggest you use the precompiled one, for its up-to-date.
User avatar
Wally
Posts: 663
Joined: Mon Sep 26, 2005 11:25 am

Post by Wally »

That tutorial you used is fairly out of date, there's a few more libraries you need.
autoconf, automake, bison, flex, gcc, libusb-dev, make, ncurses,
patch, readline, subversion, texinfo, wget
is the minumum requirement.

Have you got a Config.log to show us?

I agree with Darius here, i'd be using hemidals precompiled toolchain and then updating it yourself, you don't need cygwin that way.
User avatar
Torch
Posts: 825
Joined: Wed May 28, 2008 2:50 am

Post by Torch »

I reinstalled under cygwin recently. The only changes in packages you need are Install All from Devel, and WGET from Web.

Then just edit your cygwin.bat something like this.
@echo off

D:
chdir D:\cygwin\bin

set PSPDEV=/usr/local/pspdev
set path=%path%;D:/cygwin/usr/local/pspdev/bin
bash --login -i
Post Reply