public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Brad M. <max064@yahoo.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Problems compiling u-boot under Cygwin
Date: Wed, 7 Apr 2010 12:49:07 -0700 (PDT)	[thread overview]
Message-ID: <876938.43512.qm@web37901.mail.mud.yahoo.com> (raw)

Hi.  I'm a first time u-boot builder, and first time poster.  I'm looking for some help building u-boot for the Atmel at91sam9260ek dev board.

Background: building u-boot (v2010.03) on WindowsXP with Cygwin.  PATH and CROSS_COMPILE env vars set appropriately.  Cygwin base package installed, plus 'make' and 'gcc'.  I've tried three different tool chains: CodeSourcery Lite, GNUARM, and YAGARTO, each giving me different errors.  I have also tried several flavors of make, those too influence the build.  I'm not sure which is giving me the best performance.

In all cases, "make distclean" and "make at91sam9260ek_config" work fine.

Below are highlights of some of the "make all" results.  I'll take any help on any one of the tool chains (please do not feel obligated to comment on all of them, only the one I'll likely get the easiest success with).

But any help is greatly appreciated.

Thanks in advance,
Brad.


GNUARM tool chain with GnuWin32 make v3.81
CROSS_COMPILE=<path>/arm-elf-
--------------------------------------------------------------------
Generating include/autoconf.mk
 Generating include/autoconf.mk.dep
 make: *** No rule to make target 'include/autoconf.mk', needed by 'depend'.  Stop.

-
GNUARM tool chain with Cygwin make v3.81:
CROSS_COMPILE=<path>/arm-elf-
-------------------------------------------------------------------
Generating include/autoconf.mk
Generating include/autoconf.mk.dep
for dir in tools examples/standalone examples/api cpu/arm926ejs /cygdrive/d/TestCode/u-boot-2010.03/cpu/arm926ejs/ ; do \
            make -C $dir _depend ; done
make[1]: Entering directory `/cygdrive/d/TestCode/u-boot-2010.03/tools'
make[1]: Leaving directory `/cygdrive/d/TestCode/u-boot-2010.03/tools'
make[1]: Entering directory `/cygdrive/d/TestCode/u-boot-2010.03/tools'
make[1]: Nothing to be done for `_depend'.
make[1]: Leaving directory `/cygdrive/d/TestCode/u-boot-2010.03/tools'
[...]
.depend:43: *** missing separator. Stop.
make[1]: Leaving directory `/cygdrive/d/TestCode/u-boot-2010.03/examples/standalone'
[...]
.depend:41: *** missing separator. Stop.
make[1]: Leaving directory `/cygdrive/d/TestCode/u-boot-2010.03/cpu/arm926ejs'
make: *** [depend] Error 2


CodeSourcery Lite tool chain with Cygwin make:
CROSS_COMPILE=<path>/arm-none-eabi-
-------------------------------------------------------------------------
Generating include/autoconf.mk
include/common.h:37: fatal error: config.h: No such file or directory
compilation terminated.
[...]
hello_world.c:24: fatal error: common.h: No such file or directory
compilation terminated.
stubs.c:1: fatal error: exports.h: No such file or directory
compilation terminated.
make[1]: *** No rule to make target `.depend', needed by `_depend'.  Stop.
[...]
../include/libfdt.h:126: error: syntax error before "void"
../include/libfdt.h:162: error: syntax error before "void"
../include/libfdt.h:163: error: syntax error before "void"
[..]
In file included from default_image.c:31:
/cygdrive/x/projects/u-boot-2010.03/include/image.h:193: error: parse error before "ulong"
/cygdrive/x/projects/u-boot-2010.03/include/image.h:195: error: parse error before "load"
[...]
make[1]: *** [default_image.o] Error 1
make[1]: Leaving directory `/cygdrive/x/projects/u-boot-2010.03/tools'
make: *** [tools] Error 2


CodeSourcery Lite tool chain with CodeSourcery cs-make (v3.81):
CROSS_COMPILE=<path>/arm-none-eabi-
---------------------------------------------------------------------------------
<Similar as with GNU make, except I also get this problem:
process_begin: CreateProcess(C:\cygwin\bin\gcc.exe, gcc -E -dM -xc /dev/null, ..
.) failed. >


YAGARTO tool chain
CROSS_COMPILE=<path>/arm-elf-
---------------------------------------------------
< Errors generally consist of an inability to find files in subdirectories of 'include' (e.g. 'include/asm') though the directories/files do exist.  I've written this off as the worst performer.>


      

             reply	other threads:[~2010-04-07 19:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-07 19:49 Brad M. [this message]
2010-04-07 20:05 ` [U-Boot] Problems compiling u-boot under Cygwin Ben Warren

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=876938.43512.qm@web37901.mail.mud.yahoo.com \
    --to=max064@yahoo.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