Toolchain help

Discuss the development of software, tools, libraries and anything else that helps make ps2dev happen.

Moderators: cheriff, Herben

Post Reply
JorDy
Posts: 121
Joined: Sun Dec 11, 2005 8:45 am

Toolchain help

Post by JorDy »

ok ive been having ALOT of trouble with installing the ps2 toolchain and ive just about ready to give up! ive tried cygwin many times but i keep getting errors

Code: Select all

binutils-2.14/gprof/.gdbinit
binutils-2.14/gprof/ChangeLog
binutils-2.14/gprof/MAINTAINERS
binutils-2.14/gprof/Makefile.am
binutils-2.14/gprof/Makefile.in
binutils-2.14/gprof/README
binutils-2.14/gprof/TEST
binutils-2.14/gprof/TODO
binutils-2.14/gprof/acinclude.m4
binutils-2.14/gprof/aclocal.m4
binutils-2.14/gprof/alpha.c
binutils-2.14/gprof/basic_blocks.c
binutils-2.14/gprof/basic_blocks.h
binutils-2.14/gprof/bb_exit_func.c
binutils-2.14/gprof/bbconv.pl
binutils-2.14/gprof/bsd_callg_bl.m
binutils-2.14/gprof/call_graph.c
binutils-2.14/gprof/call_graph.h
binutils-2.14/gprof/cg_arcs.c
binutils-2.14/gprof/cg_arcs.h
binutils-2.14/gprof/cg_dfn.c
binutils-2.14/gprof/cg_dfn.h
binutils-2.14/gprof/cg_print.c
binutils-2.14/gprof/cg_print.h
binutils-2.14/gprof/configure
binutils-2.14/gprof/configure.in
binutils-2.14/gprof/corefile.c
binutils-2.14/gprof/corefile.h
binutils-2.14/gprof/dep-in.sed
binutils-2.14/gprof/flat_bl.m
binutils-2.14/gprof/fsf_callg_bl.m
binutils-2.14/gprof/gconfig.in
binutils-2.14/gprof/gen-c-prog.awk
binutils-2.14/gprof/gmon.h
binutils-2.14/gprof/gmon_io.c
binutils-2.14/gprof/gmon_io.h
binutils-2.14/gprof/gmon_out.h
binutils-2.14/gprof/gprof.c
binutils-2.14/gprof/gprof.h
binutils-2.14/gprof/gprof.texi
binutils-2.14/gprof/hertz.c
binutils-2.14/gprof/hertz.h
binutils-2.14/gprof/hist.c
binutils-2.14/gprof/hist.h
binutils-2.14/gprof/i386.c
binutils-2.14/gprof/mips.c
binutils-2.14/gprof/search_list.c
binutils-2.14/gprof/search_list.h
binutils-2.14/gprof/source.c
binutils-2.14/gprof/source.h
binutils-2.14/gprof/sparc.c
binutils-2.14/gprof/stamp-h.in
binutils-2.14/gprof/sym_ids.c
binutils-2.14/gprof/sym_ids.h
binutils-2.14/gprof/symtab.c
binutils-2.14/gprof/symtab.h
binutils-2.14/gprof/tahoe.c
binutils-2.14/gprof/utils.c
binutils-2.14/gprof/utils.h
binutils-2.14/gprof/vax.c
binutils-2.14/gprof/flat_bl.c
binutils-2.14/gprof/bsd_callg_bl.c
binutils-2.14/gprof/fsf_callg_bl.c
binutils-2.14/gprof/gprof.info
binutils-2.14/gprof/gprof.info-1
binutils-2.14/gprof/gprof.info-2
binutils-2.14/gprof/gprof.info-3
binutils-2.14/gprof/gprof.1
binutils-2.14/intl/ChangeLog
binutils-2.14/intl/Makefile.in
binutils-2.14/intl/acconfig.h
binutils-2.14/intl/aclocal.m4
binutils-2.14/intl/bindtextdom.c
binutils-2.14/intl/cat-compat.c
binutils-2.14/intl/config.in
binutils-2.14/intl/configure
binutils-2.14/intl/configure.in
binutils-2.14/intl/dcgettext.c
binutils-2.14/intl/dgettext.c
binutils-2.14/intl/explodename.c
binutils-2.14/intl/finddomain.c
binutils-2.14/intl/gettext.c
binutils-2.14/intl/gettext.h
binutils-2.14/intl/gettextP.h
binutils-2.14/intl/hash-string.h
binutils-2.14/intl/intl-compat.c
binutils-2.14/intl/intlh.inst.in
binutils-2.14/intl/l10nflist.c
binutils-2.14/intl/libgettext.h
binutils-2.14/intl/libintl.glibc
binutils-2.14/intl/linux-msg.sed
binutils-2.14/intl/loadinfo.h
binutils-2.14/intl/loadmsgcat.c
binutils-2.14/intl/localealias.c
binutils-2.14/intl/po2tbl.sed.in
binutils-2.14/intl/textdomain.c
binutils-2.14/intl/xopen-msg.sed
binutils-2.14/setup.com
binutils-2.14/makefile.vms
binutils-2.14/mkdep
binutils-2.14/etc/Makefile.in
binutils-2.14/etc/configure
binutils-2.14/etc/configure.in
binutils-2.14/etc/standards.texi
binutils-2.14/etc/make-stds.texi
binutils-2.14/etc/standards.info
binutils-2.14/etc/configure.texi
binutils-2.14/etc/configure.info
binutils-2.14/etc/configure.info-1
binutils-2.14/etc/configure.info-2
binutils-2.14/etc/configure.info-3
binutils-2.14/etc/configbuild.ein
binutils-2.14/etc/configbuild.fig
binutils-2.14/etc/configbuild.jin
binutils-2.14/etc/configbuild.tin
binutils-2.14/etc/configdev.ein
binutils-2.14/etc/configdev.fig
binutils-2.14/etc/configdev.jin
binutils-2.14/etc/configdev.tin
binutils-2.14/etc/fdl.texi
binutils-2.14/etc/texi2pod.pl
binutils-2.14/texinfo/texinfo.tex
binutils-2.14/md5.sum
(Stripping trailing CRs from patch.)
patching file config.sub
Hunk #1 FAILED at 250.
Hunk #2 FAILED at 262.
Hunk #3 FAILED at 323.
Hunk #4 FAILED at 637.
Hunk #5 FAILED at 1151.
5 out of 5 hunks FAILED -- saving rejects to file config.sub.rej
(Stripping trailing CRs from patch.)
patching file configure
(Stripping trailing CRs from patch.)
patching file configure.in
(Stripping trailing CRs from patch.)
patching file bfd/archures.c
(Stripping trailing CRs from patch.)
patching file bfd/bfd-in2.h
(Stripping trailing CRs from patch.)
patching file bfd/config.bfd
(Stripping trailing CRs from patch.)
patching file bfd/configure
(Stripping trailing CRs from patch.)
patching file bfd/configure.in
(Stripping trailing CRs from patch.)
patching file bfd/cpu-mips.c
(Stripping trailing CRs from patch.)
patching file bfd/elf.c
Hunk #2 FAILED at 2244.
Hunk #3 FAILED at 3744.
Hunk #4 FAILED at 3765.
Hunk #5 FAILED at 3780.
Hunk #6 FAILED at 3794.
Hunk #7 FAILED at 3812.
Hunk #8 FAILED at 3825.
Hunk #9 FAILED at 3860.
Hunk #10 FAILED at 3872.
Hunk #11 FAILED at 3977.
Hunk #12 FAILED at 3999.
11 out of 12 hunks FAILED -- saving rejects to file bfd/elf.c.rej
(Stripping trailing CRs from patch.)
patching file bfd/elf32-mips.c
Hunk #2 succeeded at 605 with fuzz 2.
(Stripping trailing CRs from patch.)
patching file bfd/elflink.h
Hunk #1 FAILED at 7238.
Hunk #2 FAILED at 7278.
2 out of 2 hunks FAILED -- saving rejects to file bfd/elflink.h.rej
(Stripping trailing CRs from patch.)
patching file bfd/elfxx-mips.c
Hunk #2 succeeded at 4382 with fuzz 1.
Hunk #3 succeeded at 4443 with fuzz 2.
Hunk #7 FAILED at 7467.
Hunk #9 FAILED at 9333.
2 out of 9 hunks FAILED -- saving rejects to file bfd/elfxx-mips.c.rej
(Stripping trailing CRs from patch.)
patching file bfd/libbfd.h
(Stripping trailing CRs from patch.)
patching file bfd/reloc.c
(Stripping trailing CRs from patch.)
patching file gas/configure
Hunk #2 succeeded at 2424 with fuzz 2.
(Stripping trailing CRs from patch.)
patching file gas/configure.in
Hunk #2 succeeded at 218 with fuzz 2.
(Stripping trailing CRs from patch.)
patching file gas/config/tc-dvp.c
(Stripping trailing CRs from patch.)
patching file gas/config/tc-dvp.h
(Stripping trailing CRs from patch.)
patching file gas/config/tc-mips.c
Hunk #8 FAILED at 2162.
Hunk #9 FAILED at 3029.
Hunk #12 FAILED at 3653.
Hunk #13 FAILED at 3704.
Hunk #14 FAILED at 3714.
Hunk #15 FAILED at 3755.
Hunk #16 FAILED at 3816.
Hunk #17 FAILED at 3847.
Hunk #18 FAILED at 3869.
Hunk #19 FAILED at 4743.
Hunk #20 FAILED at 4768.
Hunk #21 FAILED at 4814.
Hunk #22 FAILED at 4866.
Hunk #23 FAILED at 4941.
Hunk #24 FAILED at 6810.
Hunk #25 FAILED at 6835.
Hunk #26 succeeded at 6862 with fuzz 2.
Hunk #27 FAILED at 6901.
Hunk #28 FAILED at 6918.
Hunk #29 FAILED at 7464.
Hunk #30 FAILED at 7506.
Hunk #31 FAILED at 7747.
Hunk #33 FAILED at 8595.
Hunk #34 FAILED at 8660.
Hunk #36 FAILED at 8779.
Hunk #37 FAILED at 8801.
Hunk #38 FAILED at 8891.
Hunk #39 FAILED at 9014.
Hunk #40 FAILED at 9294.
Hunk #41 FAILED at 9321.
Hunk #42 FAILED at 9394.
Hunk #43 FAILED at 9527.
Hunk #44 FAILED at 9557.
Hunk #45 FAILED at 9636.
Hunk #47 FAILED at 11311.
Hunk #49 succeeded at 11449 with fuzz 1.
Hunk #51 FAILED at 11772.
Hunk #53 succeeded at 12351 with fuzz 2.
Hunk #54 succeeded at 12500 with fuzz 2.
Hunk #57 FAILED at 13221.
36 out of 59 hunks FAILED -- saving rejects to file gas/config/tc-mips.c.rej
(Stripping trailing CRs from patch.)
patching file include/dis-asm.h
(Stripping trailing CRs from patch.)
patching file include/elf/common.h
(Stripping trailing CRs from patch.)
patching file include/elf/mips.h
(Stripping trailing CRs from patch.)
patching file include/opcode/dvp.h
(Stripping trailing CRs from patch.)
patching file include/opcode/mips.h
Hunk #2 FAILED at 251.
Hunk #3 FAILED at 278.
2 out of 7 hunks FAILED -- saving rejects to file include/opcode/mips.h.rej
(Stripping trailing CRs from patch.)
patching file ld/Makefile.am
Hunk #1 FAILED at 154.
Hunk #2 FAILED at 250.
Hunk #3 FAILED at 664.
Hunk #4 FAILED at 1007.
4 out of 4 hunks FAILED -- saving rejects to file ld/Makefile.am.rej
(Stripping trailing CRs from patch.)
patching file ld/Makefile.in
Hunk #1 FAILED at 283.
Hunk #2 FAILED at 364.
Hunk #3 FAILED at 1390.
Hunk #4 FAILED at 1733.
4 out of 4 hunks FAILED -- saving rejects to file ld/Makefile.in.rej
(Stripping trailing CRs from patch.)
patching file ld/configure.tgt
(Stripping trailing CRs from patch.)
patching file ld/emulparams/elf32l5900.sh
(Stripping trailing CRs from patch.)
patching file ld/emulparams/mipsirx.sh
(Stripping trailing CRs from patch.)
patching file ld/emultempl/irx.em
(Stripping trailing CRs from patch.)
patching file ld/scripttempl/irx.sc
(Stripping trailing CRs from patch.)
patching file opcodes/configure
Hunk #1 FAILED at 4671.
1 out of 1 hunk FAILED -- saving rejects to file opcodes/configure.rej
(Stripping trailing CRs from patch.)
patching file opcodes/configure.in
Hunk #1 FAILED at 234.
1 out of 1 hunk FAILED -- saving rejects to file opcodes/configure.in.rej
(Stripping trailing CRs from patch.)
patching file opcodes/disassemble.c
Hunk #2 FAILED at 231.
1 out of 2 hunks FAILED -- saving rejects to file opcodes/disassemble.c.rej
(Stripping trailing CRs from patch.)
patching file opcodes/dvp-dis.c
(Stripping trailing CRs from patch.)
patching file opcodes/dvp-opc.c
(Stripping trailing CRs from patch.)
patching file opcodes/mips-dis.c
Hunk #2 FAILED at 687.
Hunk #3 FAILED at 874.
Hunk #4 FAILED at 1245.
3 out of 5 hunks FAILED -- saving rejects to file opcodes/mips-dis.c.rej
(Stripping trailing CRs from patch.)
patching file opcodes/mips-opc.c
patch unexpectedly ends in middle of line
Hunk #32 succeeded at 1330 with fuzz 1.
ERROR PATCHING BINUTILS
ive also just tried knoppix a live version of linux today which just didnt work either i mounted my drives and everything but o luck does anyone have any suggestion/help
ooPo
Site Admin
Posts: 2023
Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:

Post by ooPo »

1) Be sure to grab the latest toolchain script either from my website at http://www.oopo.net/consoledev or the svn repository. The included README.TXT file contains instructions.

2) Make sure you're using the latest version of cygwin and the related tools it installs. I'm currently running patch 2.5.9, you can find out which version you're running by typing 'patch -v'.

3) Take a look at the wiki instructions for the psptoolchain at http://wiki.pspdev.org/psp:programming_faq - specifically the cygwin section. Most or all of it should apply here as well.
JorDy
Posts: 121
Joined: Sun Dec 11, 2005 8:45 am

Post by JorDy »

thanks il try that now!! the one error it reports at the start is it cannot find gmake which i think is GNUmake but i cant find where to get it from. With knoppix it allways tells me it cant find svn and gmake aswell. il edit if i run into anymore problems.
*edit**sigh*
ok i downloaded all the patch files and the toolchoan shells again, downloaded all the devel and wget and all other commands i need (apart from gmake) again and ran the script again. this time i got this error in cygwin:

Code: Select all

binutils-2.14/gprof/.gdbinit
binutils-2.14/gprof/ChangeLog
binutils-2.14/gprof/MAINTAINERS
binutils-2.14/gprof/Makefile.am
binutils-2.14/gprof/Makefile.in
binutils-2.14/gprof/README
binutils-2.14/gprof/TEST
binutils-2.14/gprof/TODO
binutils-2.14/gprof/acinclude.m4
binutils-2.14/gprof/aclocal.m4
binutils-2.14/gprof/alpha.c
binutils-2.14/gprof/basic_blocks.c
binutils-2.14/gprof/basic_blocks.h
binutils-2.14/gprof/bb_exit_func.c
binutils-2.14/gprof/bbconv.pl
binutils-2.14/gprof/bsd_callg_bl.m
binutils-2.14/gprof/call_graph.c
binutils-2.14/gprof/call_graph.h
binutils-2.14/gprof/cg_arcs.c
binutils-2.14/gprof/cg_arcs.h
binutils-2.14/gprof/cg_dfn.c
binutils-2.14/gprof/cg_dfn.h
binutils-2.14/gprof/cg_print.c
binutils-2.14/gprof/cg_print.h
binutils-2.14/gprof/configure
binutils-2.14/gprof/configure.in
binutils-2.14/gprof/corefile.c
binutils-2.14/gprof/corefile.h
binutils-2.14/gprof/dep-in.sed
binutils-2.14/gprof/flat_bl.m
binutils-2.14/gprof/fsf_callg_bl.m
binutils-2.14/gprof/gconfig.in
binutils-2.14/gprof/gen-c-prog.awk
binutils-2.14/gprof/gmon.h
binutils-2.14/gprof/gmon_io.c
binutils-2.14/gprof/gmon_io.h
binutils-2.14/gprof/gmon_out.h
binutils-2.14/gprof/gprof.c
binutils-2.14/gprof/gprof.h
binutils-2.14/gprof/gprof.texi
binutils-2.14/gprof/hertz.c
binutils-2.14/gprof/hertz.h
binutils-2.14/gprof/hist.c
binutils-2.14/gprof/hist.h
binutils-2.14/gprof/i386.c
binutils-2.14/gprof/mips.c
binutils-2.14/gprof/search_list.c
binutils-2.14/gprof/search_list.h
binutils-2.14/gprof/source.c
binutils-2.14/gprof/source.h
binutils-2.14/gprof/sparc.c
binutils-2.14/gprof/stamp-h.in
binutils-2.14/gprof/sym_ids.c
binutils-2.14/gprof/sym_ids.h
binutils-2.14/gprof/symtab.c
binutils-2.14/gprof/symtab.h
binutils-2.14/gprof/tahoe.c
binutils-2.14/gprof/utils.c
binutils-2.14/gprof/utils.h
binutils-2.14/gprof/vax.c
binutils-2.14/gprof/flat_bl.c
binutils-2.14/gprof/bsd_callg_bl.c
binutils-2.14/gprof/fsf_callg_bl.c
binutils-2.14/gprof/gprof.info
binutils-2.14/gprof/gprof.info-1
binutils-2.14/gprof/gprof.info-2
binutils-2.14/gprof/gprof.info-3
binutils-2.14/gprof/gprof.1
binutils-2.14/intl/ChangeLog
binutils-2.14/intl/Makefile.in
binutils-2.14/intl/acconfig.h
binutils-2.14/intl/aclocal.m4
binutils-2.14/intl/bindtextdom.c
binutils-2.14/intl/cat-compat.c
binutils-2.14/intl/config.in
binutils-2.14/intl/configure
binutils-2.14/intl/configure.in
binutils-2.14/intl/dcgettext.c
binutils-2.14/intl/dgettext.c
binutils-2.14/intl/explodename.c
binutils-2.14/intl/finddomain.c
binutils-2.14/intl/gettext.c
binutils-2.14/intl/gettext.h
binutils-2.14/intl/gettextP.h
binutils-2.14/intl/hash-string.h
binutils-2.14/intl/intl-compat.c
binutils-2.14/intl/intlh.inst.in
binutils-2.14/intl/l10nflist.c
binutils-2.14/intl/libgettext.h
binutils-2.14/intl/libintl.glibc
binutils-2.14/intl/linux-msg.sed
binutils-2.14/intl/loadinfo.h
binutils-2.14/intl/loadmsgcat.c
binutils-2.14/intl/localealias.c
binutils-2.14/intl/po2tbl.sed.in
binutils-2.14/intl/textdomain.c
binutils-2.14/intl/xopen-msg.sed
binutils-2.14/setup.com
binutils-2.14/makefile.vms
binutils-2.14/mkdep
binutils-2.14/etc/Makefile.in
binutils-2.14/etc/configure
binutils-2.14/etc/configure.in
binutils-2.14/etc/standards.texi
binutils-2.14/etc/make-stds.texi
binutils-2.14/etc/standards.info
binutils-2.14/etc/configure.texi
binutils-2.14/etc/configure.info
binutils-2.14/etc/configure.info-1
binutils-2.14/etc/configure.info-2
binutils-2.14/etc/configure.info-3
binutils-2.14/etc/configbuild.ein
binutils-2.14/etc/configbuild.fig
binutils-2.14/etc/configbuild.jin
binutils-2.14/etc/configbuild.tin
binutils-2.14/etc/configdev.ein
binutils-2.14/etc/configdev.fig
binutils-2.14/etc/configdev.jin
binutils-2.14/etc/configdev.tin
binutils-2.14/etc/fdl.texi
binutils-2.14/etc/texi2pod.pl
binutils-2.14/texinfo/texinfo.tex
binutils-2.14/md5.sum
(Stripping trailing CRs from patch.)
patching file config.sub
Hunk #1 FAILED at 250.
Hunk #2 FAILED at 262.
Hunk #3 FAILED at 323.
Hunk #4 FAILED at 637.
Hunk #5 FAILED at 1151.
5 out of 5 hunks FAILED -- saving rejects to file config.sub.rej
(Stripping trailing CRs from patch.)
patching file configure
(Stripping trailing CRs from patch.)
patching file configure.in
(Stripping trailing CRs from patch.)
patching file bfd/archures.c
(Stripping trailing CRs from patch.)
patching file bfd/bfd-in2.h
(Stripping trailing CRs from patch.)
patching file bfd/config.bfd
(Stripping trailing CRs from patch.)
patching file bfd/configure
(Stripping trailing CRs from patch.)
patching file bfd/configure.in
(Stripping trailing CRs from patch.)
patching file bfd/cpu-mips.c
(Stripping trailing CRs from patch.)
patching file bfd/elf.c
Hunk #2 FAILED at 2244.
Hunk #3 FAILED at 3744.
Hunk #4 FAILED at 3765.
Hunk #5 FAILED at 3780.
Hunk #6 FAILED at 3794.
Hunk #7 FAILED at 3812.
Hunk #8 FAILED at 3825.
Hunk #9 FAILED at 3860.
Hunk #10 FAILED at 3872.
Hunk #11 FAILED at 3977.
Hunk #12 FAILED at 3999.
11 out of 12 hunks FAILED -- saving rejects to file bfd/elf.c.rej
(Stripping trailing CRs from patch.)
patching file bfd/elf32-mips.c
Hunk #2 succeeded at 605 with fuzz 2.
(Stripping trailing CRs from patch.)
patching file bfd/elflink.h
Hunk #1 FAILED at 7238.
Hunk #2 FAILED at 7278.
2 out of 2 hunks FAILED -- saving rejects to file bfd/elflink.h.rej
(Stripping trailing CRs from patch.)
patching file bfd/elfxx-mips.c
Hunk #2 succeeded at 4382 with fuzz 1.
Hunk #3 succeeded at 4443 with fuzz 2.
Hunk #7 FAILED at 7467.
Hunk #9 FAILED at 9333.
2 out of 9 hunks FAILED -- saving rejects to file bfd/elfxx-mips.c.rej
(Stripping trailing CRs from patch.)
patching file bfd/libbfd.h
(Stripping trailing CRs from patch.)
patching file bfd/reloc.c
(Stripping trailing CRs from patch.)
patching file gas/configure
Hunk #2 succeeded at 2424 with fuzz 2.
(Stripping trailing CRs from patch.)
patching file gas/configure.in
Hunk #2 succeeded at 218 with fuzz 2.
(Stripping trailing CRs from patch.)
patching file gas/config/tc-dvp.c
(Stripping trailing CRs from patch.)
patching file gas/config/tc-dvp.h
(Stripping trailing CRs from patch.)
patching file gas/config/tc-mips.c
Hunk #8 FAILED at 2162.
Hunk #9 FAILED at 3029.
Hunk #12 FAILED at 3653.
Hunk #13 FAILED at 3704.
Hunk #14 FAILED at 3714.
Hunk #15 FAILED at 3755.
Hunk #16 FAILED at 3816.
Hunk #17 FAILED at 3847.
Hunk #18 FAILED at 3869.
Hunk #19 FAILED at 4743.
Hunk #20 FAILED at 4768.
Hunk #21 FAILED at 4814.
Hunk #22 FAILED at 4866.
Hunk #23 FAILED at 4941.
Hunk #24 FAILED at 6810.
Hunk #25 FAILED at 6835.
Hunk #26 succeeded at 6862 with fuzz 2.
Hunk #27 FAILED at 6901.
Hunk #28 FAILED at 6918.
Hunk #29 FAILED at 7464.
Hunk #30 FAILED at 7506.
Hunk #31 FAILED at 7747.
Hunk #33 FAILED at 8595.
Hunk #34 FAILED at 8660.
Hunk #36 FAILED at 8779.
Hunk #37 FAILED at 8801.
Hunk #38 FAILED at 8891.
Hunk #39 FAILED at 9014.
Hunk #40 FAILED at 9294.
Hunk #41 FAILED at 9321.
Hunk #42 FAILED at 9394.
Hunk #43 FAILED at 9527.
Hunk #44 FAILED at 9557.
Hunk #45 FAILED at 9636.
Hunk #47 FAILED at 11311.
Hunk #49 succeeded at 11449 with fuzz 1.
Hunk #51 FAILED at 11772.
Hunk #53 succeeded at 12351 with fuzz 2.
Hunk #54 succeeded at 12500 with fuzz 2.
Hunk #57 FAILED at 13221.
36 out of 59 hunks FAILED -- saving rejects to file gas/config/tc-mips.c.rej
(Stripping trailing CRs from patch.)
patching file include/dis-asm.h
(Stripping trailing CRs from patch.)
patching file include/elf/common.h
(Stripping trailing CRs from patch.)
patching file include/elf/mips.h
(Stripping trailing CRs from patch.)
patching file include/opcode/dvp.h
(Stripping trailing CRs from patch.)
patching file include/opcode/mips.h
Hunk #2 FAILED at 251.
Hunk #3 FAILED at 278.
2 out of 7 hunks FAILED -- saving rejects to file include/opcode/mips.h.rej
(Stripping trailing CRs from patch.)
patching file ld/Makefile.am
Hunk #1 FAILED at 154.
Hunk #2 FAILED at 250.
Hunk #3 FAILED at 664.
Hunk #4 FAILED at 1007.
4 out of 4 hunks FAILED -- saving rejects to file ld/Makefile.am.rej
(Stripping trailing CRs from patch.)
patching file ld/Makefile.in
Hunk #1 FAILED at 283.
Hunk #2 FAILED at 364.
Hunk #3 FAILED at 1390.
Hunk #4 FAILED at 1733.
4 out of 4 hunks FAILED -- saving rejects to file ld/Makefile.in.rej
(Stripping trailing CRs from patch.)
patching file ld/configure.tgt
(Stripping trailing CRs from patch.)
patching file ld/emulparams/elf32l5900.sh
(Stripping trailing CRs from patch.)
patching file ld/emulparams/mipsirx.sh
(Stripping trailing CRs from patch.)
patching file ld/emultempl/irx.em
(Stripping trailing CRs from patch.)
patching file ld/scripttempl/irx.sc
(Stripping trailing CRs from patch.)
patching file opcodes/configure
Hunk #1 FAILED at 4671.
1 out of 1 hunk FAILED -- saving rejects to file opcodes/configure.rej
(Stripping trailing CRs from patch.)
patching file opcodes/configure.in
Hunk #1 FAILED at 234.
1 out of 1 hunk FAILED -- saving rejects to file opcodes/configure.in.rej
(Stripping trailing CRs from patch.)
patching file opcodes/disassemble.c
Hunk #2 FAILED at 231.
1 out of 2 hunks FAILED -- saving rejects to file opcodes/disassemble.c.rej
(Stripping trailing CRs from patch.)
patching file opcodes/dvp-dis.c
(Stripping trailing CRs from patch.)
patching file opcodes/dvp-opc.c
(Stripping trailing CRs from patch.)
patching file opcodes/mips-dis.c
Hunk #2 FAILED at 687.
Hunk #3 FAILED at 874.
Hunk #4 FAILED at 1245.
3 out of 5 hunks FAILED -- saving rejects to file opcodes/mips-dis.c.rej
(Stripping trailing CRs from patch.)
patching file opcodes/mips-opc.c
patch unexpectedly ends in middle of line
Hunk #32 succeeded at 1330 with fuzz 1.
ERROR PATCHING BINUTILS
mmm.. i havent examined the error yet but im about to
JorDy
Posts: 121
Joined: Sun Dec 11, 2005 8:45 am

Post by JorDy »

ive now got knoppix installed onto my hdd and making progress but i cannot find the commands SVN and GMAKE im searching through kpackage now to try and find SVN, what is its actuall package name? and what is gmakes package name?
User avatar
Lukasz
Posts: 248
Joined: Mon Jan 19, 2004 8:37 pm
Location: Denmark
Contact:

Post by Lukasz »

SVN is short for Subversion and gmake is short for GNU Make.
JorDy
Posts: 121
Joined: Sun Dec 11, 2005 8:45 am

Post by JorDy »

couldnt find GMAKE but i exploered line 68 where the error was and it asks if gmake is there if not then i will use make. but i got everything to build correctly!!
i have tried to MAKE the sample 'hello' but have an error

Code: Select all

root@jordy:/home/jordan# cd /usr/local/ps2dev/ps2sdk/samples/hello
root@jordy:/usr/local/ps2dev/ps2sdk/samples/hello# ls
Makefile  hello.c  prof.c
root@jordy:/usr/local/ps2dev/ps2sdk/samples/hello# make
ee-gcc -D_EE -O2 -G0 -Wall  -I/usr/local/ps2dev/ps2sdk/ee/include -I/usr/local/p                                                s2dev/ps2sdk/common/include -I.  -c hello.c -o hello.o
make: ee-gcc: Command not found
make: *** [hello.o] Error 127
root@jordy:/usr/local/ps2dev/ps2sdk/samples/hello#
any suggestions? i know im missing a file but what file exactly? ddoes it install with toolchain.sh???
ooPo
Site Admin
Posts: 2023
Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:

Post by ooPo »

Once finished, you need to add the following to your login settings:

## PS2DEV SETTINGS
export PS2DEV="/usr/local/ps2dev"
export PS2SDK="$PS2DEV/ps2sdk"
export PATH="$PATH:$PS2DEV/bin:$PS2DEV/ee/bin:$PS2DEV/iop/bin:$PS2DEV/dvp/bin:$PS2SDK/bin"

Then you're done!
Did you forget this step from the readme.txt?
JorDy
Posts: 121
Joined: Sun Dec 11, 2005 8:45 am

Post by JorDy »

no i did that! it got compile what i do after it makes the hello.o(object) and hello.erl files?

*ive been googling for ages cant work out what to do next please someone help asap
JorDy
Posts: 121
Joined: Sun Dec 11, 2005 8:45 am

Post by JorDy »

please help me :(
cnlohr3
Posts: 4
Joined: Sun Feb 05, 2006 2:05 pm

Post by cnlohr3 »

I'm actually having the same question... what exactly is the difference between a .erl and a .elf file?

*EDIT* ok, I found it http://forums.ps2dev.org/viewtopic.php?t=1551

*EDIT*

If you want a final .elf file output, you should modify your Makefile to be EE_BIN's, instead of EE_ERL's and your erl to an elf.

But hey, I just now realized how old this topic was and how unlikely my help will be used.
JorDy
Posts: 121
Joined: Sun Dec 11, 2005 8:45 am

Post by JorDy »

yeah mate i worked this out long time ago ;)
Post Reply