| View previous topic :: View next topic |
| Author |
Message |
Cybershot
Joined: 16 Feb 2007 Posts: 1
|
Posted: Fri Feb 16, 2007 9:31 pm Post subject: ERROR BUILDING BINUTILS (binutils-2.14 ee) |
|
|
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 |
|
 |
ps2devman
Joined: 09 Oct 2006 Posts: 265
|
Posted: Wed Feb 21, 2007 11:33 pm Post subject: |
|
|
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 |
|
 |
|