<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi Guys,<br><br>I'm trying to build buildroot on my ubuntu system. I encountered the below problem. Need advice. The error might due to my gcc and g++? Any idea how to solve it? <br><br>Thanks in advance<br><br><br>Checking build system dependencies:<br>BUILDROOT_DL_DIR clean:&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;Ok<br>CC clean:&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;Ok<br>CXX clean:&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;Ok<br>CPP clean:&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;Ok<br>CFLAGS clean:&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;Ok<br>INCLUDES clean:&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
 &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;Ok<br>CXXFLAGS clean:&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;Ok<br>which installed:&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;Ok<br>sed works:&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;Ok (/bin/sed)<br>GNU make version '3.81':&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;Ok<br>[: 202: Illegal number: gcc<br>C compiler '/usr/bin/gcc'<br>C compiler version 'gcc':&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;Ok<br>[: 233: Illegal number: g++<br>C++ compiler '/usr/bin/g++'<br>C++ compiler version 'g++':&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;Ok<br>bison installed:&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;Ok<br>flex installed:&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;
 &nbsp;&nbsp;&nbsp; &nbsp;Ok<br>gettext installed:&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;Ok<br>makeinfo installed:&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;Ok<br>Build system dependencies:&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;Ok<br><br>rm -rf /home/peter/lab/buildroot/project_build_arm/uclibc/buildroot-config<br>mkdir -p /home/peter/lab/buildroot/project_build_arm/uclibc<br>cp -dpRf package/config/buildroot-config /home/peter/lab/buildroot/project_build_arm/uclibc/buildroot-config<br>/usr/bin/make -j1 -C /home/peter/lab/buildroot/toolchain_build_arm/binutils-2.18-build all<br>make[1]: Entering directory `/home/peter/lab/buildroot/toolchain_build_arm/binutils-2.18-build'<br>make[2]: Entering directory `/home/peter/lab/buildroot/toolchain_build_arm/binutils-2.18-build'<br>make[3]: Entering directory
 `/home/peter/lab/buildroot/toolchain_build_arm/binutils-2.18-build/libiberty'<br>make[4]: Entering directory `/home/peter/lab/buildroot/toolchain_build_arm/binutils-2.18-build/libiberty/testsuite'<br>make[4]: Nothing to be done for `all'.<br>make[4]: Leaving directory `/home/peter/lab/buildroot/toolchain_build_arm/binutils-2.18-build/libiberty/testsuite'<br>make[3]: Leaving directory `/home/peter/lab/buildroot/toolchain_build_arm/binutils-2.18-build/libiberty'<br>make[3]: Entering directory `/home/peter/lab/buildroot/toolchain_build_arm/binutils-2.18-build/intl'<br>make[3]: Nothing to be done for `all'.<br>make[3]: Leaving directory `/home/peter/lab/buildroot/toolchain_build_arm/binutils-2.18-build/intl'<br>make[3]: Entering directory `/home/peter/lab/buildroot/toolchain_build_arm/binutils-2.18-build/bfd'<br>Making info in doc<br>make[4]: Entering directory `/home/peter/lab/buildroot/toolchain_build_arm/binutils-2.18-build/bfd/doc'<br>restore=:
 &amp;&amp; backupdir=".am$$" &amp;&amp; \<br>&nbsp;&nbsp; &nbsp;rm -rf $backupdir &amp;&amp; mkdir $backupdir &amp;&amp; \<br>&nbsp;&nbsp; &nbsp;if (/home/peter/lab/buildroot/toolchain_build_arm/binutils-2.18/missing makeinfo --split-size=5000000 --split-size=5000000 --version) &gt;/dev/null 2&gt;&amp;1; then \<br>&nbsp;&nbsp; &nbsp;&nbsp; for f in bfd.info bfd.info-[0-9] bfd.info-[0-9][0-9] bfd.i[0-9] bfd.i[0-9][0-9]; do \<br>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \<br>&nbsp;&nbsp; &nbsp;&nbsp; done; \<br>&nbsp;&nbsp; &nbsp;else :; fi &amp;&amp; \<br>&nbsp;&nbsp; &nbsp;if /home/peter/lab/buildroot/toolchain_build_arm/binutils-2.18/missing makeinfo --split-size=5000000 --split-size=5000000&nbsp;&nbsp; -I /home/peter/lab/buildroot/toolchain_build_arm/binutils-2.18/bfd/doc \<br>&nbsp;&nbsp; &nbsp; -o bfd.info `test -f 'bfd.texinfo' || echo
 '/home/peter/lab/buildroot/toolchain_build_arm/binutils-2.18/bfd/doc/'`bfd.texinfo; \<br>&nbsp;&nbsp; &nbsp;then \<br>&nbsp;&nbsp; &nbsp;&nbsp; rc=0; \<br>&nbsp;&nbsp; &nbsp;else \<br>&nbsp;&nbsp; &nbsp;&nbsp; rc=$?; \<br>&nbsp;&nbsp; &nbsp;&nbsp; $restore $backupdir/* `echo "./bfd.info" | sed 's|[^/]*$||'`; \<br>&nbsp;&nbsp; &nbsp;fi; \<br>&nbsp;&nbsp; &nbsp;rm -rf $backupdir; exit $rc<br>WARNING: `makeinfo' is missing on your system.&nbsp; You should only need it if<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; you modified a `.texi' or `.texinfo' file, or any other file<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; indirectly affecting the aspect of the manual.&nbsp; The spurious<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; call might also be the consequence of using a buggy `make' (AIX,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DU, IRIX).&nbsp; You might want to install the `Texinfo' package
 or<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; the `GNU make' package.&nbsp; Grab either from any GNU archive site.<br>make[4]: *** [bfd.info] Error 1<br>make[4]: Leaving directory `/home/peter/lab/buildroot/toolchain_build_arm/binutils-2.18-build/bfd/doc'<br>Making info in po<br>make[4]: Entering directory `/home/peter/lab/buildroot/toolchain_build_arm/binutils-2.18-build/bfd/po'<br>make[4]: Nothing to be done for `info'.<br>make[4]: Leaving directory `/home/peter/lab/buildroot/toolchain_build_arm/binutils-2.18-build/bfd/po'<br>make[4]: Entering directory `/home/peter/lab/buildroot/toolchain_build_arm/binutils-2.18-build/bfd'<br>make[4]: Nothing to be done for `info-am'.<br>make[4]: Leaving directory `/home/peter/lab/buildroot/toolchain_build_arm/binutils-2.18-build/bfd'<br>make[3]: *** [info-recursive] Error 1<br>make[3]: Leaving directory `/home/peter/lab/buildroot/toolchain_build_arm/binutils-2.18-build/bfd'<br>make[2]: *** [all-bfd] Error
 2<br>make[2]: Leaving directory `/home/peter/lab/buildroot/toolchain_build_arm/binutils-2.18-build'<br>make[1]: *** [all] Error 2<br>make[1]: Leaving directory `/home/peter/lab/buildroot/toolchain_build_arm/binutils-2.18-build'<br>make: *** [/home/peter/lab/buildroot/toolchain_build_arm/binutils-2.18-build/binutils/objdump] Error 2<br><br></td></tr></table><br>