Hello,

[EMAIL PROTECTED] wrote on Friday, June 06, 2008 2:28 PM:
> > I don't know, why I get the warnings (they appeared first several
> > weeks ago, and I get it for every build, since then). But since the
> > resulting U-Boot runs fine, there was no pressure (and no time)
> > to dig for the reason of the warnings ...
> 
> Can you please check if this patch fixes the warnings? Thanks in
> advance.
> 
> diff --git a/lib_generic/md5.c b/lib_generic/md5.c
> index 78ef475..a9aae46 100644
> --- a/lib_generic/md5.c
> +++ b/lib_generic/md5.c
> @@ -27,6 +27,8 @@
> 
>  #ifndef USE_HOSTCC
>  #include <common.h>
> +#else
> +#include <string.h>
>  #endif /* USE_HOSTCC */
>  #include <watchdog.h>
>  #include <linux/types.h>
> diff --git a/lib_generic/sha1.c b/lib_generic/sha1.c
> index c8ef4d2..a192e5f 100644
> --- a/lib_generic/sha1.c
> +++ b/lib_generic/sha1.c
> @@ -31,6 +31,8 @@
> 
>  #ifndef USE_HOSTCC
>  #include <common.h>
> +#else
> +#include <string.h>
>  #endif /* USE_HOSTCC */
>  #include <watchdog.h>
>  #include <linux/string.h>

This helped, thanks! With your patch I get a clean build:

[EMAIL PROTECTED]:~/git/u-boot_denx> ./MAKEALL TQM5200
Configuring for TQM5200 board...
   text    data     bss     dec     hex filename
 326532   32464  315024  674020   a48e4 ./u-boot
[EMAIL PROTECTED]:~/git/u-boot_denx>  

But why did I get the warning without the patch and you not (both
build with ELDK4.1 and top-of-U-Boot)?

Best Regards,
Martin Krause


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to