Open hazelnusse opened 13 years ago
I just cloned, ran setup.sh, and got this problem: make[4]: Entering directory /home/luke/stm32/stm32-tools/binutils-2.21/build/binutils' gcc -DHAVE_CONFIG_H -I. -I../../binutils -I. -I../../binutils -I../bfd -I../../binutils/../bfd -I../../binutils/../include -DLOCALEDIR="\"/usr/local/stm32/share/locale\"" -Dbin_dummy_emulation=bin_vanilla_emulation -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT size.o -MD -MP -MF .deps/size.Tpo -c -o size.o ../../binutils/size.c In file included from ../../ld/ldlex-wrapper.c:6:0: ldlex.c: In function ‘yy_scan_buffer’: ldlex.c:3700:41: warning: declaration of ‘base’ shadows a global declaration ../../ld/ldlang.h:462:20: warning: shadowed declaration is here mv -f .deps/app.Tpo .deps/app.Po make[4]: Leaving directory/home/luke/stm32/stm32-tools/binutils-2.21/build/gas' make[3]: * [all-recursive] Error 1 make[3]: Leaving directory /home/luke/stm32/stm32-tools/binutils-2.21/build/gas' make[2]: *** [all] Error 2 make[2]: Leaving directory/home/luke/stm32/stm32-tools/binutils-2.21/build/gas' make[1]: *\ [all-gas] Error 2 make[1]: * Waiting for unfinished jobs.... gcc -DHAVE_CONFIG_H -I. -I../../binutils -I. -I../../binutils -I../bfd -I../../binutils/../bfd -I../../binutils/../include -DLOCALEDIR="\"/usr/local/stm32/share/locale\"" -Dbin_dummy_emulation=bin_vanilla_emulation -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT bucomm.o -MD -MP -MF .deps/bucomm.Tpo -c -o bucomm.o ../../binutils/bucomm.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../ld -I. -I../../ld -I../bfd -I../../ld/../bfd -I../../ld/../include -g -O2 -DENABLE_PLUGINS -DLOCALEDIR=\"/usr/local/stm32/share/locale\" -g -O2 -g -O2 -MT libldtestplug_la-testplug.lo -MD -MP -MF .deps/libldtestplug_la-testplug.Tpo -c ../../ld/testplug.c -o libldtestplug_la-testplug.o >/dev/null 2>&1 mv -f .deps/gmon_io.Tpo .deps/gmon_io.Po gcc -DHAVE_CONFIG_H -I. -I../../gprof -DDEBUG -I../bfd -I../../gprof/../include -I../../gprof/../bfd -I. -DLOCALEDIR="\"/usr/local/stm32/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT gprof.o -MD -MP -MF .deps/gprof.Tpo -c -o gprof.o ../../gprof/gprof.c ../../binutils/bucomm.c: In function ‘set_default_bfd_target’: ../../binutils/bucomm.c:160:24: error: ‘TARGET’ undeclared (first use in this function) ../../binutils/bucomm.c:160:24: note: each undeclared identifier is reported only once for each function it appears in make[4]: * [bucomm.o] Error 1 make[4]: * Waiting for unfinished jobs.... gcc -DHAVE_CONFIG_H -I. -I../../gprof -DDEBUG -I../bfd -I../../gprof/../include -I../../gprof/../bfd -I. -DLOCALEDIR="\"/usr/local/stm32/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT hertz.o -MD -MP -MF .deps/hertz.Tpo -c -o hertz.o ../../gprof/hertz.c mv -f .deps/size.Tpo .deps/size.Po make[4]: Leaving directory /home/luke/stm32/stm32-tools/binutils-2.21/build/binutils' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory/home/luke/stm32/stm32-tools/binutils-2.21/build/binutils' make[2]: * [all] Error 2 make[2]: Leaving directory `/home/luke/stm32/stm32-tools/binutils-2.21/build/binutils' make[1]: ** [all-binutils] Error 2 gcc -DHAVE_CONFIG_H -I. -I../../gprof -DDEBUG -I../bfd -I../../gprof/../include -I../../gprof/../bfd -I. -DLOCALEDIR="\"/usr/local/stm32/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT hist.o -MD -MP -MF .deps/hist.Tpo -c -o hist.o ../../gprof/hist.c mv -f .deps/corefile.Tpo .deps/corefile.Po gcc -DHAVE_CONFIG_H -I. -I../../gprof -DDEBUG -I../bfd -I../../gprof/../include -I../../gprof/../bfd -I. -DLOCALEDIR="\"/usr/local/stm32/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT source.o -MD -MP -MF .deps/source.Tpo -c -o source.o ../../gprof/source.c mv -f .deps/hertz.Tpo .deps/hertz.Po mv -f .deps/cg_print.Tpo .deps/cg_print.Po gcc -DHAVE_CONFIG_H -I. -I../../gprof -DDEBUG -I../bfd -I../../gprof/../include -I../../gprof/../bfd -I. -DLOCALEDIR="\"/usr/local/stm32/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT search_list.o -MD -MP -MF .deps/search_list.Tpo -c -o search_list.o ../../gprof/search_list.c gcc -DHAVE_CONFIG_H -I. -I../../gprof -DDEBUG -I../bfd -I../../gprof/../include -I../../gprof/../bfd -I. -DLOCALEDIR="\"/usr/local/stm32/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT symtab.o -MD -MP -MF .deps/symtab.Tpo -c -o symtab.o ../../gprof/symtab.c mv -f .deps/search_list.Tpo .deps/search_list.Po gcc -DHAVE_CONFIG_H -I. -I../../ld -I. -I../../ld -I../bfd -I../../ld/../bfd -I../../ld/../include -g -O2 -DENABLE_PLUGINS -DLOCALEDIR="\"/usr/local/stm32/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT lexsup.o -MD -MP -MF .deps/lexsup.Tpo -c -o lexsup.o ../../ld/lexsup.c mv -f .deps/source.Tpo .deps/source.Po mv -f .deps/gprof.Tpo .deps/gprof.Po mv -f .deps/libldtestplug_la-testplug.Tpo .deps/libldtestplug_la-testplug.Plo gcc -DHAVE_CONFIG_H -I. -I../../ld -I. -I../../ld -I../bfd -I../../ld/../bfd -I../../ld/../include -g -O2 -DENABLE_PLUGINS -DLOCALEDIR="\"/usr/local/stm32/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT ldlang.o -MD -MP -MF .deps/ldlang.Tpo -c -o ldlang.o ../../ld/ldlang.c gcc -DHAVE_CONFIG_H -I. -I../../gprof -DDEBUG -I../bfd -I../../gprof/../include -I../../gprof/../bfd -I. -DLOCALEDIR="\"/usr/local/stm32/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT sym_ids.o -MD -MP -MF .deps/sym_ids.Tpo -c -o sym_ids.o ../../gprof/sym_ids.c gcc -DHAVE_CONFIG_H -I. -I../../gprof -DDEBUG -I../bfd -I../../gprof/../include -I../../gprof/../bfd -I. -DLOCALEDIR="\"/usr/local/stm32/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT utils.o -MD -MP -MF .deps/utils.Tpo -c -o utils.o ../../gprof/utils.c mv -f .deps/ldlex-wrapper.Tpo .deps/ldlex-wrapper.Po gcc -DHAVE_CONFIG_H -I. -I../../ld -I. -I../../ld -I../bfd -I../../ld/../bfd -I../../ld/../include -g -O2 -DENABLE_PLUGINS -DLOCALEDIR="\"/usr/local/stm32/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT mri.o -MD -MP -MF .deps/mri.Tpo -c -o mri.o ../../ld/mri.c mv -f .deps/symtab.Tpo .deps/symtab.Po gcc -DHAVE_CONFIG_H -I. -I../../gprof -DDEBUG -I../bfd -I../../gprof/../include -I../../gprof/../bfd -I. -DLOCALEDIR="\"/usr/local/stm32/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT i386.o -MD -MP -MF .deps/i386.Tpo -c -o i386.o ../../gprof/i386.c mv -f .deps/utils.Tpo .deps/utils.Po mv -f .deps/ldgram.Tpo .deps/ldgram.Po gcc -DHAVE_CONFIG_H -I. -I../../gprof -DDEBUG -I../bfd -I../../gprof/../include -I../../gprof/../bfd -I. -DLOCALEDIR="\"/usr/local/stm32/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT alpha.o -MD -MP -MF .deps/alpha.Tpo -c -o alpha.o ../../gprof/alpha.c ../../ld/ldlang.c: In function ‘lang_common’: ../../ld/ldlang.c:5833:12: error: ‘UINT_MAX’ undeclared (first use in this function) ../../ld/ldlang.c:5833:12: note: each undeclared identifier is reported only once for each function it appears in gcc -DHAVE_CONFIG_H -I. -I../../ld -I. -I../../ld -I../bfd -I../../ld/../bfd -I../../ld/../include -g -O2 -DENABLE_PLUGINS -DLOCALEDIR="\"/usr/local/stm32/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT ldctor.o -MD -MP -MF .deps/ldctor.Tpo -c -o ldctor.o ../../ld/ldctor.c mv -f .deps/hist.Tpo .deps/hist.Po gcc -DHAVE_CONFIG_H -I. -I../../ld -I. -I../../ld -I../bfd -I../../ld/../bfd -I../../ld/../include -g -O2 -DENABLE_PLUGINS -DLOCALEDIR="\"/usr/local/stm32/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT ldmain.o -MD -MP -MF .deps/ldmain.Tpo -c -o ldmain.o \ -DDEFAULT_EMULATION='"armelf"' \ -DBINDIR='"/usr/local/stm32/bin"' -DTOOLBINDIR='"/usr/local/stm32/arm-none-eabi/bin"' \ -DTARGET='"arm-none-eabi"' -DTARGET_SYSTEM_ROOT=\"\" \ ../../ld/ldmain.c mv -f .deps/i386.Tpo .deps/i386.Po gcc -DHAVE_CONFIG_H -I. -I../../ld -I. -I../../ld -I../bfd -I../../ld/../bfd -I../../ld/../include -g -O2 -DENABLE_PLUGINS -DLOCALEDIR="\"/usr/local/stm32/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT ldwrite.o -MD -MP -MF .deps/ldwrite.Tpo -c -o ldwrite.o ../../ld/ldwrite.c mv -f .deps/sym_ids.Tpo .deps/sym_ids.Po make[4]: [ldlang.o] Error 1 make[4]: * Waiting for unfinished jobs.... gcc -DHAVE_CONFIG_H -I. -I../../gprof -DDEBUG -I../bfd -I../../gprof/../include -I../../gprof/../bfd -I. -DLOCALEDIR="\"/usr/local/stm32/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT vax.o -MD -MP -MF .deps/vax.Tpo -c -o vax.o ../../gprof/vax.c gcc -DHAVE_CONFIG_H -I. -I../../gprof -DDEBUG -I../bfd -I../../gprof/../include -I../../gprof/../bfd -I. -DLOCALEDIR="\"/usr/local/stm32/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT tahoe.o -MD -MP -MF .deps/tahoe.Tpo -c -o tahoe.o ../../gprof/tahoe.c mv -f .deps/mri.Tpo .deps/mri.Po gcc -DHAVE_CONFIG_H -I. -I../../gprof -DDEBUG -I../bfd -I../../gprof/../include -I../../gprof/../bfd -I. -DLOCALEDIR="\"/usr/local/stm32/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT sparc.o -MD -MP -MF .deps/sparc.Tpo -c -o sparc.o ../../gprof/sparc.c mv -f .deps/alpha.Tpo .deps/alpha.Po gcc -DHAVE_CONFIG_H -I. -I../../gprof -DDEBUG -I../bfd -I../../gprof/../include -I../../gprof/../bfd -I. -DLOCALEDIR="\"/usr/local/stm32/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT mips.o -MD -MP -MF .deps/mips.Tpo -c -o mips.o ../../gprof/mips.c mv -f .deps/sparc.Tpo .deps/sparc.Po gcc -DHAVE_CONFIG_H -I. -I../../gprof -DDEBUG -I../bfd -I../../gprof/../include -I../../gprof/../bfd -I. -DLOCALEDIR="\"/usr/local/stm32/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT flat_bl.o -MD -MP -MF .deps/flat_bl.Tpo -c -o flat_bl.o ../../gprof/flat_bl.c mv -f .deps/vax.Tpo .deps/vax.Po gcc -DHAVE_CONFIG_H -I. -I../../gprof -DDEBUG -I../bfd -I../../gprof/../include -I../../gprof/../bfd -I. -DLOCALEDIR="\"/usr/local/stm32/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT bsd_callg_bl.o -MD -MP -MF .deps/bsd_callg_bl.Tpo -c -o bsd_callg_bl.o ../../gprof/bsd_callg_bl.c mv -f .deps/mips.Tpo .deps/mips.Po gcc -DHAVE_CONFIG_H -I. -I../../gprof -DDEBUG -I../bfd -I../../gprof/../include -I../../gprof/../bfd -I. -DLOCALEDIR="\"/usr/local/stm32/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT fsf_callg_bl.o -MD -MP -MF .deps/fsf_callg_bl.Tpo -c -o fsf_callg_bl.o ../../gprof/fsf_callg_bl.c mv -f .deps/ldctor.Tpo .deps/ldctor.Po mv -f .deps/flat_bl.Tpo .deps/flat_bl.Po mv -f .deps/tahoe.Tpo .deps/tahoe.Po mv -f .deps/ldwrite.Tpo .deps/ldwrite.Po mv -f .deps/bsd_callg_bl.Tpo .deps/bsd_callg_bl.Po mv -f .deps/lexsup.Tpo .deps/lexsup.Po mv -f .deps/fsf_callg_bl.Tpo .deps/fsf_callg_bl.Po /bin/bash ./libtool --tag=CC --mode=link gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -o gprof basic_blocks.o call_graph.o cg_arcs.o cg_dfn.o cg_print.o corefile.o gmon_io.o gprof.o hertz.o hist.o source.o search_list.o symtab.o sym_ids.o utils.o i386.o alpha.o vax.o tahoe.o sparc.o mips.o flat_bl.o bsd_callg_bl.o fsf_callg_bl.o ../bfd/libbfd.la ../libiberty/libiberty.a -lm mv -f .deps/ldmain.Tpo .deps/ldmain.Po libtool: link: gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -o gprof basic_blocks.o call_graph.o cg_arcs.o cg_dfn.o cg_print.o corefile.o gmon_io.o gprof.o hertz.o hist.o source.o search_list.o symtab.o sym_ids.o utils.o i386.o alpha.o vax.o tahoe.o sparc.o mips.o flat_bl.o bsd_callg_bl.o fsf_callg_bl.o ../bfd/.libs/libbfd.a -lz ../libiberty/libiberty.a -lm make[4]: Leaving directory/home/luke/stm32/stm32-tools/binutils-2.21/build/ld' make[3]: **\* [all-recursive] Error 1 make[3]: Leaving directory/home/luke/stm32/stm32-tools/binutils-2.21/build/ld' make[2]: [all] Error 2 make[2]: Leaving directory`/home/luke/stm32/stm32-tools/binutils-2.21/build/ld' make[1]: \ [all-ld] Error 2 make[4]: Leaving directory /home/luke/stm32/stm32-tools/binutils-2.21/build/gprof' make[3]: Leaving directory/home/luke/stm32/stm32-tools/binutils-2.21/build/gprof' make[2]: Leaving directory /home/luke/stm32/stm32-tools/binutils-2.21/build/gprof' make[1]: Leaving directory/home/luke/stm32/stm32-tools/binutils-2.21/build' make: * [all] Error 2 Error failure: code 2 Error failure: code
/home/luke/stm32/stm32-tools/binutils-2.21/build/binutils' gcc -DHAVE_CONFIG_H -I. -I../../binutils -I. -I../../binutils -I../bfd -I../../binutils/../bfd -I../../binutils/../include -DLOCALEDIR="\"/usr/local/stm32/share/locale\"" -Dbin_dummy_emulation=bin_vanilla_emulation -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT size.o -MD -MP -MF .deps/size.Tpo -c -o size.o ../../binutils/size.c In file included from ../../ld/ldlex-wrapper.c:6:0: ldlex.c: In function ‘yy_scan_buffer’: ldlex.c:3700:41: warning: declaration of ‘base’ shadows a global declaration ../../ld/ldlang.h:462:20: warning: shadowed declaration is here mv -f .deps/app.Tpo .deps/app.Po make[4]: Leaving directory
/home/luke/stm32/stm32-tools/binutils-2.21/build/gas' make[2]: *** [all] Error 2 make[2]: Leaving directory
/home/luke/stm32/stm32-tools/binutils-2.21/build/binutils' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory
/home/luke/stm32/stm32-tools/binutils-2.21/build/ld' make[3]: **\* [all-recursive] Error 1 make[3]: Leaving directory
/home/luke/stm32/stm32-tools/binutils-2.21/build/gprof' make[3]: Leaving directory
/home/luke/stm32/stm32-tools/binutils-2.21/build/gprof' make[1]: Leaving directory
It looks different from the other binutils bug that was reported here, but I'm not sure.... any ideas of how to fix?
I'm running Kubuntu 11.04, amd64.
~Luke
Another build error from 11.04, what have they done in that release?
I'm still on 10.04, but it looks like I should put 11.04 in a VirtualBox so I can solve those problems.
I just cloned, ran setup.sh, and got this problem: make[4]: Entering directory
/home/luke/stm32/stm32-tools/binutils-2.21/build/binutils' gcc -DHAVE_CONFIG_H -I. -I../../binutils -I. -I../../binutils -I../bfd -I../../binutils/../bfd -I../../binutils/../include -DLOCALEDIR="\"/usr/local/stm32/share/locale\"" -Dbin_dummy_emulation=bin_vanilla_emulation -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT size.o -MD -MP -MF .deps/size.Tpo -c -o size.o ../../binutils/size.c In file included from ../../ld/ldlex-wrapper.c:6:0: ldlex.c: In function ‘yy_scan_buffer’: ldlex.c:3700:41: warning: declaration of ‘base’ shadows a global declaration ../../ld/ldlang.h:462:20: warning: shadowed declaration is here mv -f .deps/app.Tpo .deps/app.Po make[4]: Leaving directory
/home/luke/stm32/stm32-tools/binutils-2.21/build/gas' make[3]: * [all-recursive] Error 1 make[3]: Leaving directory/home/luke/stm32/stm32-tools/binutils-2.21/build/gas' make[2]: *** [all] Error 2 make[2]: Leaving directory
/home/luke/stm32/stm32-tools/binutils-2.21/build/gas' make[1]: *\ [all-gas] Error 2 make[1]: * Waiting for unfinished jobs.... gcc -DHAVE_CONFIG_H -I. -I../../binutils -I. -I../../binutils -I../bfd -I../../binutils/../bfd -I../../binutils/../include -DLOCALEDIR="\"/usr/local/stm32/share/locale\"" -Dbin_dummy_emulation=bin_vanilla_emulation -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT bucomm.o -MD -MP -MF .deps/bucomm.Tpo -c -o bucomm.o ../../binutils/bucomm.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../ld -I. -I../../ld -I../bfd -I../../ld/../bfd -I../../ld/../include -g -O2 -DENABLE_PLUGINS -DLOCALEDIR=\"/usr/local/stm32/share/locale\" -g -O2 -g -O2 -MT libldtestplug_la-testplug.lo -MD -MP -MF .deps/libldtestplug_la-testplug.Tpo -c ../../ld/testplug.c -o libldtestplug_la-testplug.o >/dev/null 2>&1 mv -f .deps/gmon_io.Tpo .deps/gmon_io.Po gcc -DHAVE_CONFIG_H -I. -I../../gprof -DDEBUG -I../bfd -I../../gprof/../include -I../../gprof/../bfd -I. -DLOCALEDIR="\"/usr/local/stm32/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT gprof.o -MD -MP -MF .deps/gprof.Tpo -c -o gprof.o ../../gprof/gprof.c ../../binutils/bucomm.c: In function ‘set_default_bfd_target’: ../../binutils/bucomm.c:160:24: error: ‘TARGET’ undeclared (first use in this function) ../../binutils/bucomm.c:160:24: note: each undeclared identifier is reported only once for each function it appears in make[4]: * [bucomm.o] Error 1 make[4]: * Waiting for unfinished jobs.... gcc -DHAVE_CONFIG_H -I. -I../../gprof -DDEBUG -I../bfd -I../../gprof/../include -I../../gprof/../bfd -I. -DLOCALEDIR="\"/usr/local/stm32/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT hertz.o -MD -MP -MF .deps/hertz.Tpo -c -o hertz.o ../../gprof/hertz.c mv -f .deps/size.Tpo .deps/size.Po make[4]: Leaving directory/home/luke/stm32/stm32-tools/binutils-2.21/build/binutils' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory
/home/luke/stm32/stm32-tools/binutils-2.21/build/binutils' make[2]: * [all] Error 2 make[2]: Leaving directory `/home/luke/stm32/stm32-tools/binutils-2.21/build/binutils' make[1]: ** [all-binutils] Error 2 gcc -DHAVE_CONFIG_H -I. -I../../gprof -DDEBUG -I../bfd -I../../gprof/../include -I../../gprof/../bfd -I. -DLOCALEDIR="\"/usr/local/stm32/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT hist.o -MD -MP -MF .deps/hist.Tpo -c -o hist.o ../../gprof/hist.c mv -f .deps/corefile.Tpo .deps/corefile.Po gcc -DHAVE_CONFIG_H -I. -I../../gprof -DDEBUG -I../bfd -I../../gprof/../include -I../../gprof/../bfd -I. -DLOCALEDIR="\"/usr/local/stm32/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT source.o -MD -MP -MF .deps/source.Tpo -c -o source.o ../../gprof/source.c mv -f .deps/hertz.Tpo .deps/hertz.Po mv -f .deps/cg_print.Tpo .deps/cg_print.Po gcc -DHAVE_CONFIG_H -I. -I../../gprof -DDEBUG -I../bfd -I../../gprof/../include -I../../gprof/../bfd -I. -DLOCALEDIR="\"/usr/local/stm32/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT search_list.o -MD -MP -MF .deps/search_list.Tpo -c -o search_list.o ../../gprof/search_list.c gcc -DHAVE_CONFIG_H -I. -I../../gprof -DDEBUG -I../bfd -I../../gprof/../include -I../../gprof/../bfd -I. -DLOCALEDIR="\"/usr/local/stm32/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT symtab.o -MD -MP -MF .deps/symtab.Tpo -c -o symtab.o ../../gprof/symtab.c mv -f .deps/search_list.Tpo .deps/search_list.Po gcc -DHAVE_CONFIG_H -I. -I../../ld -I. -I../../ld -I../bfd -I../../ld/../bfd -I../../ld/../include -g -O2 -DENABLE_PLUGINS -DLOCALEDIR="\"/usr/local/stm32/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT lexsup.o -MD -MP -MF .deps/lexsup.Tpo -c -o lexsup.o ../../ld/lexsup.c mv -f .deps/source.Tpo .deps/source.Po mv -f .deps/gprof.Tpo .deps/gprof.Po mv -f .deps/libldtestplug_la-testplug.Tpo .deps/libldtestplug_la-testplug.Plo gcc -DHAVE_CONFIG_H -I. -I../../ld -I. -I../../ld -I../bfd -I../../ld/../bfd -I../../ld/../include -g -O2 -DENABLE_PLUGINS -DLOCALEDIR="\"/usr/local/stm32/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT ldlang.o -MD -MP -MF .deps/ldlang.Tpo -c -o ldlang.o ../../ld/ldlang.c gcc -DHAVE_CONFIG_H -I. -I../../gprof -DDEBUG -I../bfd -I../../gprof/../include -I../../gprof/../bfd -I. -DLOCALEDIR="\"/usr/local/stm32/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT sym_ids.o -MD -MP -MF .deps/sym_ids.Tpo -c -o sym_ids.o ../../gprof/sym_ids.c gcc -DHAVE_CONFIG_H -I. -I../../gprof -DDEBUG -I../bfd -I../../gprof/../include -I../../gprof/../bfd -I. -DLOCALEDIR="\"/usr/local/stm32/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT utils.o -MD -MP -MF .deps/utils.Tpo -c -o utils.o ../../gprof/utils.c mv -f .deps/ldlex-wrapper.Tpo .deps/ldlex-wrapper.Po gcc -DHAVE_CONFIG_H -I. -I../../ld -I. -I../../ld -I../bfd -I../../ld/../bfd -I../../ld/../include -g -O2 -DENABLE_PLUGINS -DLOCALEDIR="\"/usr/local/stm32/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT mri.o -MD -MP -MF .deps/mri.Tpo -c -o mri.o ../../ld/mri.c mv -f .deps/symtab.Tpo .deps/symtab.Po gcc -DHAVE_CONFIG_H -I. -I../../gprof -DDEBUG -I../bfd -I../../gprof/../include -I../../gprof/../bfd -I. -DLOCALEDIR="\"/usr/local/stm32/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT i386.o -MD -MP -MF .deps/i386.Tpo -c -o i386.o ../../gprof/i386.c mv -f .deps/utils.Tpo .deps/utils.Po mv -f .deps/ldgram.Tpo .deps/ldgram.Po gcc -DHAVE_CONFIG_H -I. -I../../gprof -DDEBUG -I../bfd -I../../gprof/../include -I../../gprof/../bfd -I. -DLOCALEDIR="\"/usr/local/stm32/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT alpha.o -MD -MP -MF .deps/alpha.Tpo -c -o alpha.o ../../gprof/alpha.c ../../ld/ldlang.c: In function ‘lang_common’: ../../ld/ldlang.c:5833:12: error: ‘UINT_MAX’ undeclared (first use in this function) ../../ld/ldlang.c:5833:12: note: each undeclared identifier is reported only once for each function it appears in gcc -DHAVE_CONFIG_H -I. -I../../ld -I. -I../../ld -I../bfd -I../../ld/../bfd -I../../ld/../include -g -O2 -DENABLE_PLUGINS -DLOCALEDIR="\"/usr/local/stm32/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT ldctor.o -MD -MP -MF .deps/ldctor.Tpo -c -o ldctor.o ../../ld/ldctor.c mv -f .deps/hist.Tpo .deps/hist.Po gcc -DHAVE_CONFIG_H -I. -I../../ld -I. -I../../ld -I../bfd -I../../ld/../bfd -I../../ld/../include -g -O2 -DENABLE_PLUGINS -DLOCALEDIR="\"/usr/local/stm32/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT ldmain.o -MD -MP -MF .deps/ldmain.Tpo -c -o ldmain.o \ -DDEFAULT_EMULATION='"armelf"' \ -DBINDIR='"/usr/local/stm32/bin"' -DTOOLBINDIR='"/usr/local/stm32/arm-none-eabi/bin"' \ -DTARGET='"arm-none-eabi"' -DTARGET_SYSTEM_ROOT=\"\" \ ../../ld/ldmain.c mv -f .deps/i386.Tpo .deps/i386.Po gcc -DHAVE_CONFIG_H -I. -I../../ld -I. -I../../ld -I../bfd -I../../ld/../bfd -I../../ld/../include -g -O2 -DENABLE_PLUGINS -DLOCALEDIR="\"/usr/local/stm32/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT ldwrite.o -MD -MP -MF .deps/ldwrite.Tpo -c -o ldwrite.o ../../ld/ldwrite.c mv -f .deps/sym_ids.Tpo .deps/sym_ids.Po make[4]: [ldlang.o] Error 1 make[4]: * Waiting for unfinished jobs.... gcc -DHAVE_CONFIG_H -I. -I../../gprof -DDEBUG -I../bfd -I../../gprof/../include -I../../gprof/../bfd -I. -DLOCALEDIR="\"/usr/local/stm32/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT vax.o -MD -MP -MF .deps/vax.Tpo -c -o vax.o ../../gprof/vax.c gcc -DHAVE_CONFIG_H -I. -I../../gprof -DDEBUG -I../bfd -I../../gprof/../include -I../../gprof/../bfd -I. -DLOCALEDIR="\"/usr/local/stm32/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT tahoe.o -MD -MP -MF .deps/tahoe.Tpo -c -o tahoe.o ../../gprof/tahoe.c mv -f .deps/mri.Tpo .deps/mri.Po gcc -DHAVE_CONFIG_H -I. -I../../gprof -DDEBUG -I../bfd -I../../gprof/../include -I../../gprof/../bfd -I. -DLOCALEDIR="\"/usr/local/stm32/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT sparc.o -MD -MP -MF .deps/sparc.Tpo -c -o sparc.o ../../gprof/sparc.c mv -f .deps/alpha.Tpo .deps/alpha.Po gcc -DHAVE_CONFIG_H -I. -I../../gprof -DDEBUG -I../bfd -I../../gprof/../include -I../../gprof/../bfd -I. -DLOCALEDIR="\"/usr/local/stm32/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT mips.o -MD -MP -MF .deps/mips.Tpo -c -o mips.o ../../gprof/mips.c mv -f .deps/sparc.Tpo .deps/sparc.Po gcc -DHAVE_CONFIG_H -I. -I../../gprof -DDEBUG -I../bfd -I../../gprof/../include -I../../gprof/../bfd -I. -DLOCALEDIR="\"/usr/local/stm32/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT flat_bl.o -MD -MP -MF .deps/flat_bl.Tpo -c -o flat_bl.o ../../gprof/flat_bl.c mv -f .deps/vax.Tpo .deps/vax.Po gcc -DHAVE_CONFIG_H -I. -I../../gprof -DDEBUG -I../bfd -I../../gprof/../include -I../../gprof/../bfd -I. -DLOCALEDIR="\"/usr/local/stm32/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT bsd_callg_bl.o -MD -MP -MF .deps/bsd_callg_bl.Tpo -c -o bsd_callg_bl.o ../../gprof/bsd_callg_bl.c mv -f .deps/mips.Tpo .deps/mips.Po gcc -DHAVE_CONFIG_H -I. -I../../gprof -DDEBUG -I../bfd -I../../gprof/../include -I../../gprof/../bfd -I. -DLOCALEDIR="\"/usr/local/stm32/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT fsf_callg_bl.o -MD -MP -MF .deps/fsf_callg_bl.Tpo -c -o fsf_callg_bl.o ../../gprof/fsf_callg_bl.c mv -f .deps/ldctor.Tpo .deps/ldctor.Po mv -f .deps/flat_bl.Tpo .deps/flat_bl.Po mv -f .deps/tahoe.Tpo .deps/tahoe.Po mv -f .deps/ldwrite.Tpo .deps/ldwrite.Po mv -f .deps/bsd_callg_bl.Tpo .deps/bsd_callg_bl.Po mv -f .deps/lexsup.Tpo .deps/lexsup.Po mv -f .deps/fsf_callg_bl.Tpo .deps/fsf_callg_bl.Po /bin/bash ./libtool --tag=CC --mode=link gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -o gprof basic_blocks.o call_graph.o cg_arcs.o cg_dfn.o cg_print.o corefile.o gmon_io.o gprof.o hertz.o hist.o source.o search_list.o symtab.o sym_ids.o utils.o i386.o alpha.o vax.o tahoe.o sparc.o mips.o flat_bl.o bsd_callg_bl.o fsf_callg_bl.o ../bfd/libbfd.la ../libiberty/libiberty.a -lm mv -f .deps/ldmain.Tpo .deps/ldmain.Po libtool: link: gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -o gprof basic_blocks.o call_graph.o cg_arcs.o cg_dfn.o cg_print.o corefile.o gmon_io.o gprof.o hertz.o hist.o source.o search_list.o symtab.o sym_ids.o utils.o i386.o alpha.o vax.o tahoe.o sparc.o mips.o flat_bl.o bsd_callg_bl.o fsf_callg_bl.o ../bfd/.libs/libbfd.a -lz ../libiberty/libiberty.a -lm make[4]: Leaving directory/home/luke/stm32/stm32-tools/binutils-2.21/build/ld' make[3]: **\* [all-recursive] Error 1 make[3]: Leaving directory
/home/luke/stm32/stm32-tools/binutils-2.21/build/ld' make[2]: [all] Error 2 make[2]: Leaving directory`/home/luke/stm32/stm32-tools/binutils-2.21/build/ld' make[1]: \ [all-ld] Error 2 make[4]: Leaving directory/home/luke/stm32/stm32-tools/binutils-2.21/build/gprof' make[3]: Leaving directory
/home/luke/stm32/stm32-tools/binutils-2.21/build/gprof' make[2]: Leaving directory/home/luke/stm32/stm32-tools/binutils-2.21/build/gprof' make[1]: Leaving directory
/home/luke/stm32/stm32-tools/binutils-2.21/build' make: * [all] Error 2 Error failure: code 2 Error failure: codeIt looks different from the other binutils bug that was reported here, but I'm not sure.... any ideas of how to fix?
I'm running Kubuntu 11.04, amd64.
~Luke