public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
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 15:21:12 +0100	[thread overview]
Message-ID: <20071229142112.CC55A246F1@gemini.denx.de> (raw)
In-Reply-To: Your message of "Sat, 29 Dec 2007 10:43:15 +0800." <10584250.108351198896195167.JavaMail.coremail@bj163app65.163.com>

In message <10584250.108351198896195167.JavaMail.coremail@bj163app65.163.com> you wrote:
> 
>    I encounter may mess message when compile u-boot-1.3.1, is this due to the
> gcc version of my ubuntun7.1.0?

I don't know what sort of native gcc you have installed in your
system, but it looks pretty strange to me...

> 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)

Is this the gcc that comes with Ubuntu, or something you compiled
yourself?

> 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

This looks good to me, but...
> In file included from img2srec.c:57:
> /usr/local/include/stdlib.h:296: error: expected ??????or ??????before ???{???token

... I have not the slightest idea why your compiler might have the
funny idea to pull in files from /usr/local/include ?

And obviously these header files are broken, too.

> ------=_Part_28757_21520426.1198896195166
> Content-Type: text/html; charset=gbk
> Content-Transfer-Encoding: quoted-printable

Stop posting HTML, please.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Documentation is the castor oil of programming.
Managers know it must be good because the programmers hate it so much.

  reply	other threads:[~2007-12-29 14:21 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
2007-12-29 14:21             ` Wolfgang Denk [this message]
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=20071229142112.CC55A246F1@gemini.denx.de \
    --to=wd@denx.de \
    --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