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
$