From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] uboot compilation error when using the toolchain arm-elf-tools from uClinux.org
Date: Tue, 10 Aug 2004 08:43:18 +0200 [thread overview]
Message-ID: <20040810064323.1F200C109F@atlas.denx.de> (raw)
In-Reply-To: Your message of "Mon, 09 Aug 2004 17:01:27 PDT." <c3d0340b0408091701f3c1e29@mail.gmail.com>
In message <c3d0340b0408091701f3c1e29@mail.gmail.com> you wrote:
>
> I checked out u-boot code from CVS today and tried to compile it for
> ARM IntegratorCP board. The cross toolchain I used is arm-elf-tools
> downloaded from uClinux.org. Unfortunately I got the following
> compilation error.
...
> In file included from cfi_flash.c:48:
> /u/code/denx/u-boot/include/asm/processor.h:52: parse error before `1'
Note that there is no '1' in line 52 in this file!
> /u/code/denx/u-boot/include/asm/processor.h:52: warning: no semicolon
> at end of struct or union
> /u/code/denx/u-boot/include/asm/processor.h:54: parse error before `}'
> /u/code/denx/u-boot/include/asm/processor.h:58: field `insn' has incomplete type
>
> The code is extracted from the header file processor.h.
>
> 51> union debug_insn {
> 52> u32 arm;
> 53> u16 thumb;
> 54> };
> 55>
> 56> struct debug_entry {
> 57> u32 address;
> 58> union debug_insn insn;
> 59> };
>
> However I really don't think there is any syntax error. It might be a
> toolchain problem?
The code compiles fine using our ELDK. It is probably a toolchain
problem, but also check that the source tree is not corrupted and/or
stored in DOS file format.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
Life would be so much easier if we could just look at the source
code. -- Dave Olson
prev parent reply other threads:[~2004-08-10 6:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-10 0:01 [U-Boot-Users] uboot compilation error when using the toolchain arm-elf-tools from uClinux.org Shawn Jin
2004-08-10 0:14 ` [U-Boot-Users] Re: [uClinux-dev] " David McCullough
2004-08-10 1:41 ` [U-Boot-Users] " Shawn Jin
2004-08-10 3:22 ` David McCullough
2004-08-10 6:43 ` Wolfgang Denk [this message]
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=20040810064323.1F200C109F@atlas.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