<DIV>Hi Folks,</DIV>
<DIV> </DIV>
<DIV> I encounter may mess message when compile u-boot-1.3.1, is this due to the gcc version of my ubuntun7.1.0?</DIV>
<DIV>is there anyone even encounter this issue?</DIV>
<DIV> </DIV>
<DIV><A href="mailto:denny@ubuntu:/arm44b0/u-boot-1.3.1$">denny@ubuntu:/arm44b0/u-boot-1.3.1$</A> arm-linux-gcc -v<BR>Reading specs from /arm44b0/eldk/usr/bin/../lib/gcc/arm-linux/4.0.0/specs<BR>Target: arm-linux<BR>Configured with: /opt/eldk/build/arm-2007-01-22-uclibc/work/usr/src/denx/BUILD/crosstool-0.35/build/gcc-4.0.0-uclibc-0.9.27-eldk/arm-linux/gcc-4.0.0/configure --target=arm-linux --host=i686-host_pc-linux-gnu --prefix=/var/tmp/eldk.aLIfDn/usr/crosstool/gcc-4.0.0-uclibc-0.9.27-eldk/arm-linux --with-headers=/var/tmp/eldk.aLIfDn/usr/crosstool/gcc-4.0.0-uclibc-0.9.27-eldk/arm-linux/arm-linux/include --with-local-prefix=/var/tmp/eldk.aLIfDn/usr/crosstool/gcc-4.0.0-uclibc-0.9.27-eldk/arm-linux/arm-linux --disable-nls --enable-threads=posix --enable-symvers=gnu --enable-languages=c,c++ --enable-shared --enable-c99 --enable-long-long --disable-__cxa_atexit<BR>Thread model: posix<BR>gcc version 4.0.0 (DENX ELDK 4.1 4.0.0)<BR><A href="mailto:denny@ubuntu:/arm44b0/u-boot-1.3.1$">denny@ubuntu:/arm44b0/u-boot-1.3.1$</A> gcc -v<BR>Using built-in specs.<BR>Target: i486-linux-gnu<BR>Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.1.3 --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release i486-linux-gnu<BR>Thread model: posix<BR>gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)<BR><A href="mailto:denny@ubuntu:/arm44b0/u-boot-1.3.1$">denny@ubuntu:/arm44b0/u-boot-1.3.1$</A> make<BR>for dir in tools examples ; do make -C $dir _depend ; done<BR>make[1]: Entering directory `/arm44b0/u-boot-1.3.1/tools'<BR>make[1]: Nothing to be done for `_depend'.<BR>make[1]: Leaving directory `/arm44b0/u-boot-1.3.1/tools'<BR>make[1]: Entering directory `/arm44b0/u-boot-1.3.1/examples'<BR>make[1]: Nothing to be done for `_depend'.<BR>make[1]: Leaving directory `/arm44b0/u-boot-1.3.1/examples'<BR>make -C tools all<BR>make[1]: Entering directory `/arm44b0/u-boot-1.3.1/tools'<BR>gcc -Wall -pedantic -idirafter /arm44b0/u-boot-1.3.1/include -idirafter /arm44b0/u-boot-1.3.1/include2 -idirafter /arm44b0/u-boot-1.3.1/include -DTEXT_BASE=0x0C100000 -DUSE_HOSTCC -O -c -o img2srec.o img2srec.c<BR>In file included from img2srec.c:57:<BR>/usr/local/include/stdlib.h:296: error: expected 鈥?鈥?or 鈥?鈥?before 鈥榹鈥?token<BR>/usr/local/include/stdlib.h:302: error: expected 鈥?鈥?or 鈥?鈥?before 鈥榹鈥?token<BR>/usr/local/include/stdlib.h:308: error: expected 鈥?鈥?or 鈥?鈥?before 鈥榹鈥?token<BR>/usr/local/include/stdlib.h:329: error: expected 鈥?鈥?or 鈥?鈥?before 鈥榹鈥?token<BR>/usr/local/include/stdlib.h:335: error: expected 鈥?鈥?or 鈥?鈥?before 鈥榹鈥?token<BR>/usr/local/include/stdlib.h:344: error: expected 鈥?鈥?or 鈥?鈥?before 鈥榹鈥?token<BR>/usr/local/include/stdlib.h:350: error: expected 鈥?鈥?or 鈥?鈥?before 鈥榹鈥?token<BR>/usr/local/include/stdlib.h:357: error: expected 鈥?鈥?or 鈥?鈥?before 鈥榹鈥?token<BR>/usr/local/include/stdlib.h:362: error: expected 鈥?鈥?or 鈥?鈥?before 鈥榹鈥?token<BR>/usr/local/include/stdlib.h:367: error: expected 鈥?鈥?or 鈥?鈥?before 鈥榹鈥?token<BR>/usr/local/include/stdlib.h:374: error: expected 鈥?鈥?or 鈥?鈥?before 鈥榹鈥?token<BR>In file included from img2srec.c:58:<BR>/usr/local/include/ctype.h:170: error: expected 鈥?鈥?or 鈥?鈥?before 鈥榹鈥?token<BR>/usr/local/include/ctype.h:176: error: expected 鈥?鈥?or 鈥?鈥?before 鈥榹鈥?token<BR>make[1]: *** [img2srec.o] Error 1<BR>make[1]: Leaving directory `/arm44b0/u-boot-1.3.1/tools'<BR>make: *** [tools] Error 2<BR><A href="mailto:denny@ubuntu:/arm44b0/u-boot-1.3.1$">denny@ubuntu:/arm44b0/u-boot-1.3.1$</A> </DIV>
<DIV> </DIV>
<DIV>,Thanks</DIV>
<DIV>- Denny</DIV>
<DIV> </DIV><br><!-- footer --><br><hr>
<a style="font-size:14px;line-height:15px; color:#000; text-decoration:none" href="http://dict.yodao.com/desktop/" target="_blank"><span style="text-decoration:underline; color:blue">网 易 有 道 词 典 -- 全 球 最 强 大 的 免 费 英 汉 互 译 词 典 ( 只 有 2 兆 )</span> </a>