Hi There, I was building viengoos an AMD64 and I got this errer on "make":
[arnuld@arch64 build]$ make make all-recursive make[1]: Entering directory '/mnt/sda5/DESKTOP/viengoos/build' make[2]: Entering directory '/mnt/sda5/DESKTOP/viengoos/build' wget ftp://ftp.gnu.org/gnu/binutils/binutils-2.19.tar.bz2 -O ../binutils/binutils-2.19.tar.bz2 --2014-08-24 10:25:52-- ftp://ftp.gnu.org/gnu/binutils/binutils-2.19.tar.bz2 => ‘../binutils/binutils-2.19.tar.bz2’ Resolving ftp.gnu.org (ftp.gnu.org)... 208.118.235.20, 2001:4830:134:3::b Connecting to ftp.gnu.org (ftp.gnu.org)|208.118.235.20|:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD (1) /gnu/binutils ... done. ==> SIZE binutils-2.19.tar.bz2 ... done. ==> PASV ... done. ==> RETR binutils-2.19.tar.bz2 ... No such file ‘binutils-2.19.tar.bz2’. Makefile:1150: recipe for target '../binutils/binutils-2.19.tar.bz2' failed make[2]: *** [../binutils/binutils-2.19.tar.bz2] Error 8 make[2]: Leaving directory '/mnt/sda5/DESKTOP/viengoos/build' Makefile:716: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/mnt/sda5/DESKTOP/viengoos/build' Makefile:653: recipe for target 'all' failed make: *** [all] Error 2 [arnuld@arch64 build]$ As you see it can not find binutils source, I checked out the location (ftp://ftp.gnu.org/gnu/binutils/) and noticed there is no "binutils-2.19.tar.bz2", only "binutils-2.19.1.tar.bz2" and "binutils-2.19.1a.tar.bz2" are present and hence I modified Makefile to point to "binutils-2.19.1.tar.bz2" (you have to edit line number 638). It downloaded binutills fine but threw a compilation error: In file included from /mnt/sda5/DESKTOP/viengoos/binutils/binutils/bfd/opncls.c:26:0: /mnt/sda5/DESKTOP/viengoos/binutils/binutils/bfd/opncls.c: In function 'bfd_fopen': ./bfd.h:518:65: error: right-hand operand of comma expression has no effect [-Werror=unused-value] #define bfd_set_cacheable(abfd,bool) (((abfd)->cacheable = bool), TRUE) ^ /mnt/sda5/DESKTOP/viengoos/binutils/binutils/bfd/opncls.c:235:5: note: in expansion of macro 'bfd_set_cacheable' bfd_set_cacheable (nbfd, TRUE); ^ cc1: all warnings being treated as errors Makefile:1074: recipe for target 'opncls.lo' failed make[7]: *** [opncls.lo] Error 1 make[7]: Leaving directory '/mnt/sda5/DESKTOP/viengoos/build/binutils/binutils.build/bfd' Makefile:1093: recipe for target 'all-recursive' failed make[6]: *** [all-recursive] Error 1 make[6]: Leaving directory '/mnt/sda5/DESKTOP/viengoos/build/binutils/binutils.build/bfd' Makefile:988: recipe for target 'all' failed make[5]: *** [all] Error 2 make[5]: Leaving directory '/mnt/sda5/DESKTOP/viengoos/build/binutils/binutils.build/bfd' Makefile:3096: recipe for target 'all-bfd' failed make[4]: *** [all-bfd] Error 2 make[4]: Leaving directory '/mnt/sda5/DESKTOP/viengoos/build/binutils/binutils.build' Makefile:718: recipe for target 'all' failed make[3]: *** [all] Error 2 make[3]: Leaving directory '/mnt/sda5/DESKTOP/viengoos/build/binutils/binutils.build' Makefile:1198: recipe for target 'binutils/binutils.build/build.stamp' failed make[2]: *** [binutils/binutils.build/build.stamp] Error 2 make[2]: Leaving directory '/mnt/sda5/DESKTOP/viengoos/build' Makefile:716: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/mnt/sda5/DESKTOP/viengoos/build' Makefile:653: recipe for target 'all' failed make: *** [all] Error 2 [arnuld@arch64 build]$ Seems to be some MACRO error (marning actually but all warnings are being treated as errors) but I got no idea how to resolve this. Any help ? I am using Arch: [arnuld@arch64 build]$ uname -a Linux arch64 3.16.1-1-ARCH #1 SMP PREEMPT Thu Aug 14 07:40:19 CEST 2014 x86_64 GNU/Linux [arnuld@arch64 build]$ gcc --version gcc (GCC) 4.9.1 Copyright (C) 2014 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Thanks -- arnuld http://uttre.wordpress.com/ http://lispmachine.wordpress.com/2010/12/08/extract-of-programming/
