Binutils doesn't compile when disregarding instructions
Posted: Sun May 18, 2014 5:57 am
hi,
im trying to build the cross compiler.
but when running make in binutils all i get is this:
sudo make
Making info in doc make[1]: Entering directory `/home/ali/Desktop/cross/binutils-2.24/build-binutils/doc' make[1]: Nothing to be done for `info'. make[1]: Leaving directory `/home/ali/Desktop/cross/binutils-2.24/build-binutils/doc'
Making info in po make[1]: Entering directory `/home/ali/Desktop/cross/binutils-2.24/build-binutils/po' make[1]: Nothing to be done for `info'. make[1]: Leaving directory `/home/ali/Desktop/cross/binutils-2.24/build-binutils/po' make[1]: Entering directory `/home/ali/Desktop/cross/binutils-2.24/build-binutils' make[1]: Nothing to be done for `info-am'. make[1]: Leaving directory `/home/ali/Desktop/cross/binutils-2.24/build-binutils'
make[1]: Nothing to be done for `info-am'. make[1]: Leaving directory `/home/ali/Desktop/cross/binutils-2.24/build-binutils' make all-recursive make[1]: Entering directory `/home/ali/Desktop/cross/binutils-2.24/build-binutils' Making all in doc make[2]: Entering directory `/home/ali/Desktop/cross/binutils-2.24/build-binutils/doc'
make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/ali/Desktop/cross/binutils-2.24/build-binutils/doc'
Making all in po make[2]: Entering directory `/home/ali/Desktop/cross/binutils-2.24/build-binutils/po' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/ali/Desktop/cross/binutils-2.24/build-binutils/po' make[2]: Entering directory `/home/ali/Desktop/cross/binutils-2.24/build-binutils'
gcc -DHAVE_CONFIG_H -I. -I../binutils -I. -I../binutils -I../bfd -I../binutils/../bfd -I../binutils/../include -DLOCALEDIR="\"/home/ali/opt/cross/share/locale\"" -Dbin_dummy_emulation=bin_vanilla_emulation -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -g -O2 -MT size.o -MD -MP -MF .deps/size.Tpo -c -o size.o ../binutils/size.c
In file included from ../binutils/size.c:33:0: ../binutils/sysdep.h:30:20: fatal error: bfdver.h: No such file or directory #include "bfdver.h" ^ compilation terminated. make[2]: *** [size.o] Error 1 make[2]: Leaving directory `/home/ali/Desktop/cross/binutils-2.24/build-binutils' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/ali/Desktop/cross/binutils-2.24/build-binutils' make: *** [all] Err
im trying to build the cross compiler.
but when running make in binutils all i get is this:
sudo make
Making info in doc make[1]: Entering directory `/home/ali/Desktop/cross/binutils-2.24/build-binutils/doc' make[1]: Nothing to be done for `info'. make[1]: Leaving directory `/home/ali/Desktop/cross/binutils-2.24/build-binutils/doc'
Making info in po make[1]: Entering directory `/home/ali/Desktop/cross/binutils-2.24/build-binutils/po' make[1]: Nothing to be done for `info'. make[1]: Leaving directory `/home/ali/Desktop/cross/binutils-2.24/build-binutils/po' make[1]: Entering directory `/home/ali/Desktop/cross/binutils-2.24/build-binutils' make[1]: Nothing to be done for `info-am'. make[1]: Leaving directory `/home/ali/Desktop/cross/binutils-2.24/build-binutils'
make[1]: Nothing to be done for `info-am'. make[1]: Leaving directory `/home/ali/Desktop/cross/binutils-2.24/build-binutils' make all-recursive make[1]: Entering directory `/home/ali/Desktop/cross/binutils-2.24/build-binutils' Making all in doc make[2]: Entering directory `/home/ali/Desktop/cross/binutils-2.24/build-binutils/doc'
make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/ali/Desktop/cross/binutils-2.24/build-binutils/doc'
Making all in po make[2]: Entering directory `/home/ali/Desktop/cross/binutils-2.24/build-binutils/po' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/ali/Desktop/cross/binutils-2.24/build-binutils/po' make[2]: Entering directory `/home/ali/Desktop/cross/binutils-2.24/build-binutils'
gcc -DHAVE_CONFIG_H -I. -I../binutils -I. -I../binutils -I../bfd -I../binutils/../bfd -I../binutils/../include -DLOCALEDIR="\"/home/ali/opt/cross/share/locale\"" -Dbin_dummy_emulation=bin_vanilla_emulation -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -g -O2 -MT size.o -MD -MP -MF .deps/size.Tpo -c -o size.o ../binutils/size.c
In file included from ../binutils/size.c:33:0: ../binutils/sysdep.h:30:20: fatal error: bfdver.h: No such file or directory #include "bfdver.h" ^ compilation terminated. make[2]: *** [size.o] Error 1 make[2]: Leaving directory `/home/ali/Desktop/cross/binutils-2.24/build-binutils' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/ali/Desktop/cross/binutils-2.24/build-binutils' make: *** [all] Err