All,

Possible fix, since I am a newbie at messing with somebody elses code can
the owner of the MD5 code verify this problem / fix??

I found that if I did the following with changing some include files, this
will now compile on my older FC5 system. <Oddly I tried the newer ELDK42,
etc.. not sure why this is broke on my box, but it was not the ELDK install
or the source code being corrupted>.


MD5 Compile Fix:

1) In file 'include/u-boot/md5.h' change the 
        #include <linux/types.h> --> #include <asm/types.h>

2) In file 'tools/md5.c' remove the reference to 
        #include <linux/types.h>

This corrects the problems on my system and removes all compile / errors and
warning about implicit declarations for the string.h functions as well as
the double declarations for __kernel_dev_t

-Russ


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 28, 2008 2:56 PM
To: [EMAIL PROTECTED]
Cc: u-boot-users@lists.sourceforge.net
Subject: Re: [U-Boot-Users] Latest U-Boot MD5 compile error??

In message <[EMAIL PROTECTED]> you wrote:
> 
> Just pulled the latest GIT down today <1.3.3+>, merged with my current
code.
> 
> <Note, last I pulled was back at 1.3.1>.
> 
> Anyway, all is well until the newish MD5 code attempts to compile then I
get
> two different types of errors. <See Log Below>
> 
> Is this an artificat of an uncomplete merge perhaps? 

Probably. Try building for some other boards...

> Dependencies on a certain level of kernel that needs to be sitting in the
> ppc_6xx/usr/src/ directory? Or perhaps is FC5 to old to now correctly
> compile the latest U-boot?
> To old of an ELDK? <I am using ELDK 4.1>

Just tried to build a few boards on a FC5 host. A few warnings about
including /usr/include/asm/byteorder.h, but it builds fine.

Best regards,

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: [EMAIL PROTECTED]
       There is enough for the need of everyone in this world,
       but not for the greed of everyone.     - Mahatma Gandhi


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to