[U-Boot-Users] build failure in tools - missing CFG_ENV_SIZE ?

Wolfgang Denk wd at denx.de
Fri Jun 6 14:28:14 CEST 2008


Hello,

in message <47F3F98010FF784EBEE6526EAAB078D10635DFDE at tq-mailsrv.tq-net.de> you wrote:
> 
> 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>


Viele Grüße,

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
Any technology distinguishable from magic is insufficiently advanced.




More information about the U-Boot mailing list