From: Ben Warren <bwarren@qstreams.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Problems Building u-boot-1.3.1
Date: Thu, 13 Dec 2007 14:55:30 -0500 [thread overview]
Message-ID: <47618E32.9020107@qstreams.com> (raw)
In-Reply-To: <8CA0BD0484CF342-A30-CFA@WEBMAIL-DF07.sysops.aol.com>
raptorbrino at aim.com wrote:
> I guess a better question is whether u-boot should support
> builds on cygwin without modification. If the answer is
> "doesn't matter," your answer suffices. If the answer is
> yes, something must be modified. My fix was to add the
> -ansi switch to the build flags, however, there's probably
> a less invasive way than requiring the compiler to only use
> ansi compliant features.
>
> raptorbrino at aim.com writes:
>
>
>> I'm having a problem building u-boot-1.3.1. It complains when using
>>
> the
>
>> host compiler to compile sha1.c because it doesn't know what the data
>> type
>> __u64 is. This datatype is defined in u-boot/include/asm/types.h.
>> However,
>> I'm using cygwin, and it has the file /usr/include/asm/types.h. The
>> types.h
>> file in cygwin does not define __u64. Because the compile uses the
>>
> flag
>
>> -idirafter, the cygwin types.h is used in the include, hence an unkown
>> symbol compile error. I fixed this problem in my local build by
>>
> adding
>
>> the
>> flag -ansi to CPPFLAGS in tools/makefile. Is that appropriate or
>>
> would
>
>> you
>> recommend fixing it another way??
>>
>
> I would recommend fixing it by using a nice Linux system instead of
> Win$, but thats just me...
>
>
Yeah, Linux host would be best. Have you tried:
export C_INCLUDE_PATH=$C_INCLUDE_PATH:<u-boot src path>/include ?
Dunno if this will help or not. I think gcc makes C_INCLUDE_PATH the
highest priority search path, but could very well be wrong.
regards,
Ben
next prev parent reply other threads:[~2007-12-13 19:55 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-12 20:56 [U-Boot-Users] Problems Building u-boot-1.3.1 raptorbrino at aim.com
2007-12-13 8:10 ` Markus Klotzbücher
2007-12-13 18:51 ` raptorbrino at aim.com
2007-12-13 18:58 ` Wolfgang Denk
2007-12-13 19:55 ` Ben Warren [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-12-13 21:00 raptorbrino at aim.com
2007-12-13 22:07 ` Wolfgang Denk
2007-12-14 0:36 ` raptorbrino at aim.com
2007-12-14 2:23 ` raptorbrino at aim.com
2008-01-03 18:29 ` Jon Loeliger
2008-01-09 14:07 ` 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=47618E32.9020107@qstreams.com \
--to=bwarren@qstreams.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