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 

installing psp toolchain

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



Joined: 22 Feb 2009
Posts: 2

PostPosted: Sun Feb 22, 2009 7:32 am    Post subject: installing psp toolchain Reply with quote

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:
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
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
siddharth_univ



Joined: 22 Feb 2009
Posts: 2

PostPosted: Sun Feb 22, 2009 10:54 am    Post subject: Reply with quote

anyone? any suggestions??
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Dariusc123456



Joined: 12 Aug 2008
Posts: 394

PostPosted: Sun Feb 22, 2009 11:27 am    Post subject: Reply with quote

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



Joined: 26 Sep 2005
Posts: 672

PostPosted: Sun Feb 22, 2009 1:17 pm    Post subject: Reply with quote

That tutorial you used is fairly out of date, there's a few more libraries you need.

Quote:
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.
Back to top
View user's profile Send private message AIM Address
Torch



Joined: 28 May 2008
Posts: 842

PostPosted: Mon Feb 23, 2009 12:41 am    Post subject: Reply with quote

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