From: jxnuxdy <jxnuxdy@163.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] About the compile problem for eldk4.1+u-boot.1.3.1
Date: Sat, 29 Dec 2007 10:43:15 +0800 (CST) [thread overview]
Message-ID: <10584250.108351198896195167.JavaMail.coremail@bj163app65.163.com> (raw)
In-Reply-To: <20071227014735.91CC02488A@gemini.denx.de>
Hi Folks,
I encounter may mess message when compile u-boot-1.3.1, is this due to the gcc version of my ubuntun7.1.0?
is there anyone even encounter this issue?
denny at ubuntu:/arm44b0/u-boot-1.3.1$ arm-linux-gcc -v
Reading specs from /arm44b0/eldk/usr/bin/../lib/gcc/arm-linux/4.0.0/specs
Target: arm-linux
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
Thread model: posix
gcc version 4.0.0 (DENX ELDK 4.1 4.0.0)
denny at ubuntu:/arm44b0/u-boot-1.3.1$ gcc -v
Using built-in specs.
Target: i486-linux-gnu
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
Thread model: posix
gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)
denny at ubuntu:/arm44b0/u-boot-1.3.1$ make
for dir in tools examples ; do make -C $dir _depend ; done
make[1]: Entering directory `/arm44b0/u-boot-1.3.1/tools'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/arm44b0/u-boot-1.3.1/tools'
make[1]: Entering directory `/arm44b0/u-boot-1.3.1/examples'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/arm44b0/u-boot-1.3.1/examples'
make -C tools all
make[1]: Entering directory `/arm44b0/u-boot-1.3.1/tools'
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
In file included from img2srec.c:57:
/usr/local/include/stdlib.h:296: error: expected ????or ????before ????token
/usr/local/include/stdlib.h:302: error: expected ????or ????before ????token
/usr/local/include/stdlib.h:308: error: expected ????or ????before ????token
/usr/local/include/stdlib.h:329: error: expected ????or ????before ????token
/usr/local/include/stdlib.h:335: error: expected ????or ????before ????token
/usr/local/include/stdlib.h:344: error: expected ????or ????before ????token
/usr/local/include/stdlib.h:350: error: expected ????or ????before ????token
/usr/local/include/stdlib.h:357: error: expected ????or ????before ????token
/usr/local/include/stdlib.h:362: error: expected ????or ????before ????token
/usr/local/include/stdlib.h:367: error: expected ????or ????before ????token
/usr/local/include/stdlib.h:374: error: expected ????or ????before ????token
In file included from img2srec.c:58:
/usr/local/include/ctype.h:170: error: expected ????or ????before ????token
/usr/local/include/ctype.h:176: error: expected ????or ????before ????token
make[1]: *** [img2srec.o] Error 1
make[1]: Leaving directory `/arm44b0/u-boot-1.3.1/tools'
make: *** [tools] Error 2
denny at ubuntu:/arm44b0/u-boot-1.3.1$
,Thanks
- Denny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20071229/c9c3f8a4/attachment.htm
next prev parent reply other threads:[~2007-12-29 2:43 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-17 23:52 [U-Boot-Users] Linux kernel hang (infinite loop) Madhu Saravana Sibi Govindan
2006-07-18 6:27 ` Stefan Roese
2006-07-18 6:40 ` Wolfgang Denk
2007-12-26 2:38 ` jxnuxdy
2007-12-26 2:40 ` [U-Boot-Users] Can't compile u-boot-1.3.1 in the first time jxnuxdy
2007-12-26 9:05 ` [U-Boot-Users] Linux kernel hang (infinite loop) Wolfgang Denk
2007-12-27 1:16 ` [U-Boot-Users] About the compile problem for eldk4.1+u-boot.1.3.1 jxnuxdy
2007-12-27 1:47 ` Wolfgang Denk
2007-12-29 2:43 ` jxnuxdy [this message]
2007-12-29 14:21 ` Wolfgang Denk
2008-01-02 4:54 ` [U-Boot-Users] how to convert u-boot to s19 file format jxnuxdy
2008-01-02 8:55 ` Wolfgang Denk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=10584250.108351198896195167.JavaMail.coremail@bj163app65.163.com \
--to=jxnuxdy@163.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox