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 

ERROR BUILDING BINUTILS (binutils-2.14 ee)

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



Joined: 16 Feb 2007
Posts: 1

PostPosted: Fri Feb 16, 2007 9:31 pm    Post subject: ERROR BUILDING BINUTILS (binutils-2.14 ee) Reply with quote

Hi,

I am trying to get into programming the ps2 and have dificulties installing the ps2toolchain.

I am trying to follow the steps in lukasz tut : http://lukasz.dk/programming/playstation-2/cygwin-tutorial/

I am running Win XP and newest Cygwin.

I run these commands:
Code:
svn checkout svn://svn.ps2dev.org/ps2/trunk/ps2toolchain
chmod a+x ./toolchain.sh
./toolchain.sh

Then the toolchain.sh script starts its work... then terminates with these lines:
Code:

[...]
mkdir .libs
gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -o size.exe size.o bucomm.o version.o filemode.o  ../bfd/.libs/libbfd
.a ../libiberty/libiberty.a ./../intl/libintl.a
../bfd/.libs/libbfd.a(archures.o): In function `bfd_scan_arch':
/tmp/ps2dev/binutils-2.14/build-ee/bfd/../../bfd/archures.c:520: undefined reference to `_bfd_mips_arch'
collect2: ld returned 1 exit status
make[3]: *** [size.exe] Error 1
make[3]: Leaving directory `/tmp/ps2dev/binutils-2.14/build-ee/binutils'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/ps2dev/binutils-2.14/build-ee/binutils'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/tmp/ps2dev/binutils-2.14/build-ee/binutils'
make: *** [all-binutils] Error 2
ERROR BUILDING BINUTILS (binutils-2.14 ee)



I would really appreciate some help! Thanks.
Back to top
View user's profile Send private message
ps2devman



Joined: 09 Oct 2006
Posts: 265

PostPosted: Wed Feb 21, 2007 11:33 pm    Post subject: Reply with quote

maybe, try, in a separate folder, manually, what does ps2toolchain :
- download this : ftp://ftp.gnu.org/pub/gnu/binutils/binutils-2.14.tar.gz
- uncompress it somewhere in your cygwin account directory
- "cd binutils-2.14"
- "patch -i binutils-2.14.patch -p0" (from ps2dev toolchain -svn-)
- "./configure --target=iop"
- "make"
- "./configure --target=ee"
- "make"
- "./configure --target=dvp"
- "make"

"make" instead of "make install" so result stays inside folder and you can try to narrow where the problem comes from
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 -> PS2 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