pouët.net

Go to bottom

problems compiling PS2 toolchain

category: code [glöplog]
 
Trying to compile ps2 toolchain on ubuntu 13.10, but binutils seems to have issues:

Code:Making install in doc make[2]: Entering directory `/home/rebb/ps2toolchain/build/binutils-2.14/build-ee/gas/doc' make[3]: Entering directory `/home/rebb/ps2toolchain/build/binutils-2.14/build-ee/gas/doc' make[3]: Nothing to be done for `install-exec-am'. make install-man1 make[4]: Entering directory `/home/rebb/ps2toolchain/build/binutils-2.14/build-ee/gas/doc' /bin/sh ../../../gas/../mkinstalldirs /usr/local/ps2dev/ee/man/man1 /bin/sh /home/rebb/ps2toolchain/build/binutils-2.14/install-sh -c -m 644 ../../../gas/doc/as.1 /usr/local/ps2dev/ee/man/man1/ee-as.1 make[4]: Leaving directory `/home/rebb/ps2toolchain/build/binutils-2.14/build-ee/gas/doc' make[3]: Leaving directory `/home/rebb/ps2toolchain/build/binutils-2.14/build-ee/gas/doc' makeinfo --no-split -I ../../../gas/doc ../../../gas/doc/as.texinfo ../../../gas/doc/as.texinfo:3628: @itemx must follow @item ../../../gas/doc/as.texinfo:3630: @itemx must follow @item ../../../gas/doc/as.texinfo:3632: @itemx must follow @item ../../../gas/doc/c-hppa.texi:184: warning: undefined flag: as ../../../gas/doc/c-mips.texi:142: @itemx must follow @item ../../../gas/doc/c-tic54x.texi:112: @code expected braces ../../../gas/doc/c-tic54x.texi:129: @code expected braces ../../../gas/doc/c-tic54x.texi:136: @code expected braces ../../../gas/doc/c-tic54x.texi:312: @code expected braces ../../../gas/doc/c-tic54x.texi:347: @itemx must follow @item ../../../gas/doc/as.texinfo:4573: warning: node next `Line' in menu `Ln' and in sectioning `Linkonce' differ ../../../gas/doc/as.texinfo:4613: warning: node next `Linkonce' in menu `List' and in sectioning `Ln' differ ../../../gas/doc/as.texinfo:4613: warning: node prev `Linkonce' in menu `Ln' and in sectioning `Line' differ ../../../gas/doc/as.texinfo:4650: warning: node next `Ln' in menu `Linkonce' and in sectioning `MRI' differ ../../../gas/doc/as.texinfo:4650: warning: node prev `Ln' in menu `Line' and in sectioning `Linkonce' differ ../../../gas/doc/as.texinfo:4671: warning: node next `MRI' in menu `Nolist' and in sectioning `List' differ ../../../gas/doc/as.texinfo:4671: warning: node prev `MRI' in menu `Macro' and in sectioning `Ln' differ ../../../gas/doc/as.texinfo:4681: warning: node prev `List' in menu `Linkonce' and in sectioning `MRI' differ ../../../gas/doc/as.texinfo:4723: warning: node next `Macro' in menu `MRI' and in sectioning `Nolist' differ ../../../gas/doc/as.texinfo:4816: warning: node prev `Nolist' in menu `MRI' and in sectioning `Macro' differ ../../../gas/doc/as.texinfo:4876: warning: node next `P2align' in menu `PopSection' and in sectioning `Previous' differ ../../../gas/doc/as.texinfo:4914: warning: node next `Previous' in menu `Print' and in sectioning `PopSection' differ ../../../gas/doc/as.texinfo:4914: warning: node prev `Previous' in menu `PopSection' and in sectioning `P2align' differ ../../../gas/doc/as.texinfo:4934: warning: node next `PopSection' in menu `Previous' and in sectioning `Print' differ ../../../gas/doc/as.texinfo:4934: warning: node prev `PopSection' in menu `P2align' and in sectioning `Previous' differ ../../../gas/doc/as.texinfo:4949: warning: node prev `Print' in menu `Previous' and in sectioning `PopSection' differ ../../../gas/doc/as.texinfo:5293: warning: node next `Size' in menu `Skip' and in sectioning `Sleb128' differ ../../../gas/doc/as.texinfo:5339: warning: node next `Sleb128' in menu `Space' and in sectioning `Skip' differ ../../../gas/doc/as.texinfo:5339: warning: node prev `Sleb128' in menu `Skip' and in sectioning `Size' differ ../../../gas/doc/as.texinfo:5348: warning: node next `Skip' in menu `Sleb128' and in sectioning `Space' differ ../../../gas/doc/as.texinfo:5348: warning: node prev `Skip' in menu `Size' and in sectioning `Sleb128' differ ../../../gas/doc/as.texinfo:5358: warning: node prev `Space' in menu `Sleb128' and in sectioning `Skip' differ ../../../gas/doc/c-i386.texi:608: warning: node next `i386-16bit' in menu `i386-Arch' and in sectioning `i386-Bugs' differ ../../../gas/doc/c-i386.texi:659: warning: node next `i386-Bugs' in menu `i386-Notes' and in sectioning `i386-Arch' differ ../../../gas/doc/c-i386.texi:659: warning: node prev `i386-Bugs' in menu `i386-Arch' and in sectioning `i386-16bit' differ ../../../gas/doc/c-i386.texi:680: warning: node next `i386-Arch' in menu `i386-Bugs' and in sectioning `i386-Notes' differ ../../../gas/doc/c-i386.texi:680: warning: node prev `i386-Arch' in menu `i386-16bit' and in sectioning `i386-Bugs' differ ../../../gas/doc/c-i386.texi:728: warning: node prev `i386-Notes' in menu `i386-Bugs' and in sectioning `i386-Arch' differ ../../../gas/doc/c-msp430.texi:6: warning: node next `MSP430-Dependent' in menu `SH-Dependent' and in sectioning `PDP-11-Dependent' differ ../../../gas/doc/c-pdp11.texi:6: warning: node prev `PDP-11-Dependent' in menu `SH64-Dependent' and in sectioning `MSP430-Dependent' differ ../../../gas/doc/c-ppc.texi:7: warning: node next `PPC-Dependent' in menu `Sparc-Dependent' and in sectioning `SH-Dependent' differ ../../../gas/doc/c-sh.texi:6: warning: node prev `SH-Dependent' in menu `MSP430-Dependent' and in sectioning `PPC-Dependent' differ ../../../gas/doc/c-sh64.texi:5: warning: node next `SH64-Dependent' in menu `PDP-11-Dependent' and in sectioning `Sparc-Dependent' differ ../../../gas/doc/c-sparc.texi:7: warning: node prev `Sparc-Dependent' in menu `PPC-Dependent' and in sectioning `SH64-Dependent' differ ../../../gas/doc/c-tic54x.texi:7: warning: node next `TIC54X-Dependent' in menu `V850-Dependent' and in sectioning `Z8000-Dependent' differ ../../../gas/doc/c-z8k.texi:6: warning: node prev `Z8000-Dependent' in menu `Xtensa-Dependent' and in sectioning `TIC54X-Dependent' differ ../../../gas/doc/c-vax.texi:7: warning: node `V850-Dependent' is next for `Vax-Dependent' in sectioning but not in menu ../../../gas/doc/c-v850.texi:5: warning: node prev `V850-Dependent' in menu `TIC54X-Dependent' and in sectioning `Vax-Dependent' differ ../../../gas/doc/c-xtensa.texi:7: warning: node `Z8000-Dependent' is next for `Xtensa-Dependent' in menu but not in sectioning make[2]: *** [as.info] Error 1 make[2]: Leaving directory `/home/rebb/ps2toolchain/build/binutils-2.14/build-ee/gas/doc' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/home/rebb/ps2toolchain/build/binutils-2.14/build-ee/gas' make: *** [install-gas] Error 2 ../scripts/001-binutils-2.14.sh: Failed. ERROR: Could not run the toolchain script.


Any ideas how to fix this? Or where to ask help?
added on the 2014-01-28 21:39:29 by Rebb Rebb
did you check if it installed correctly? IIRC the docs are being generated last anyway.

other than that, i'd just replace the offending texi files by empty dummies =P
added on the 2014-01-29 06:58:20 by groepaz groepaz
to me it looks like a similar problem i had with the psp toolchain. texinfo introduced new strictness regarding certain keywords. you'd probably need to patch the tex doc files similar to this pspdev patch

fixing these should help.
Code: ../../../gas/doc/as.texinfo:3628: @itemx must follow @item ../../../gas/doc/as.texinfo:3630: @itemx must follow @item ../../../gas/doc/as.texinfo:3632: @itemx must follow @item ../../../gas/doc/c-hppa.texi:184: warning: undefined flag: as ../../../gas/doc/c-mips.texi:142: @itemx must follow @item ../../../gas/doc/c-tic54x.texi:112: @code expected braces ../../../gas/doc/c-tic54x.texi:129: @code expected braces ../../../gas/doc/c-tic54x.texi:136: @code expected braces ../../../gas/doc/c-tic54x.texi:312: @code expected braces ../../../gas/doc/c-tic54x.texi:347: @itemx must follow @item
added on the 2014-01-29 17:23:34 by nemesis nemesis
here's the patchfile. should be clearer than the link i posted above, sorry. patch.
just replace @itemx with @item. just need to figure out where to put the braces for @code :)
added on the 2014-01-29 17:29:36 by nemesis nemesis

login

Go to top